error "'NoneType' object has no attribute 'group'" when connecting to Lotus Domino IMAP

Bug #1100709 reported by Riccardo Murri
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
offlineimap (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When connecting to a Lotus Domino IMAP server, the following Python traceback is printed:

Traceback:
  File "/usr/local/Cellar/offline-imap/6.5.4/libexec/offlineimap/accounts.py", line 234, in syncrunner
    self.sync()
  File "/usr/local/Cellar/offline-imap/6.5.4/libexec/offlineimap/accounts.py", line 290, in sync
    remoterepos.getfolders()
  File "/usr/local/Cellar/offline-imap/6.5.4/libexec/offlineimap/repository/IMAP.py", line 268, in getfolders
    imapobj = self.imapserver.acquireconnection()
  File "/usr/local/Cellar/offline-imap/6.5.4/libexec/offlineimap/imapserver.py", line 294, in acquireconnection
    imaputil.imapsplit(listres[0])[1:]
  File "/usr/local/Cellar/offline-imap/6.5.4/libexec/offlineimap/imaputil.py", line 148, in imapsplit
    retval.append(m.group('quote'))

The problem apparently stems from Lotus IMAP wanting to use '\' as a folder separator, and that is not catched by the regexp that offlineimap uses.

More details at (in German): http://www.dfranke.com/blog/2012/08/20/offlineimap-error-beim-syncen-mit-lotus-domino/

Tags: patch
Revision history for this message
Riccardo Murri (rmurri) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Patch to `imaputil.py` in offlineimap 6.5.4" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in offlineimap (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Zaugg (AOI) (it-oas) wrote :

I can confirm that this patch solves the described issue in 12.10 with offlineimap 6.5.4-2

Revision history for this message
Miguel (michael-rueegg) wrote :

The bug should be reported upstream in the mailinglist of offlineimap: http://lists.alioth.debian.org/mailman/listinfo/offlineimap-project

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.