MachineUI stopped working on 6.4.2 and git

Jonas Hörsch coroa at online.de
Sun Dec 18 19:10:24 UTC 2011


Hej everyone,

the MachineUI didn't survive me upgrading from 6.4.0 to 6.4.2 or
master. When I invoke offlineimap now like

$ offlineimap -u MachineUI

i get the following error

msg:__init__:MainThread:6.0.0
msg:initbanner:MainThread:OfflineIMAP 6.4.2%0ACopyright 2002-2011 John Goerzen %26 contributors.%0ALicensed under the GNU GPL v2+ (v2 or any later version).%0A
msg:registerthread:Account sync UPZeik:UPZeik
msg:registerthread:Account sync GMail:GMail
msg:registerthread:Account sync Univie:Univie
Thread 'Account sync GMail' terminated with exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/offlineimap/threadutil.py", line 137, in run
    Thread.run(self)
  File "/usr/lib/python2.7/threading.py", line 505, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 209, in syncrunner
    self.ui.acct(self)
  File "/usr/lib/python2.7/site-packages/offlineimap/ui/Machine.py", line 76, in acct
    s._printData('acct', accountname)
  File "/usr/lib/python2.7/site-packages/offlineimap/ui/Machine.py", line 39, in _printData
    s._printDataOut('msg', command, data, dolock)
  File "/usr/lib/python2.7/site-packages/offlineimap/ui/Machine.py", line 52, in _printDataOut
    urllib.quote(data, s.safechars))
  File "/usr/lib/python2.7/urllib.py", line 1248, in quote
    if not s.rstrip(safe):
AttributeError: SyncableAccount instance has no attribute 'rstrip'


Last 1 debug messages logged for Account sync GMail prior to exception:
thread: Register new thread 'Account sync GMail' (account 'GMail')
msg:threadException:MainThread:Account sync GMail%0AThread %27Account sync GMail%27 terminated with exception%3A%0ATraceback (most recent call last)%3A%0A  File %22/usr/lib/python2.7/site-packages/offlineimap/threadutil.py%22, line 137, in run%0A    Thread.run(self)%0A  File %22/usr/lib/python2.7/threading.py%22, line 505, in run%0A    self.__target(%2Aself.__args, %2A%2Aself.__kwargs)%0A  File %22/usr/lib/python2.7/site-packages/offlineimap/accounts.py%22, line 209, in syncrunner%0A    self.ui.acct(self)%0A  File %22/usr/lib/python2.7/site-packages/offlineimap/ui/Machine.py%22, line 76, in acct%0A    s._printData(%27acct%27, accountname)%0A  File %22/usr/lib/python2.7/site-packages/offlineimap/ui/Machine.py%22, line 39, in _printData%0A    s._printDataOut(%27msg%27, command, data, dolock)%0A  File %22/usr/lib/python2.7/site-packages/offlineimap/ui/Machine.py%22, line 52, in _printDataOut%0A    urllib.quote(data, s.safechars))%0A  File %22/usr/lib/python2.7/urllib.py%22, line 1248, in quote%0A    if not s.rstrip(safe)%3A%0AAttributeError%3A SyncableAccount instance has no attribute %27rstrip%27%0A%0A%0ALast 1 debug messages logged for Account sync GMail prior to exception%3A%0Athread%3A Register new thread %27Account sync GMail%27 (account %27GMail%27)
msg:terminate:MainThread:100%0A%0A



thanks,

coroa




More information about the OfflineIMAP-project mailing list