Package: offlineimap
Version: 6.0.3
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hiya,

starting from "bare metal" while i am playing with getting this set up, i want
to have a layout with a ~/mail directory containing a subdirectory for each
account (i.e. each remote imap account that i have).

therefore i have something like the following config for each local repository:

[Repository SeaniusLocal]
type = Maildir
localfolders = ~/mail/seanius.net
sep = /

and if ~/mail does not exist, offlineimap dies with a stack trace probably the
result of using os.mkdir() instead of os.makedirs() (as seen below)

the workaround is simple enough, but so is the fix, i'm guessing :)

  sean


***** Processing account seanius.net
Thread 'Account sync seanius.net' terminated with exception:
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/offlineimap/threadutil.py", line 149, 
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 102, 
in syncrunner
    self.localrepos = 
offlineimap.repository.Base.LoadRepository(self.getconf('localrepository'), 
self, 'local')
  File "/var/lib/python-support/python2.5/offlineimap/repository/Base.py", line 
37, in LoadRepository
    return typemap[repostype](name, account)
  File "/var/lib/python-support/python2.5/offlineimap/repository/Maildir.py", 
line 40, in __init__
    os.mkdir(self.root, 0700)
OSError: [Errno 2] No such file or directory: '/home/sean/mail/seanius.net'


Last 1 debug messages logged for Account sync seanius.net prior to exception:
maildir: MaildirRepository initialized, sep is '/'


- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

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

offlineimap recommends no packages.

Versions of packages offlineimap suggests:
pn  python-kerberos               <none>     (no description available)

- -- no debconf information

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

iD8DBQFI06wLynjLPm522B0RAntyAJ4vQbD+YFZ34ScsH0GghFA8IPo6GACfQ9y6
cEsmdpptbuRXkkB9sBa5eSw=
=qfZ6
-----END PGP SIGNATURE-----



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

Reply via email to