Complete.Org: Mailing Lists: Archives: offlineimap: March 2008:
Crash while sync two IMAP servers
Home

Crash while sync two IMAP servers

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap <offlineimap@xxxxxxxxxxxx>
Subject: Crash while sync two IMAP servers
From: Stefano Canepa <sc@xxxxxxxx>
Date: Sun, 09 Mar 2008 16:23:10 +0100

Dear all,
        I'm new to offlineimap, I started using it to sync gmail to local
maildir, but after installing dovecot-imap I ended up using it to sync
gmail directly with local IMAP server. The error is with last version
5.99.7 on debian unstable.
        My configuration is the following:
[general]
metadata = ~/.offlineimap
accounts = gmail
maxsyncaccounts = 1
ui = TTY.TTYUI
ignore-readonly = no
[mbnames]
enabled = yes
filename = ~/.MuttIncludes/muttrc.mailboxes
header = "mailboxes "
peritem = "+%(accountname)s/%(foldername)s"
sep = " "
footer = "\n"
[ui.Curses.Blinkenlights]
statuschar = *
[Account gmail]
localrepository = Local
remoterepository = Remote
autorefresh = 60
quick = 10
[Repository Local]
type = IMAP
remotehost = localhost
remoteuser = sc
remotepass = ********************
sep = 
[Repository Remote]
type = IMAP
remotehost = imap.gmail.com
ssl = yes
remoteport = 993
remoteuser = XXXX@xxxxxxxxx
remotepass = ******************
maxconnections = 3
holdconnectionopen = no
folderfilter = lambda foldername: not re.search('(All|Spam)',
foldername)

The error I have (I cutted out some all non error lines) is:

---%<---

Thread 'New msg sync from _Liste.security.security-basics' terminated
with exception:
Traceback (most recent call last):
  File "/home/sc/Sviluppo/offlineimap/offlineimap/threadutil.py", line
153, in run
    Thread.run(self)
  File "/usr/lib/python2.4/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/sc/Sviluppo/offlineimap/offlineimap/folder/Base.py", line
212, in syncmessagesto_neguid_msg
    successuid = tryappend.savemessage(uid, message, flags, rtime)
  File "/home/sc/Sviluppo/offlineimap/offlineimap/folder/IMAP.py", line
297, in savemessage
    date, content)[0] == 'OK')
AssertionError

---%<---

here I see message text.

---%<---

imap: savemessage: new content length is 4746
Exception in thread Copy message 693 from _Liste/twisted-python (most
likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
  File "/home/sc/Sviluppo/offlineimap/offlineimap/threadutil.py", line
239, in run
exceptions.TypeError: unsubscriptable object
Exception in thread Folder sync gmail[_Liste/security/security-basics]
(most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
  File "/home/sc/Sviluppo/offlineimap/offlineimap/threadutil.py", line
239, in run
exceptions.TypeError: unsubscriptable object
Exception in thread New msg sync from emacs-nxml-mode (most likely
raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
  File "/home/sc/Sviluppo/offlineimap/offlineimap/threadutil.py", line
239, in run
exceptions.TypeError: unsubscriptable object

---%<---

What I'm doing the wrong way? Or may I do something to help? While
sending this email I'm loading the code from git to try to debug. 

Bye
sc

-- 
Stefano Canepa aka sc: sc@xxxxxxxx - http://www.stefanocanepa.it
Three great virtues of a programmer: laziness, impatience and hubris.
Le tre grandi virtù di un programmatore: pigrizia, impazienza e
arroganza. (Larry Wall)

-- Attached file included as plaintext by Ecartis --
-- File: signature.asc
-- Desc: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBH1ADel8XQY46MbvERAlGiAJ4hhsAiAm+vQzisXSWqaNnyDuzr+gCdEtqD
C24DuFGKn5umsSctak+R6Gg=
=h8b7
-----END PGP SIGNATURE-----




[Prev in Thread] Current Thread [Next in Thread]