"need more than one value to unpack" error
Loui Chang
louipc.ist at gmail.com
Thu Apr 15 14:11:11 BST 2010
On Thu 15 Apr 2010 13:09 +0530, Shankar Gopalakrishnan wrote:
> Thanks for a great program. I've been using offlineimap for the last two
> years and am currently using version 6.2.0, running on a Puppy Linux system
> and sync'ing between Gmail and a local Dovecot IMAP server. Things were
> running fine until two days ago, when offlineimap started crashing on every
> instance with the following error messages:
>
> Thread 'Account sync Gmail-New' terminated with exception:
> Traceback (most recent call last):
> File "/root/Software/offlineimap/offlineimap/threadutil.py", line 149, in
> run
> Thread.run(self)
> File "/usr/lib/python2.5/threading.py", line 446, in run
> self.__target(*self.__args, **self.__kwargs)
> File "/root/Software/offlineimap/offlineimap/accounts.py", line 188, in
> syncrunner
> self.sync(siglistener)
> File "/root/Software/offlineimap/offlineimap/accounts.py", line 220, in
> sync
> remoterepos.syncfoldersto(localrepos, [statusrepos])
> File "/root/Software/offlineimap/offlineimap/repository/Base.py", line
> 136, in syncfoldersto
> destfolders = dest.getfolders()
> File "/root/Software/offlineimap/offlineimap/repository/IMAP.py", line
> 239, in getfolders
> self.accountname, self))
> File "/root/Software/offlineimap/offlineimap/folder/UIDMaps.py", line 226,
> in __init__
> self._initmapping()
> File "/root/Software/offlineimap/offlineimap/folder/UIDMaps.py", line 29,
> in _initmapping
> (self.diskr2l, self.diskl2r) = self._loadmaps()
> File "/root/Software/offlineimap/offlineimap/folder/UIDMaps.py", line 50,
> in _loadmaps
> (str1, str2) = line.split(':')
> ValueError: need more than 1 value to unpack
Something similar has happened to me before in gmail as well, I'm not
exactly sure what causes it, but I've found that if I deal with my mail
via the web interface that it solves the problem. It happens very
rarely, so I haven't actually found the incentive to hunt down the issue
in detail.
More information about the OfflineIMAP-project
mailing list