From: SourceForge.net <no...@so...> - 2004-10-07 02:26:05
|
Bugs item #967653, was opened at 2004-06-06 12:02 Message generated for change (Comment added) made by fdrake You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450019&aid=967653&group_id=47611 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Serguei A. Mokhov (mokhov) >Assigned to: Fred L. Drake, Jr. (fdrake) Summary: ImportError: cannot import name formataddr Initial Comment: Hello, I have Python 2.2 installed. After upgrading to syncmail 2.1 I started getting the below. Looks like it cannot find 'formataddr' for some reason. Any insight on the matter would be appreciated. Checking in wrappers/Worker.java; /cvsroot/gipsy/gipsy/src/gipsy/wrappers/Worker.java,v <-- Worker.java new revision: 1.9; previous revision: 1.8 done Traceback (most recent call last): File "/cvsroot/gipsy/CVSROOT/syncmail", line 103, in ? from email.Utils import formataddr ImportError: cannot import name formataddr -s ---------------------------------------------------------------------- >Comment By: Fred L. Drake, Jr. (fdrake) Date: 2004-10-06 22:26 Message: Logged In: YES user_id=3066 I've fixed the comment in the syncmail script (file revision 2.2 in CVS). ---------------------------------------------------------------------- Comment By: Serguei A. Mokhov (mokhov) Date: 2004-06-07 09:00 Message: Logged In: YES user_id=560391 That's what I suspected -- 2.2 is not enough, but was misguided by the comment in the syncmail file: # NOTE: SourceForge currently runs Python 2.2.3, so we need to remain # compatible with the Python 2.2 line. This ought to change to "with the Python 2.2.2 line." Thanks! -s ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2004-06-07 05:49 Message: Logged In: NO formataddr was added to python v2.2.2 - syncmail will fail on any version before that. Sounds like you need to upgrade your python... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=450019&aid=967653&group_id=47611 |