Mailing only generate for test or admin users

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

olivier.r
Posts: 23
Joined: Tue Aug 29, 2006 8:33 am

Mailing only generate for test or admin users

Post by olivier.r »

When I try to send a mailing, OpenEMM put it in :

var/spool/META

but ther's nothing in the QUEUE :

var/spool/META

When I send mailing to test user, I see something like :

Sep 14 12:14:00 h91 xmlback[31301]: mail creation: 0;1;1;7;17;T;1;0;0;1;546

in the maillog ... but when I try to "really" send the mailing, nothing happen ...


OpenEMM 5.0.1
Linux Fedora core 4


Thanks for your help ...
rk
Posts: 14
Joined: Fri Nov 10, 2006 5:43 pm
Location: Munich
Contact:

Post by rk »

I got the same problem. I was testing all the time with admin and test recipiens. Now I wanted to send the newsletter to the "real" recipiens and no mail is sent out.


Got someone any suggestions on this?


thanks
cheers
Ronny
maschoff
Site Admin
Posts: 2596
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

various tipps

Post by maschoff »

next to the .xml.gz file there should be a .stamp file as well as a .final file. If these files are missing the generation was probably interrupted. Please check ~/var/log&<datum>-<system>-mailgun.log.

After generation, the process pickdist.py unpacks the .xml.gz packages. If this process does not work or there are any other problems (like incomplete permissions) you should check out ~/var/log/...-pickdist.log.
OpenEMM Maintainer
rk
Posts: 14
Joined: Fri Nov 10, 2006 5:43 pm
Location: Munich
Contact:

Post by rk »

ok, in ...pickdist.log I got this error:

Code: Select all

[30.11.2006  16:01:48] 5115 INFO/main: Starting up
[30.11.2006  16:01:49] 5115 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'

Is this a well known error or a matter of a false config?
maschoff
Site Admin
Posts: 2596
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

database error

Post by maschoff »

not known at all (to me), sorry!
OpenEMM Maintainer
ud
Posts: 154
Joined: Thu Aug 17, 2006 9:56 am
Location: Munich, Germany
Contact:

Post by ud »

Looks like a missing Python mysql module. You can test this by starting python in interactive mode and type

Code: Select all

import  MySQLdb
which should not print anything except the input prompt on success. Otherwise install the proper package.

-- ud
rk
Posts: 14
Joined: Fri Nov 10, 2006 5:43 pm
Location: Munich
Contact:

Post by rk »

thanks!

u were right.
The problem was the missing python mysqldb module.


I'm really excited by this software. I'll try to give further feedbacks.



cheers
Ronny
mfreund
Posts: 8
Joined: Fri Dec 08, 2006 6:07 pm

Post by mfreund »

what is the proper package cause i put in Python mysql module as rpm and stuff still doesnt work.....Please clarify wher to get the correct package.

Thanks
Post Reply