Problem with ()'s in folder name
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Greetings,
I may have found a problem with offlineimap. I believe it has to do with
IMAP folder names containing special characters, in particular
parentheses.
Below is the tail end of my attempt to synchronize to my IMAP server:
(many many folders' output snipped)
Account sync owp:
DEBUG[imap]: dequote() returning: mail/IT/Closed Issues/Folsom Blvd
RAID-5
Account sync owp:
DEBUG[imap]: dequote() called with input: mail/IT/Closed
Issues/Folsom Blvd RAID-5
Account sync owp:
DEBUG[imap]: imapsplit() called with input: (\NoInferiors) "/"
"mail/IT/Closed Issues/AnProg-I (CSUS)"
Thread 'Account sync owp' terminated with exception:
Traceback (most recent call last):
File
"/usr/local/lib/python2.2/site-packages/offlineimap/threadutil.py", line
115, in run
Thread.run(self)
File "/usr/local/lib/python2.2/threading.py", line 396, in run
apply(self.__target, self.__args, self.__kwargs)
File
"/usr/local/lib/python2.2/site-packages/offlineimap/syncmaster.py", line
53, in syncaccount
remoterepos.syncfoldersto(localrepos)
File
"/usr/local/lib/python2.2/site-packages/offlineimap/repository/Base.py",
line 40, in syncfoldersto
srcfolders = src.getfolders()
File
"/usr/local/lib/python2.2/site-packages/offlineimap/repository/IMAP.py",
line 63, in getfolders
flags, delim, name = imaputil.imapsplit(string)
File "/usr/local/lib/python2.2/site-packages/offlineimap/imaputil.py",
line 121, in imapsplit
quotelist = quotere.search(workstr).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
As you can see, the last folder name contains parens. Below is the list
of all previous folder names:
DEBUG[imap]: imapsplit() called with input: (\NoSelect) "/" mail
DEBUG[imap]: imapsplit() called with input: (\NoSelect) "/" mail/Eiffel
DEBUG[imap]: imapsplit() called with input: (\NoInferiors \UnMarked) "/"
"mail/Eiffel/Discussion list"
DEBUG[imap]: imapsplit() called with input: (\NoInferiors) "/"
mail/Eiffel/general
DEBUG[imap]: imapsplit() called with input: (\NoInferiors) "/"
"mail/Eiffel/BON discussion list"
DEBUG[imap]: imapsplit() called with input: (\NoInferiors) "/"
mail/Eiffel/support
DEBUG[imap]: imapsplit() called with input: (\NoSelect) "/" mail/IT
DEBUG[imap]: imapsplit() called with input: (\NoSelect) "/"
mail/IT/CORBA
DEBUG[imap]: imapsplit() called with input: (\NoInferiors) "/"
mail/IT/CORBA/micoE
DEBUG[imap]: imapsplit() called with input: (\NoInferiors) "/"
"mail/IT/Work Schedules"
DEBUG[imap]: imapsplit() called with input: (\NoInferiors \UnMarked) "/"
"mail/IT/Performance Reviews"
DEBUG[imap]: imapsplit() called with input: (\NoSelect) "/"
"mail/IT/Closed Issues"
DEBUG[imap]: imapsplit() called with input: (\NoInferiors) "/"
"mail/IT/Closed Issues/Computer for Gift"
DEBUG[imap]: imapsplit() called with input: (\NoInferiors) "/"
"mail/IT/Closed Issues/NIC for tanstaafl"
DEBUG[imap]: imapsplit() called with input: (\NoInferiors) "/"
"mail/IT/Closed Issues/Tape drive for WNT"
DEBUG[imap]: imapsplit() called with input: (\NoInferiors) "/"
"mail/IT/Closed Issues/Y2K"
DEBUG[imap]: imapsplit() called with input: (\NoInferiors) "/"
"mail/IT/Closed Issues/Unit conversion web page"
DEBUG[imap]: imapsplit() called with input: (\NoInferiors) "/"
"mail/IT/Closed Issues/104a"
DEBUG[imap]: imapsplit() called with input: (\NoInferiors) "/"
"mail/IT/Closed Issues/Desktops: Folsom Bl: 4-2000"
DEBUG[imap]: imapsplit() called with input: (\NoInferiors) "/"
"mail/IT/Closed Issues/Desktops: Folsom Bl: 6-2000"
DEBUG[imap]: imapsplit() called with input: (\NoInferiors) "/"
"mail/IT/Closed Issues/Folsom Blvd RAID-5"
DEBUG[imap]: imapsplit() called with input: (\NoInferiors) "/"
"mail/IT/Closed Issues/AnProg-I (CSUS)"
I have renamed all of my folders that had parentheses, and this seems to
have taken care of this problem.
--
Jim Vanderveen (CSUS Water Programs) <jim.vanderveen@xxxxxxxxxxxx>
IT Administrator, Water Programs, Cal State Univ Sacramento
Key id: pub 1024D/4F449230, sub 2048g/54F2C627
Key fingerprint = 01D3 F3A7 CA0D 75A3 887B B787 8A15 EBE2 4F44 9230
- Problem with ()'s in folder name,
Jim Vanderveen, IT Administrator <=
|
|