NameError: global name 'offlineimap' is not defined
Alexander Skwar
alexanders.mailinglists+nospam at gmail.com
Tue May 31 11:57:42 BST 2011
Hi!
A few fours ago, I fetched from git git://github.com/nicolas33/offlineimap.git
the latest sources of offlineimap. Now I'm trying to use it, but please see
this (also at http://pastebin.com/WBRBExeb ):
$ ~/Apps/offlineimap/offlineimap/./offlineimap.py -c
~/Apps/offlineimap/offlineimap/offlineimaprc-sandra.conf
OfflineIMAP 6.3.4-rc1
Copyright (C) 2002 - 2010 John Goerzen <john at complete.org>
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 sndr2LocalSndr:
***** Processing account sndr2LocalSndr
Copying folder structure from IMAP to Maildir
Establishing connection to imap.gmail.com:993.
WARNING: ERROR Attempting to create folder Elfi:Traceback (most
recent call last):
File "/home/i/Apps/offlineimap/offlineimap/offlineimap/repository/Base.py",
line 147, in syncfoldersto
copyfolder.makefolder(key.replace(dest.getsep(), copyfolder.getsep()))
File "/home/i/Apps/offlineimap/offlineimap/offlineimap/repository/LocalStatus.py",
line 70, in makefolder
file.write(offlineimap.folder.LocalStatus.magicline + '\n')
NameError: global name 'offlineimap' is not defined
WARNING: ERROR Attempting to create folder
[Gmail].Papierkorb:Traceback (most recent call last):
File "/home/i/Apps/offlineimap/offlineimap/offlineimap/repository/Base.py",
line 147, in syncfoldersto
copyfolder.makefolder(key.replace(dest.getsep(), copyfolder.getsep()))
File "/home/i/Apps/offlineimap/offlineimap/offlineimap/repository/LocalStatus.py",
line 70, in makefolder
file.write(offlineimap.folder.LocalStatus.magicline + '\n')
NameError: global name 'offlineimap' is not defined
[...]
Well… What gives? ;)
You can find the offlineimaprc at http://pastebin.com/4PA5WVtc
Alexander
--
↯ Lifestream (Twitter, Blog, …) ↣ http://sup.skwar.me/ ↯
↯ Chat (Jabber/Google Talk) ↣ a at skwar.me ; Twitter: @alexs77 ↯
More information about the OfflineIMAP-project
mailing list