<p>You have two local gmail&#39;s defined, but I would be a bit surprised if that were the problem. Can you get a backtrace on your own? </p>
<div class="gmail_quote">On Dec 13, 2010 5:43 AM, &quot;Paul Grove&quot; &lt;<a href="mailto:paul.a.grove@gmail.com">paul.a.grove@gmail.com</a>&gt; wrote:<br type="attribution">&gt; Hi I didn&#39;t realize that the jgoerzen master branch was not the latest,<br>
&gt; I&#39;ve switched now to nicolas33&#39;s fork.<br>&gt; <br>&gt; Unfortunately I seem to be getting some problems with my current config.<br>&gt; <br>&gt; I&#39;ve looked through the docs and cant see whats up... here&#39;s the error(s)<br>
&gt; im getting:<br>&gt; <br>&gt; <br>&gt; WARNING: Error occured attempting to sync account Gmail: &#39;NoneType&#39; object has no attribute &#39;replace&#39;<br>&gt; Next sync in 1:00<br>&gt; WARNING: Error occured attempting to sync account HRL: &#39;NoneType&#39; object has no attribute &#39;replace&#39;<br>
&gt; Next sync in 1:00<br>&gt; WARNING: Error occured attempting to sync account Tuscany: object of type &#39;NoneType&#39; has no len()<br>&gt; Next sync in 1:00<br>&gt; <br>&gt; Here is my config (with email addresses/servers xxx&#39;ed out):<br>
&gt; <br>&gt; [general]<br>&gt; <br>&gt; metadata = ~/.offlineimap<br>&gt; <br>&gt; accounts = Gmail,Tuscany,HRL<br>&gt; <br>&gt; maxsyncaccounts = 9<br>&gt; <br>&gt; ignore-readonly = no<br>&gt; <br>&gt; [Account Gmail]<br>
&gt; localrepository = LocalGmail<br>&gt; remoterepository = RemoteGmail<br>&gt; autorefresh = 1<br>&gt; replace = 1<br>&gt; <br>&gt; [Account Tuscany]<br>&gt; localrepository = LocalTuscany<br>&gt; remoterepository = RemoteTuscany<br>
&gt; autorefresh = 1<br>&gt; replace = 1<br>&gt; <br>&gt; [Account HRL]<br>&gt; localrepository = LocalHRL<br>&gt; remoterepository = RemoteHRL<br>&gt; autorefresh = 1<br>&gt; replace = 1<br>&gt; <br>&gt; [Repository LocalGmail]<br>
&gt; type = Maildir<br>&gt; localfolders = ~/maildir/gmail<br>&gt; sep = .<br>&gt; <br>&gt; [Repository LocalGmail]<br>&gt; type = Maildir<br>&gt; localfolders = ~/maildir/gmail<br>&gt; sep = .<br>&gt; <br>&gt; [Repository LocalTuscany]<br>
&gt; type = Maildir<br>&gt; localfolders = ~/maildir/tuscany<br>&gt; sep = .<br>&gt; <br>&gt; [Repository LocalHRL]<br>&gt; type = Maildir<br>&gt; localfolders = ~/maildir/hrl<br>&gt; sep = .<br>&gt; <br>&gt; [Repository RemoteGmail]<br>
&gt; type = Gmail<br>&gt; remoteuser = <a href="mailto:xxxx.x.xxxxx@gmail.com">xxxx.x.xxxxx@gmail.com</a><br>&gt; realdelete = no<br>&gt; <br>&gt; [Repository RemoteTuscany]<br>&gt; type = IMAP<br>&gt; remotehost = <a href="http://xxx.xxxxxxxxxxxxxx.com">xxx.xxxxxxxxxxxxxx.com</a><br>
&gt; ssl = yes<br>&gt; remoteuser = PaulG<br>&gt; holdconnectionopen = yes<br>&gt; maxconnections = 5<br>&gt; expunge = no<br>&gt; <br>&gt; [Repository RemoteHRL]<br>&gt; type = IMAP<br>&gt; remotehost = <a href="http://xxxxxxxxxx.co.uk">xxxxxxxxxx.co.uk</a><br>
&gt; ssl = yes<br>&gt; remoteuser = <a href="mailto:xxxx.xxxxx@xxxxx-xxxx.co.uk">xxxx.xxxxx@xxxxx-xxxx.co.uk</a><br>&gt; holdconnectionopen = yes<br>&gt; maxconnections = 5<br>&gt; expunge = no<br>&gt; <br>&gt; This config works fine for me with the jgoerzen/master branch.<br>
&gt; <br>&gt; As I said I&#39;ve been through the docs, and I&#39;ve also tried setting<br>&gt; replace = 1 on each account - just as a stab in the dark.<br>&gt; <br>&gt; I&#39;ve also tried 6.3.0 with same result.<br>&gt; <br>
&gt; Also I tried on two systems to build offlineimap.sgml without luck.<br>&gt; <br>&gt; On both machines (one ubuntu, one ArchLinux) I get a load of parsing<br>&gt; errors - followed by this error:<br>&gt; <br>&gt; unable to parse offlineimap.sgml<br>
&gt; Unable to recognise encoding of this document at /usr/share/perl5/vendor_perl/XML/SAX/PurePerl/EncodingDetect.pm line 100.<br>&gt; <br>&gt; As a result I&#39;ve been reading the docs straight from the sgml file.<br>&gt; <br>
&gt; Hope someone can help,<br>&gt; <br>&gt; Best Regards,<br>&gt; Paul Grove<br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; OfflineIMAP-project mailing list<br>&gt; <a href="mailto:OfflineIMAP-project@lists.alioth.debian.org">OfflineIMAP-project@lists.alioth.debian.org</a><br>
&gt; <a href="http://lists.alioth.debian.org/mailman/listinfo/offlineimap-project">http://lists.alioth.debian.org/mailman/listinfo/offlineimap-project</a><br>&gt; <br>&gt; OfflineIMAP homepage: <a href="http://software.complete.org/offlineimap">http://software.complete.org/offlineimap</a><br>
</div>