Invalid Config with 6.3.1??

Paul Grove paul.a.grove at gmail.com
Mon Dec 13 14:42:53 GMT 2010


Thats for pointing out the duplicate GMail entry, I've removed it
without resolution to the problem.

I afraid I've not ever programmed or debuged python...  I did a little
google - do you want me to wrap the offlineimap object in some sort of
trace module?

Or I can run strace on it if you like - but im not sure if that would be
very helpful.

Im afraid I didnt mention last time, but the code does not die, I get
these errors repeatly each time it tries to sync the accounts.  Also it
is not getting so far as to ask me for the passwords as it should.

Are you on IRC? So I can communicate with you to get the backtrace?

Regards,
Paul Grove


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