all emails produced, 0 emails send ?!

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

sicon
Posts: 2
Joined: Wed Mar 14, 2007 5:43 pm

all emails produced, 0 emails send ?!

Post 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!
sicon
Posts: 2
Joined: Wed Mar 14, 2007 5:43 pm

Post 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!

:)
west
Posts: 13
Joined: Fri Mar 23, 2007 4:54 pm

Post 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:
ud
Posts: 154
Joined: Thu Aug 17, 2006 9:56 am
Location: Munich, Germany
Contact:

Post 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
daniz78
Posts: 2
Joined: Tue Feb 20, 2007 1:36 pm

Post 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?
SqiSch
Posts: 3
Joined: Mon Apr 23, 2007 8:11 pm

Post by SqiSch »

use the search function in the forum. ;)

or easily install the Mysql module for python.
daniz78
Posts: 2
Joined: Tue Feb 20, 2007 1:36 pm

Post by daniz78 »

It was the missing python module...again!

thanx!
tgilbert328
Posts: 20
Joined: Wed Jun 13, 2007 4:20 pm

Solved for openSuse 10.2

Post 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.
maschoff
Site Admin
Posts: 2597
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

I included your information in our Wiki. Thank you!
OpenEMM Maintainer
Post Reply