Package: offlineimap
Version: 5.99.13
Severity: important

After the fix for #479677, offlineimap crashes for me (it also crashed
before that), even after I wipe out both ~/.offlineimap and ~/Maildir.

The first time I run offlineimap after wiping our the directories, I get
this:

---------------------8<-----------------------8<-----------------------
[EMAIL PROTECTED]:~$ offlineimap -u TTY.TTYUI
OfflineIMAP 5.99.13
Copyright (C) 2002 - 2008 John Goerzen <[EMAIL PROTECTED]>
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.
Account sync softwarelivre:
   ***** Processing account softwarelivre
Account sync softwarelivre:
   Copying folder structure from IMAP to Maildir
Account sync softwarelivre:
   Establishing connection to mail.softwarelivre.org:993.
Thread 'Account sync softwarelivre' terminated with exception:
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/offlineimap/threadutil.py", line 153, 
in run
    Thread.run(self)
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/var/lib/python-support/python2.5/offlineimap/accounts.py", line 114, 
in syncrunner
    self.sync()
  File "/var/lib/python-support/python2.5/offlineimap/accounts.py", line 148, 
in sync
    remoterepos.syncfoldersto(localrepos, [statusrepos])
  File "/var/lib/python-support/python2.5/offlineimap/repository/Base.py", line 
157, in syncfoldersto
    copyfolder.makefolder(key.replace(dest.getsep(), src.getsep()))
  File 
"/var/lib/python-support/python2.5/offlineimap/repository/LocalStatus.py", line 
53, in makefolder
    os.rename(filename + ".tmp", filename)
OSError: [Errno 21] Is a directory


Last 50 debug messages logged for Account sync softwarelivre prior to exception:
imap: dequote() called with input: "news/asl/fisl8/mobilizacao"
imap: dequote() returning: news/asl/fisl8/mobilizacao
imap: imapsplit() called with input: (\HasNoChildren) "/" 
"news/asl/fisl8/temario"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"/"', 
'"news/asl/fisl8/temario"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "news/asl/fisl8/temario"
imap: dequote() returning: news/asl/fisl8/temario
maildir: _GETFOLDERS_SCANDIR STARTING. root = /home/terceiro/Maildir, extension 
= None
maildir:   toppath = /home/terceiro/Maildir
maildir:   *** top of loop
maildir:   dirname = .
maildir:   fullname = /home/terceiro/Maildir/.
maildir: _GETFOLDERS_SCANDIR RETURNING []
maildir: makefolder called with arg 'INBOX.asl'
maildir: makefolder: calling makedirs INBOX.asl
maildir: makefolder: creating cur, new, tmp
[ **** several other folders created **** ]
maildir: makefolder called with arg 'INBOX'
maildir: makefolder: calling makedirs INBOX
maildir: makefolder: creating cur, new, tmp
[EMAIL PROTECTED]:~$ 
---------------------8<-----------------------8<-----------------------

Then after that I get this:

---------------------8<-----------------------8<-----------------------
[EMAIL PROTECTED]:~$ offlineimap -u TTY.TTYUI
OfflineIMAP 5.99.13
Copyright (C) 2002 - 2008 John Goerzen <[EMAIL PROTECTED]>
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.
Account sync softwarelivre:
   ***** Processing account softwarelivre
Account sync softwarelivre:
   Copying folder structure from IMAP to Maildir
Account sync softwarelivre:
   Establishing connection to mail.softwarelivre.org:993.
Folder sync softwarelivre[INBOX/2007-03]:
   Syncing INBOX/2007-03: IMAP -> Maildir
Thread 'Folder sync softwarelivre[INBOX]' terminated with exception:
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/offlineimap/threadutil.py", line 153, 
in run
    Thread.run(self)
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/var/lib/python-support/python2.5/offlineimap/accounts.py", line 195, 
in syncfolder
    statusfolder.cachemessagelist()
  File "/var/lib/python-support/python2.5/offlineimap/folder/LocalStatus.py", 
line 68, in cachemessagelist
    file = open(self.filename, "rt")
IOError: [Errno 21] Is a directory


No debug messages were logged for Folder sync softwarelivre[INBOX].
[EMAIL PROTECTED]:~$
---------------------8<-----------------------8<-----------------------


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages offlineimap depends on:
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-support                0.7.7      automated rebuilding support for P

offlineimap recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to