Menu

#135 CAUGHT EXCEPTION while running softbounce.py in OpenEMM 2013

OpenEMM
closed-fixed
nobody
None
5
2015-02-03
2013-07-30
No

Hi,

I am using openemm 2013 on Ubuntu 12.04, while running bin/scripts/softbounce.py script i got below error.

/home/openemm/bin/scripts/softbounce.py
CAUGHT EXCEPTION:
Traceback (most recent call last):
File "/home/openemm/bin/scripts/softbounce.py", line 167, in <module>
data = scurs.querys (squery, parm, cleanup = True)
File "/home/openemm/bin/scripts/agn.py", line 2054, in querys
for rec in self.query (req, parm, cleanup, rtype):
File "/home/openemm/bin/scripts/agn.py", line 2017, in query
self.curs.execute (req, parm)
File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 159, in execute
query = query % db.literal(args)
TypeError: not enough arguments for format string

and below is the out put from the logs.

/home/openemm/var/log/20130728-ubuntu-softbounce.log

[28.07.2013 03:00:02] 24276 INFO/main: Starting up
[28.07.2013 03:00:02] 24276 INFO/kill: Removed 0 address(es)
[28.07.2013 03:00:02] 24276 INFO/collect: Updated timestamps
[28.07.2013 03:00:04] 24276 INFO/collect: Read 4424 records (99 uniques) and inserted 99
[28.07.2013 03:00:04] 24276 INFO/collect: Timestamp updated
[28.07.2013 03:00:04] 24276 INFO/merge: Working on 1
[28.07.2013 03:00:23] 24276 FATAL/except: CAUGHT EXCEPTION:
Traceback (most recent call last):
File "/home/openemm/bin/scripts/softbounce.py", line 164, in <module>
data = scurs.querys (squery, parm, cleanup = True)
File "/home/openemm/bin/scripts/agn.py", line 2055, in querys
for rec in self.query (req, parm, cleanup, rtype):
File "/home/openemm/bin/scripts/agn.py", line 2018, in query
self.curs.execute (req, parm)
File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 159, in execute
query = query % db.literal(args)
TypeError: not enough arguments for format string

I tried to follow solution on this link http://forum.openemm.org/post8361.html#p8361

but it only bypass the error but not marking any recipient as bounce.

Please let me know if this is not the right place to post such bug.

Thanks
Nitin B.

Discussion

  • Martin Aschoff

    Martin Aschoff - 2015-02-03

    Fixed in OpenEMM 2015 RC3

     
  • Martin Aschoff

    Martin Aschoff - 2015-02-03
    • status: open --> closed-fixed
     

Log in to post a comment.