Error 'NoneType' object has no attribute 'replace'

Dome domfe at tiscali.it
Sat Oct 30 12:42:50 UTC 2010


Hi.
I'm getting the error 'NoneType' object has no attribute
'replace' when syncing
a GMail account. I cannot told when, but months ago 
the sync worked ok.
Here is my debug log.


This is OfflineIMAP 6.2.0
Python: 2.6.4 (r264:75706, Jun  4 2010, 18:20:16)
[GCC 4.4.4 20100503 (Red Hat 4.4.4-2)]
Platform: linux2
Args: ['/usr/bin/offlineimap', '-l', '/home/dome/offlineimap.log',
 '-d', 'imap']
MainThread: OfflineIMAP 6.2.0
Copyright (C) 2002 - 2009 John Goerzen <jgoerzen at complete.org>
This software comes with ABSOLUTELY NO WARRANTY; see the file
COPYING for details.  This is free software, and you are welcome
to distribute it under the conditions laid out in COPYING.
MainThread: OfflineIMAP 6.2.0
MainThread: Copyright (C) 2002 - 2009
 John Goerzen <jgoerzen at complete.org>
MainThread: This software comes with ABSOLUTELY NO WARRANTY;
 see the file
MainThread: COPYING for details.  This is free software, and you are
 welcome
MainThread: to distribute it under the conditions laid out in COPYING.
MainThread: Now debugging for imap: IMAP protocol debugging
Account sync Test: ***** Processing account Test
Account sync Test: Copying folder structure from Gmail to Maildir
Account sync Test: Establishing connection to imap.gmail.com:993.
Account sync Test: DEBUG[imap]:   33:14.73 imaplib version 2.58
Account sync Test: DEBUG[imap]:   33:14.73 new IMAP4 connection,
 tag=JAOD
Account sync Test: DEBUG[imap]:   33:14.73 < * OK Gimap ready for
requests
 from
87.8.144.144 m6if6684650wbe.15
Account sync Test: DEBUG[imap]:   33:14.73      matched r'\* 
(?P<type>[A-Z-]+)(
(?P<data>.*))?' => ('OK', ' Gimap ready for requests from
 87.8.144.144
m6if6684650wbe.15', 'Gimap ready for requests from 87.8.144.144 m6if6684650wbe.1
5')
Account sync Test: DEBUG[imap]:   33:14.73 untagged_responses[OK]
 0 +=
 ["Gimap
ready for requests from 87.8.144.144 m6if6684650wbe.15"]
Account sync Test: DEBUG[imap]:   33:14.73 > JAOD0 CAPABILITY
Account sync Test: DEBUG[imap]:   33:14.77 < * CAPABILITY IMAP4rev1
 UNSELECT
IDLE NAMESPACE QUOTA XLIST CHILDREN XYZZY SASL-IR AUTH=XOAUTH
Account sync Test: DEBUG[imap]:   33:14.77      matched r'\* 
(?P<type>[A-Z-]+)(
(?P<data>.*))?' => ('CAPABILITY', ' IMAP4rev1 UNSELECT IDLE
 NAMESPACE QUOTA
XLIST CHILDREN XYZZY SASL-IR AUTH=XOAUTH', 'IMAP4rev1
 UNSELECT IDLE
 NAMESPACE
QUOTA XLIST CHILDREN XYZZY SASL-IR AUTH=XOAUTH')
Account sync Test: DEBUG[imap]:   33:14.77
 untagged_responses[CAPABILITY]
 0 +=
["IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA XLIST CHILDREN XYZZY
 SASL-IR AUTH=XOAUTH"]
Account sync Test: DEBUG[imap]:   33:14.77 < JAOD0 OK Thats all
she wrote!
m6if6684650wbe.15
Account sync Test: DEBUG[imap]:   33:14.77    
  matched r'(?P<tag>JAOD\d+)
(?P<type>[A-Z]+) (?P<data>.*)' => ('JAOD0', 'OK', 
'Thats all she wrote!
m6if6684650wbe.15')
Account sync Test: DEBUG[imap]:   33:14.77
 untagged_responses[CAPABILITY]
 =>
['IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA XLIST CHILDREN XYZZY
 SASL-IR AUTH=XOAUTH']
Account sync Test: DEBUG[imap]:   33:14.77 CAPABILITIES:
 ('IMAP4REV1',
'UNSELECT', 'IDLE', 'NAMESPACE', 'QUOTA', 'XLIST', 'CHILDREN',
'XYZZY',
'SASL-IR', 'AUTH=XOAUTH')
Account sync Test: DEBUG[imap]: Attempting plain authentication
Account sync Test: WARNING: Error occured attempting to sync 
account Test:
'NoneType' object has no attribute 'replace'
Account sync Test: ***** Finished processing account Test



Thank you!





More information about the OfflineIMAP-project mailing list