Getting exception since update from 6.5.1.2 to 6.5.2

Daniel Shahaf d.s at daniel.shahaf.name
Thu Jan 19 01:28:51 GMT 2012


Add 'import time' to the top of that file Python file.  (at zero indent)

Andreas Herz wrote on Wed, Jan 18, 2012 at 23:45:35 +0100:
> I just updated offlineimap to 6.5.2 with the gentoo ebuild and now i get
> this exception with my account:
> 
> Thread 'Account sync KVA' terminated with exception:
> Traceback (most recent call last):
>   File "/usr/lib64/python2.7/site-packages/offlineimap/threadutil.py", line 155, in run
>     Thread.run(self)
>   File "/usr/lib64/python2.7/threading.py", line 505, in run
>     self.__target(*self.__args, **self.__kwargs)
>   File "/usr/lib64/python2.7/site-packages/offlineimap/accounts.py", line 252, in syncrunner
>     if looping and self.sleeper() >= 2:
>   File "/usr/lib64/python2.7/site-packages/offlineimap/accounts.py", line 155, in sleeper
>     sleepresult = self.ui.sleep(refreshperiod, self)
>   File "/usr/lib64/python2.7/site-packages/offlineimap/ui/UIBase.py", line 479, in sleep
>     abortsleep = self.sleeping(10, sleepsecs)
>   File "/usr/lib64/python2.7/site-packages/offlineimap/ui/TTY.py", line 101, in sleeping
>     time.sleep(sleepsecs)
> NameError: global name 'time' is not defined
> 
> What would be the best way to help with debugging?
> 
> -- 
> Andreas Herz
> 
> _______________________________________________
> OfflineIMAP-project mailing list
> OfflineIMAP-project at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project
> 
> OfflineIMAP homepage: http://software.complete.org/offlineimap




More information about the OfflineIMAP-project mailing list