List Info

Thread: Crash while sync two IMAP servers




Crash while sync two IMAP servers
user name
2008-03-09 10:23:10
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 = XXXXgmail.com
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.p
y", 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.p
y", 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.p
y", 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.p
y", 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: sclinux.it - 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+gCd
EtqD
C24DuFGKn5umsSctak+R6Gg=
=h8b7
-----END PGP SIGNATURE-----




Re: Crash while sync two IMAP servers
user name
2008-03-09 20:29:31
On Sunday 09 March 2008 10:23:10 am Stefano Canepa wrote:
>   File
"/home/sc/Sviluppo/offlineimap/offlineimap/folder/IMAP.
py", line
> 297, in savemessage
>     date, content)[0] == 'OK')
> AssertionError

That means that your IMAP server returned an error after
OfflineIMAP tried to 
upload a message to it.  Run with -d imap -1 to see what the
error message 
was.

-- John



[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )