Error 'NoneType' object has no attribute 'replace'

Dmitrijs Ledkovs dmitrij.ledkov at ubuntu.com
Sun Oct 31 12:38:56 GMT 2010


On 30 October 2010 15:42, Dome <domfe at tiscali.it> wrote:
> 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.
>

I had the same thing when I was behind restrictive Proxy and 802.11x
authentication network =(


>
> 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!
>
>
>
> _______________________________________________
> OfflineIMAP-project mailing list
> OfflineIMAP-project at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/offlineimap-project
>
> OfflineIMAP homepage: http://software.complete.org/offlineimap
>




More information about the OfflineIMAP-project mailing list