Fwd: Invalid Config with 6.3.1??

Paul Grove paul.a.grove at gmail.com
Mon Dec 13 15:55:13 GMT 2010

I Applied the patches... here is my new output:

og at Groundhog:~/build/nicolas33-offlineimap-98f5181$ ./offlineimap.py
Thread 'Account sync Gmail' terminated with exception:
Traceback (most recent call last):
line 158, in run

  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
"/home/og/build/nicolas33-offlineimap-98f5181/offlineimap/accounts.py", line
177, in syncrunner
    self.remoterepos =
self, 'remote')
line 44, in LoadRepository
    return repo(name, account)
line 43, in __init__
    IMAPRepository.__init__(self, reposname, account)
line 30, in __init__
    self.imapserver = imapserver.ConfigedIMAPServer(self)
line 439, in __init__
    password = self.repos.getpassword()
line 206, in getpassword
    raise Exception("No password could be retrieved for repository '%s'" %
Exception: No password could be retrieved for repository 'RemoteGmail'

No debug messages were logged for Account sync Gmail.

Note that I ran it a few times, it is not always the Gmail account that
fails, it can be any of my accounts.

Obviously it is failing to get a password, but it is not prompting me for
one - as it did in jgoerzen's Master.

Paul Grove

On 13 December 2010 15:25, Sebastian Spaeth <Sebastian at sspaeth.de> wrote:

> As a reply to this mail find 2 patches with improvements that I would
> call bug fixes although both do nothing more than spit out more explicit
> Exceptions rather than failing with something like KeyError or
> ValueError which doesn't give the user any clue about what happened.
> Patch #1 protects against misconfigurations for e.g. Type=Meildir
> Patch #2 should give more information if the error that I suspect
> happened, occurred indeed for Paul Grove (no password could be
> retrieved)
> Paul could you apply patch #2 and see if you get better error messages
> now?
> Nicolas, what about those patches? Review appreciated.
> Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20101213/1e0f86c9/attachment-0001.html>

More information about the OfflineIMAP-project mailing list