Closed Bug 402772 Opened 18 years ago Closed 18 years ago

PARSER:Internal Syntax Error when using gmail IMAP and "check_all_folders"

Categories

(MailNews Core :: Networking: IMAP, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bugzilla, Assigned: Bienvenu)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

when I use the gmail Imap I see PARSER:Internal Syntax Error in the imap log: 2008[399f8f0]: ImapThreadMainLoop entering [this=3c12860] 2008[399f8f0]: 3c12860:imap.gmail.com:NA:ProcessCurrentURL: entering 2008[399f8f0]: 3c12860:imap.gmail.com:NA:ProcessCurrentURL:imap://nina%40hilsted%2Edk@imap.gmail.com:993/folderstatus%3E/%5BGmail%5D/Starred: = currentUrl 2008[399f8f0]: ReadNextLine [stream=3bd4c60 nb=62 needmore=0] 2008[399f8f0]: 3c12860:imap.gmail.com:NA:CreateNewLineFromSocket: * OK Gimap ready for requests from 83.93.93.83 12if694187fgg 2008[399f8f0]: 3c12860:imap.gmail.com:NA:SendData: 1 capability 2008[399f8f0]: ReadNextLine [stream=3bd4c60 nb=60 needmore=0] 2008[399f8f0]: 3c12860:imap.gmail.com:NA:CreateNewLineFromSocket: * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA XYZZY 2008[399f8f0]: ReadNextLine [stream=3bd4c60 nb=41 needmore=0] 2008[399f8f0]: 3c12860:imap.gmail.com:NA:CreateNewLineFromSocket: 1 OK Thats all she wrote! 12if694187fgg 2008[399f8f0]: 3c12860:imap.gmail.com:NA:SendData: Logging suppressed for this command (it probably contained authentication information) 2008[399f8f0]: ReadNextLine [stream=3bd4c60 nb=46 needmore=0] 2008[399f8f0]: 3c12860:imap.gmail.com:NA:CreateNewLineFromSocket: 2 OK nina@hilsted.dk authenticated (Success) 2008[399f8f0]: 3c12860:imap.gmail.com:A:SendData: 3 STATUS "[Gmail]/Starred" (UIDNEXT MESSAGES UNSEEN RECENT) 2008[399f8f0]: ReadNextLine [stream=3bd4c60 nb=68 needmore=0] 2008[399f8f0]: 3c12860:imap.gmail.com:A:CreateNewLineFromSocket: * STATUS [Gmail]/Starred (MESSAGES 0 RECENT 0 UIDNEXT 18 UNSEEN 0) 2008[399f8f0]: ReadNextLine [stream=3bd4c60 nb=14 needmore=0] 2008[399f8f0]: 3c12860:imap.gmail.com:A:CreateNewLineFromSocket: 3 OK Success 2008[399f8f0]: 3c12860:imap.gmail.com:A:ProcessCurrentURL: entering 2008[399f8f0]: 3c12860:imap.gmail.com:A:ProcessCurrentURL:imap://nina%40hilsted%2Edk@imap.gmail.com:993/folderstatus%3E/%5BGmail%5D/Sent%20Mail: = currentUrl 2008[399f8f0]: 3c12860:imap.gmail.com:A:SendData: 4 STATUS "[Gmail]/Sent Mail" (UIDNEXT MESSAGES UNSEEN RECENT) 2008[399f8f0]: ReadNextLine [stream=3bd4c60 nb=75 needmore=0] 2008[399f8f0]: 3c12860:imap.gmail.com:A:CreateNewLineFromSocket: * STATUS [Gmail]/Sent Mail (MESSAGES 1464 RECENT 0 UIDNEXT 1465 UNSEEN 0) 2008[399f8f0]: 3c12860:imap.gmail.com:A:PARSER:Internal Syntax Error on line: %s: * STATUS [Gmail]/Sent Mail (MESSAGES 1464 RECENT 0 UIDNEXT 1465 UNSEEN 0) 2008[399f8f0]: 3c12860:imap.gmail.com:A:SendData: 5 logout 2008[399f8f0]: ReadNextLine [stream=3bd4c60 nb=14 needmore=0] 2008[399f8f0]: 3c12860:imap.gmail.com:A:CreateNewLineFromSocket: 4 OK Success 2008[399f8f0]: 3c12860:imap.gmail.com:NA:TellThreadToDie: close socket connection 2008[399f8f0]: ImapThreadMainLoop leaving [this=3c12860] is this enough info? I only took the log entries that started with "2008[399f8f0]"
> SendData: 4 STATUS "[Gmail]/Sent Mail" (UIDNEXT MESSAGES UNSEEN RECENT) > CreateNewLineFromSocket: * STATUS [Gmail]/Sent Mail (MESSAGES 1464 RECENT 0 UIDNEXT 1465 UNSEEN 0) Read at least RFC 3501, http://www.faqs.org/rfcs/rfc3501.html and see Gmail IMAP Help articles, > Google Help > Gmail Help > IMAP Access > http://mail.google.com/support/bin/topic.py?topic=12760 and understand at least next article, > How do actions sync in IMAP? > http://mail.google.com/support/bin/answer.py?answer=77657&topic=12762 before open a bug at bugzilla.mozilla.org saying "Tb's fault/flaw/bug" when Gmail IMAP, please. Folder name([Gmail]/Sent Mail) contains space, so it have to be quoted with double-quot("[Gmail]/Sent Mail") in response as Tb does do in request. I think workaround in your case is "rename 'Sent Mail' to 'Sent'" via "Gmail on the web". By the way, as written in following articles, > Why don't all my views and labels appear? > http://mail.google.com/support/bin/answer.py?answer=78772&topic=12763 > We’re working on making Gmail for IMAP as much like > the web interface as we can, (snip) > Does Gmail support all IMAP features? > http://mail.google.com/support/bin/answer.py?answer=78761&topic=12762 > Gmail IMAP is a fairly complete implementation of IMAP, > but the following features are currently unsupported: (snip) Gmail IMAP is still under construction, even after official release.
the problem only seems to happen when using "check_all_folders" pref is on
Summary: PARSER:Internal Syntax Error when using gmail IMAP → PARSER:Internal Syntax Error when using gmail IMAP and "check_all_folders"
Attachment #287673 - Attachment mime type: application/octet-stream → text/plain
as WADA points out, and as I speculated in your other bug, this is a server bug - the server should be quoting the folder name because it contains a space.
Got this reply from the Google Team: "We are aware of this issue, and our engineers are working diligently to address it. We appreciate your taking the time to share your feedback." Not a TB bug, but a Google IMAP bug
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: