"[Gmail]/Chats is not writable error " when trying to retrieve Chats folder

Bug #1029700 reported by Rakesh Kashyap
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Backup Gmail
New
Undecided
Unassigned

Bug Description

I was trying to backup only the chat folder of my gmail account and I got this error. Can u please solve this error..

Thank you.

Revision history for this message
Anish Shankar (rndanish) wrote :

The following patch can be used as a temporary workaround. However this will break restoring email functionality completely.

=== modified file 'backup_gmail.py'
--- backup_gmail.py 2011-04-14 02:17:02 +0000
+++ backup_gmail.py 2013-04-25 12:29:25 +0000
@@ -149,7 +149,7 @@
    map(lambda x : re.findall('\(\\\\HasNoChildren\) "/" "([^"]+)"', x), labels)))

  def selectMailBox(self, name):
- ret, mail_count = self.gmail.select(name)
+ ret, mail_count = self.gmail.select(name,readonly=true)
   if ret == 'NO':
    raise self.SelectMailBoxError(name, self.fetchLabelNames())
   return mail_count

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.