You are not logged in.
Pages: 1
I just installed offlineimap by the instructions in the mutt wiki article, and I got this error:
/usr/lib/python2.6/site-packages/offlineimap/folder/Maildir.py:23: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import os.path, os, re, time, socket, md5
Thread 'Account sync google' terminated with exception:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/offlineimap/threadutil.py", line 149, in run
Thread.run(self)
File "/usr/lib/python2.6/threading.py", line 477, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.6/site-packages/offlineimap/accounts.py", line 113, in syncrunner
self.sync()
File "/usr/lib/python2.6/site-packages/offlineimap/accounts.py", line 142, in sync
remoterepos.syncfoldersto(localrepos, [statusrepos])
File "/usr/lib/python2.6/site-packages/offlineimap/repository/Base.py", line 135, in syncfoldersto
srcfolders = src.getfolders()
File "/usr/lib/python2.6/site-packages/offlineimap/repository/IMAP.py", line 194, in getfolders
imapobj = self.imapserver.acquireconnection()
File "/usr/lib/python2.6/site-packages/offlineimap/imapserver.py", line 227, in acquireconnection
imapobj = UsefulIMAP4(self.hostname, self.port)
File "/usr/lib/python2.6/imaplib.py", line 163, in __init__
self.open(host, port)
File "/usr/lib/python2.6/site-packages/offlineimap/imapserver.py", line 61, in open
imaplibutil.new_open(self, host, port)
File "/usr/lib/python2.6/site-packages/offlineimap/imaplibutil.py", line 123, in new_open
socket.SOCK_STREAM)
gaierror: [Errno -2] Name or service not known
Last 1 debug messages logged for Account sync google prior to exception:
maildir: MaildirRepository initialized, sep is '.'
shell returned 100
Here is my config file:
[general]
accounts = google
ui = Noninteractive.Quiet
[Account google]
localrepository = googleLocal
remoterepository = googleRemote
autorefresh = 30
[Repository googleLocal]
type = Maildir
localfolders = ~/.mail
[Repository googleRemote]
type = IMAP
ssl = no
remotehost = imap.google.com
remoteuser = *@gmail.com
remotepass = *
realdelete = no
Last edited by Lexion (2009-04-14 18:28:08)
urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand
Offline
Change your password now.
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
Thank you, this is what I get for posting before I go to bed.
Bugger.
urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand
Offline
silly question, does ~/.mail exist? also feel free to use my config and see if you get better results:
[general]
ui = Noninteractive.Quiet
accounts = GMail
[Account GMail]
localrepository = Local
remoterepository = Remote
autorefresh = 1
quick = 10
[Repository Local]
type = Maildir
localfolders = ~/.mail
[Repository Remote]
type = Gmail
remoteuser = *@gmail.com
remotepass = *
realdelete = no
edit: fwiw, iirc, (acronyms ftw!) google's imap required a few extra ssl / port settings in offlineimaprc. that's probably why yours is failing; and that's also why offlineimap introduced the Gmail type that i use above. it takes care of all that and should work best.
Last edited by brisbin33 (2009-04-14 14:25:27)
//github/
Offline
It got farther. Yes I do have a ~/.mail directory.
/usr/lib/python2.6/site-packages/offlineimap/folder/Maildir.py:23: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import os.path, os, re, time, socket, md5
/usr/lib/python2.6/site-packages/offlineimap/imaplibutil.py:172: DeprecationWarning: socket.ssl() is deprecated. Use ssl.wrap_socket() instead.
self.sslobj = socket.ssl(self.sock._sock, self.keyfile, self.certfile)
Thread 'Account sync google' terminated with exception:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/offlineimap/threadutil.py", line 149, in run
Thread.run(self)
File "/usr/lib/python2.6/threading.py", line 477, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.6/site-packages/offlineimap/accounts.py", line 113, in syncrunner
self.sync()
File "/usr/lib/python2.6/site-packages/offlineimap/accounts.py", line 142, in sync
remoterepos.syncfoldersto(localrepos, [statusrepos])
File "/usr/lib/python2.6/site-packages/offlineimap/repository/Base.py", line 135, in syncfoldersto
srcfolders = src.getfolders()
File "/usr/lib/python2.6/site-packages/offlineimap/repository/IMAP.py", line 194, in getfolders
imapobj = self.imapserver.acquireconnection()
File "/usr/lib/python2.6/site-packages/offlineimap/imapserver.py", line 255, in acquireconnection
self.plainauth(imapobj)
File "/usr/lib/python2.6/site-packages/offlineimap/imapserver.py", line 152, in plainauth
imapobj.login(self.username, self.getpassword())
File "/usr/lib/python2.6/site-packages/offlineimap/imapserver.py", line 115, in getpassword
self.passworderror)
File "/usr/lib/python2.6/site-packages/offlineimap/ui/Noninteractive.py", line 24, in getpass
raise NotImplementedError, "Prompting for a password is not supported in noninteractive mode."
NotImplementedError: Prompting for a password is not supported in noninteractive mode.
Last 3 debug messages logged for Account sync google prior to exception:
maildir: MaildirRepository initialized, sep is '.'
imap: Attempting plain authentication
imap: Attempting plain authentication
urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand
Offline
I forgot to change my config when I changed my password. Thank you.
Although this thread was meant to help me with this problem, I think I need help with getting more sleep.
urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand
Offline
Pages: 1