String index out of range
Johannes Stezenbach
js at sig21.net
Wed Dec 15 16:20:04 GMT 2010
On Wed, Dec 15, 2010 at 10:16:39AM -0500, Graham Dunn wrote:
> Debug log is attached.
>
> The last lines in the log are
>
> Account sync Test: DEBUG[imap]: dequote() called with input: ""
> Account sync Test: DEBUG[imap]: dequote() returning:
> Account sync Test: DEBUG[imap]: dequote() called with input:
> Account sync Test: WARNING: Error occured attempting to sync account
> Test: string index out of range
And another time this ill-devised WARNING prevents us from getting
a useful backtrace :-(
> This is syncing against davmail 3.8.7 in front of an Exchange server.
extracting a few key lines from your log:
> Account sync Test: DEBUG[imap]: 21:27.91 > BGBF3 LIST "" "*"
> Account sync Test: DEBUG[imap]: 21:30.58 < * LIST (\HasChildren) "/" "INBOX"
...
> Account sync Test: DEBUG[imap]: 21:30.62 < * LIST (\HasChildren) "/" ""
> Account sync Test: DEBUG[imap]: 21:30.62 < BGBF3 OK LIST completed
I think your server is buggy for returning an empty string as a mailbox
name. What are we supposed to do with the "" mailbox?
(Well, obviously someone could add a check to ignore this mailbox.)
HTH
Johannes
More information about the OfflineIMAP-project
mailing list