You are not logged in.

#1 2009-07-26 22:52:08

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

[SOLVED] Offlineimap - crashes when connecting to some IMAP accounts

I've seen one bug reported, but not here at Arch.

I've no problems in connecting to for example Gmail IMAP. With another account however Offlineimap crashes with errors like the following:

Thread 'Account sync datafamiljen' terminated with exception:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/offlineimap/threadutil.py", line 149, in run Thread.run(self)
File "/usr/lib/python2.6/threading.py", line 477, in run self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.6/site-packages/offlineimap/accounts.py", line 192, in syncrunner self.sync(siglistener)
File "/usr/lib/python2.6/site-packages/offlineimap/accounts.py", line 224, in sync remoterepos.syncfoldersto(localrepos, [statusrepos])
File "/usr/lib/python2.6/site-packages/offlineimap/repository/Base.py", line 135, in syncfoldersto srcfolders = src.getfolders()
File "/usr/lib/python2.6/site-packages/offlineimap/repository/IMAP.py", line 226, in getfolders imapobj = self.imapserver.acquireconnection()
File "/usr/lib/python2.6/site-packages/offlineimap/imapserver.py", line 289, in acquireconnection imapobj.authenticate('CRAM-MD5', self.md5handler)
File "/usr/lib/python2.6/site-packages/offlineimap/imaplib2.py", line 530, in authenticate self._deliver_exc(self.error, dat[-1])
TypeError: _deliver_exc() takes exactly 4 arguments (3 given)

Last 4 debug messages logged for Account sync datafamiljen prior to exception: maildir: MaildirRepository initialized, sep is '.'
imap: Attempting CRAM-MD5 authentication
imap: md5handler: got challenge <20090727004434@mail.sorsele.net>
imap: md5handler: returning name.server.se 866a44a5a2adaa1318034823a3f96f5a

Over the years offlineimap seems to have struggled with similar md5 errors (I suppose that's what makes it crash). Does anyone know how to fix this or at least circumvent the issue?

(Is this a bug I should report?)

Last edited by KimTjik (2009-08-17 09:46:28)

Offline

#2 2009-07-27 00:30:03

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: [SOLVED] Offlineimap - crashes when connecting to some IMAP accounts

I suggest you email the offlineimap ML with this, they'll know how to help you out. Please note that some IMAP servers don't function to IMAP specs (early Exchange servers, for example). Would not know how to check this out, again the ML would be more helpful.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2009-07-30 20:31:08

briest
Member
From: Katowice, PL
Registered: 2006-05-04
Posts: 468

Re: [SOLVED] Offlineimap - crashes when connecting to some IMAP accounts

Offlineimap 6.1.0 seems broken; there is 6.1.2 available on the website, upgrading solved the problem for me.

Offline

#4 2009-07-30 21:45:32

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: [SOLVED] Offlineimap - crashes when connecting to some IMAP accounts

OK, I take a look at that before making any report about it.

Offline

#5 2009-08-10 09:22:43

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: [SOLVED] Offlineimap - crashes when connecting to some IMAP accounts

Update: strange but on two other Arch systems offlineimap 6.1.2 works perfectly well. But on my system at home it's broken. Neither i686 neither x86_64 does work; both crash with the already mentioned error.

Debug mode doesn't give any more info so I've probably no other option than to ask at offlineimap's site. I wonder what part of python is broken on this system.

Offline

#6 2009-08-16 16:36:47

drag0nl0rd
Package Maintainer (PM)
From: Czech Republic
Registered: 2007-10-24
Posts: 127
Website

Re: [SOLVED] Offlineimap - crashes when connecting to some IMAP accounts

What about the latest package, is it still broken?

Offline

#7 2009-08-17 09:46:09

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: [SOLVED] Offlineimap - crashes when connecting to some IMAP accounts

The upgraded package works well. Thanks!

I mark this thread as solved.

Offline

#8 2009-08-17 10:46:59

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: [SOLVED] Offlineimap - crashes when connecting to some IMAP accounts

Looks like you were also hit with the 'IDLE' bug, there was quite a bit of discussion on the offlineimap ML about it.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB