Invalid Config with 6.3.1??
paul.a.grove at gmail.com
Mon Dec 13 15:19:43 GMT 2010
Removed the try/catch as suggested (didnt have any luck with traceback),
Here is the Error outputed:
og at Groundhog:~/build/nicolas33-offlineimap-06373ff$ ./offlineimap.py
Thread 'Account sync Gmail' terminated with exception:
Traceback (most recent call last): File "/home/og/build/nicolas33-offlineimap-06373ff/offlineimap/threadutil.py", line 149, in run
File "/usr/lib/python2.6/threading.py", line 484, in run
File "/home/og/build/nicolas33-offlineimap-06373ff/offlineimap/accounts.py", line 199, in syncrunner
File "/home/og/build/nicolas33-offlineimap-06373ff/offlineimap/accounts.py", line 236, in sync
File "/home/og/build/nicolas33-offlineimap-06373ff/offlineimap/repository/Base.py", line 137, in syncfoldersto
srcfolders = src.getfolders()
File "/home/og/build/nicolas33-offlineimap-06373ff/offlineimap/repository/IMAP.py", line 214, in getfolders
imapobj = self.imapserver.acquireconnection()
File "/home/og/build/nicolas33-offlineimap-06373ff/offlineimap/imapserver.py", line 296, in acquireconnection
File "/home/og/build/nicolas33-offlineimap-06373ff/offlineimap/imapserver.py", line 187, in plainauth
File "/usr/lib/python2.6/imaplib.py", line 498, in login
typ, dat = self._simple_command('LOGIN', user, self._quote(password))
File "/usr/lib/python2.6/imaplib.py", line 1052, in _quote
arg = arg.replace('\\', '\\\\')
AttributeError: 'NoneType' object has no attribute 'replace'
Last 2 debug messages logged for Account sync Gmail prior to exception:
maildir: MaildirRepository initialized, sep is '.'
imap: Attempting plain authentication
Excerpts from Johannes Stezenbach's message of Mon Dec 13 15:00:18 +0000 2010:
> On Mon, Dec 13, 2010 at 08:35:39AM -0600, Sebastian Spaeth wrote:
> > On Mon, 13 Dec 2010 10:42:37 +0000, Paul Grove <paul.a.grove at gmail.com> wrote:
> > > WARNING: Error occured attempting to sync account Gmail: 'NoneType' object has no attribute 'replace'
> > > Next sync in 1:00
> > This is the
> > exact reason why I would love to have the -1 not use any threads. Now, we
> > can't see in which file or line this exception occurs...
> You could print the traceback at the same place where the
> "Error occured attempting to sync" message is printed in accounts.py.
> Maybe "traceback.print_tb(sys.exc_info())" or similar.
> Or simply remove the try: ... except: around self.sync(siglistener)
> and let it crash
More information about the OfflineIMAP-project