Page 1 of 1

all emails produced, 0 emails send ?!

Posted: Wed Mar 14, 2007 5:47 pm
by sicon
hi,

i have the problem, that the mails dont get send:

Sending:


--------------------------------------------------------------------------------

Produced E-Mails: 531
Send E-Mails: 0
All E-Mails : 531

--------------------------------------------------------------------------------


the test emails and the admin-mails are working.


anyone knows what to do?


thx!

Posted: Fri Mar 16, 2007 11:54 am
by sicon
in german:

"Letzter Versand: 16.03.2007 12:11, Versand an alle Empfänger
3400 von insgesamt 3400 E-Mails wurden produziert

Produktion:

Startzeit der Produktion: 16.03.2007 12:11
Endzeit der Produktion: 16.03.2007 12:11

Versand:


--------------------------------------------------------------------------------

Bereits produzierte E-Mails: 3,400
Bereits versendete E-Mails: 0
E-Mails gesamt: 3,400 "



i need help!

:)

Posted: Fri Mar 23, 2007 4:59 pm
by west
I got the same problem. Seems that everything is working fine. But just no mails were sent. I have tried to send mail using "mail" command in the shell. It works well. Any one can help?

Thanks~ :cry:

Posted: Tue Mar 27, 2007 12:43 pm
by ud
On world mailing intermediate files are written to ~openemm/var/spool/META and then processed by the script pickdist.py. If there are still files in this directory, check the logfile for pickdist in var/log for further information. Perhaps the MySQL database driver part for python is missing here.

-- ud

Posted: Tue Apr 24, 2007 10:55 am
by daniz78
I´ve got the same problem and my pickdist.log shows the following information:

[20.04.2007 11:42:09] 25537 INFO/main: Starting up
[20.04.2007 11:42:10] 25537 FATAL/except: CAUGHT EXCEPTION:
Traceback (most recent call last):
File "/home/openemm/bin/scripts/pickdist.py", line 180, in ?
if pd.scanForData () == 0:
File "/home/openemm/bin/scripts/pickdist.py", line 109, in scanForData
db = agn.DBase ()
AttributeError: 'module' object has no attribute 'DBase'

Where do I define the DBase für the 'module' object or how to fix the problems?

Posted: Tue Apr 24, 2007 5:13 pm
by SqiSch
use the search function in the forum. ;)

or easily install the Mysql module for python.

Posted: Fri Apr 27, 2007 5:25 pm
by daniz78
It was the missing python module...again!

thanx!

Solved for openSuse 10.2

Posted: Wed Jun 27, 2007 2:59 pm
by tgilbert328
In the installation guide there is a line which says "If package python-mysql is not available in OpenSuse, it is probably not needed".

I think that is bad advice. In my installation of OpenSuse 10.2 there is no package called python-mysql (I don't know why) and I encountered the same problem as here.

I solved the problem by going to the www.python.org website and downloading the source code for mysql interop. I complied and installed and after that performed the test indicated above (import MySQLdb) and it worked.

I restarted the services using OpenEMM.sh, checked ~/var/log/*pickdist and it was working perfectly.

I am still working through testing it, but so far so good.

Posted: Wed Jun 27, 2007 4:51 pm
by maschoff
I included your information in our Wiki. Thank you!