John Goerzen escreveu isso aĆ­:
> On Tuesday 06 May 2008 2:12:18 pm Antonio Terceiro wrote:
> > 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:
> 
> Please try the attached patch and let me know if it fixes the problem for 
> you.

Nope. :(

First time, after wiping out .offlineimap and Maildir:

-------------------8<---------------------8<-------------------
[EMAIL PROTECTED]:~/src/offlineimap/offlineimap$ ./offlineimap.py 
Thread 'Account sync softwarelivre' terminated with exception:
Traceback (most recent call last):
  File "/home/terceiro/src/offlineimap/offlineimap/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 "/home/terceiro/src/offlineimap/offlineimap/offlineimap/accounts.py", 
line 114, in syncrunner
    self.sync()
  File "/home/terceiro/src/offlineimap/offlineimap/offlineimap/accounts.py", 
line 148, in sync
    remoterepos.syncfoldersto(localrepos, [statusrepos])
  File 
"/home/terceiro/src/offlineimap/offlineimap/offlineimap/repository/Base.py", 
line 157, in syncfoldersto
    copyfolder.makefolder(key.replace(dest.getsep(), src.getsep()))
  File 
"/home/terceiro/src/offlineimap/offlineimap/offlineimap/repository/LocalStatus.py",
 line 43, in makefolder
    file = open(filename + ".tmp", "wt")
IOError: [Errno 2] No such file or directory: 
'/home/terceiro/.offlineimap/Account-softwarelivre/LocalStatus/INBOX/asl.tmp'


Last 50 debug messages logged for Account sync softwarelivre prior to exception:
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "INBOX/twikibr"
imap: dequote() returning: INBOX/twikibr
imap: dequote() called with input: INBOX/twikibr
imap: imapsplit() called with input: (\HasNoChildren) "/" 
"news/asl/fisl8/captacao"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"/"', 
'"news/asl/fisl8/captacao"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "news/asl/fisl8/captacao"
imap: dequote() returning: news/asl/fisl8/captacao
imap: imapsplit() called with input: (\HasNoChildren) "/" 
"news/asl/fisl8/comunicacao"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"/"', 
'"news/asl/fisl8/comunicacao"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "news/asl/fisl8/comunicacao"
imap: dequote() returning: news/asl/fisl8/comunicacao
imap: imapsplit() called with input: (\HasNoChildren) "/" 
"news/asl/fisl8/cultural"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"/"', 
'"news/asl/fisl8/cultural"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "news/asl/fisl8/cultural"
imap: dequote() returning: news/asl/fisl8/cultural
imap: imapsplit() called with input: (\HasNoChildren) "/" "news/asl/fisl8/infra"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"/"', 
'"news/asl/fisl8/infra"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "news/asl/fisl8/infra"
imap: dequote() returning: news/asl/fisl8/infra
imap: imapsplit() called with input: (\HasNoChildren) "/" 
"news/asl/fisl8/mobilizacao"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"/"', 
'"news/asl/fisl8/mobilizacao"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
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
-------------------8<---------------------8<-------------------

Subsequent times:

-------------------8<---------------------8<-------------------
[EMAIL PROTECTED]:~/src/offlineimap/offlineimap$ ./offlineimap.py 
Thread 'Account sync softwarelivre' terminated with exception:
Traceback (most recent call last):
  File "/home/terceiro/src/offlineimap/offlineimap/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 "/home/terceiro/src/offlineimap/offlineimap/offlineimap/accounts.py", 
line 114, in syncrunner
    self.sync()
  File "/home/terceiro/src/offlineimap/offlineimap/offlineimap/accounts.py", 
line 148, in sync
    remoterepos.syncfoldersto(localrepos, [statusrepos])
  File 
"/home/terceiro/src/offlineimap/offlineimap/offlineimap/repository/Base.py", 
line 157, in syncfoldersto
    copyfolder.makefolder(key.replace(dest.getsep(), src.getsep()))
  File 
"/home/terceiro/src/offlineimap/offlineimap/offlineimap/repository/LocalStatus.py",
 line 43, in makefolder
    file = open(filename + ".tmp", "wt")
IOError: [Errno 2] No such file or directory: 
'/home/terceiro/.offlineimap/Account-softwarelivre/LocalStatus/INBOX/cc991ufba.tmp'


Last 50 debug messages logged for Account sync softwarelivre prior to exception:
imap: imapsplit() called with input: (\HasNoChildren) "/" 
"news/asl/fisl8/captacao"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"/"', 
'"news/asl/fisl8/captacao"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "news/asl/fisl8/captacao"
imap: dequote() returning: news/asl/fisl8/captacao
imap: imapsplit() called with input: (\HasNoChildren) "/" 
"news/asl/fisl8/comunicacao"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"/"', 
'"news/asl/fisl8/comunicacao"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "news/asl/fisl8/comunicacao"
imap: dequote() returning: news/asl/fisl8/comunicacao
imap: imapsplit() called with input: (\HasNoChildren) "/" 
"news/asl/fisl8/cultural"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"/"', 
'"news/asl/fisl8/cultural"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "news/asl/fisl8/cultural"
imap: dequote() returning: news/asl/fisl8/cultural
imap: imapsplit() called with input: (\HasNoChildren) "/" "news/asl/fisl8/infra"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"/"', 
'"news/asl/fisl8/infra"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
imap: dequote() called with input: "news/asl/fisl8/infra"
imap: dequote() returning: news/asl/fisl8/infra
imap: imapsplit() called with input: (\HasNoChildren) "/" 
"news/asl/fisl8/mobilizacao"
imap: imapsplit() returning: ['(\\HasNoChildren)', '"/"', 
'"news/asl/fisl8/mobilizacao"']
imap: imapsplit() called with input: \HasNoChildren
imap: imapsplit() returning: ['\\HasNoChildren']
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 = INBOX.asl
maildir:   fullname = /home/terceiro/Maildir/INBOX.asl
maildir:   This is a maildir folder.
maildir:   foldername = INBOX.asl
maildir:   *** top of loop
maildir:   dirname = .
maildir:   fullname = /home/terceiro/Maildir/.
maildir: _GETFOLDERS_SCANDIR RETURNING ['INBOX.asl']
maildir: makefolder called with arg 'INBOX.cc991ufba'
maildir: makefolder: calling makedirs INBOX.cc991ufba
maildir: makefolder: creating cur, new, tmp
-------------------8<---------------------8<-------------------

-- 
Antonio Terceiro <[EMAIL PROTECTED]>
http://people.softwarelivre.org/~terceiro/
GnuPG ID: 0F9CB28F





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

Reply via email to