I Applied the patches... here is my new output:<br><div class="gmail_quote"><br>og@Groundhog:~/build/nicolas33-offlineimap-98f5181$ ./offlineimap.py <br><div class="im">Thread 'Account sync Gmail' terminated with exception:<br>

Traceback (most recent call last):<br></div>
  File "/home/og/build/nicolas33-offlineimap-98f5181/offlineimap/threadutil.py", line 158, in run<div class="im"><br>    Thread.run(self)<br>  File "/usr/lib/python2.6/threading.py", line 484, in run<br>

    self.__target(*self.__args, **self.__kwargs)<br></div>
  File "/home/og/build/nicolas33-offlineimap-98f5181/offlineimap/accounts.py", line 177, in syncrunner<br>    self.remoterepos = offlineimap.repository.Base.LoadRepository(self.getconf('remoterepository'), self, 'remote')<br>


  File "/home/og/build/nicolas33-offlineimap-98f5181/offlineimap/repository/Base.py", line 44, in LoadRepository<br>    return repo(name, account)<br>  File "/home/og/build/nicolas33-offlineimap-98f5181/offlineimap/repository/Gmail.py", line 43, in __init__<br>


    IMAPRepository.__init__(self, reposname, account)<br>  File "/home/og/build/nicolas33-offlineimap-98f5181/offlineimap/repository/IMAP.py", line 30, in __init__<br>    self.imapserver = imapserver.ConfigedIMAPServer(self)<br>


  File "/home/og/build/nicolas33-offlineimap-98f5181/offlineimap/imapserver.py", line 439, in __init__<br>    password = self.repos.getpassword()<br>  File "/home/og/build/nicolas33-offlineimap-98f5181/offlineimap/repository/IMAP.py", line 206, in getpassword<br>


    raise Exception("No password could be retrieved for repository '%s'" % self.getname())<br>Exception: No password could be retrieved for repository 'RemoteGmail'<br><br><br>No debug messages were logged for Account sync Gmail.<br>


<br>Note that I ran it a few times, it is not always the Gmail account that fails, it can be any of my accounts.<br><br>Obviously it is failing to get a password, but it is not prompting me for one - as it did in jgoerzen's Master.<br>


<br>Regards,<br><font color="#888888">Paul Grove</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On 13 December 2010 15:25, Sebastian Spaeth <span dir="ltr"><<a href="mailto:Sebastian@sspaeth.de" target="_blank">Sebastian@sspaeth.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
As a reply to this mail find 2 patches with improvements that I would<br>
call bug fixes although both do nothing more than spit out more explicit<br>
Exceptions rather than failing with something like KeyError or<br>
ValueError which doesn't give the user any clue about what happened.<br>
<br>
Patch #1 protects against misconfigurations for e.g. Type=Meildir<br>
Patch #2 should give more information if the error that I suspect<br>
happened, occurred indeed for Paul Grove (no password could be<br>
retrieved)<br>
<br>
Paul could you apply patch #2 and see if you get better error messages<br>
now?<br>
<br>
Nicolas, what about those patches? Review appreciated.<br>
<font color="#888888"><br>
Sebastian<br>
</font></blockquote></div><br>
</div></div></div><br>