Issue 2550585
Created on 2009-09-02 09:24 by shrikant.rails, last changed 2009-09-09 07:13 by ber.
msg3865 |
Author: [hidden] (shrikant.rails) |
Date: 2009-09-02 09:24 |
|
When I run my Mailgw script it shows
Traceback (most recent call last):
File "./get-support-email", line 24, in ?
handler = getHandler([])
File "./get-support-email", line 13, in getHandler
return mailgw.MailGW(instance, db, options)
TypeError: __init__() takes at most 3 arguments (4 given)
Using roundup 1.4.9
Regards,
Shrikant
|
msg3869 |
Author: [hidden] (ber) |
Date: 2009-09-09 07:12 |
|
Resolved on roundup-users:
Am Freitag, 4. September 2009 10:26:50 schrieb Shrikant Patil:
> Yeah.. it solves the problem.
> On Thu, Sep 3, 2009 at 3:30 PM, Ralf Schlatterbeck <rsc@runtux.com>
wrote:
> > the mail-Gateway interface has changed in 1.4.9 -- this looks like
> > you're running a script that uses the old interface against the new
> > install. The new MailGW constructor doesn't have the db option. So
> > changing line 13 in your get-support-email script to
> > return mailgw.MailGW(instance, options)
> > should fix the error. (you don't need to open the database in your
> > script, this is done in the mailgw now for each message).
|
|
Date |
User |
Action |
Args |
2009-09-09 07:13:00 | ber | set | status: new -> closed resolution: invalid messages:
+ msg3869 nosy:
+ ber |
2009-09-02 09:24:46 | shrikant.rails | create | |
|