pulb/mailnag — Issue #29: Mailnag works only sometimes
Author: simonbcn
Created: 2011-12-12 14:13:00+00:00
State: open

Ubuntu 11.10 64 bits with Gnome-shell

Mailnag only reports new messages sometimes.

mailnag.log:
```(mailnag.py:3495): Gtk-WARNING **: Theme parsing error: gtk.css:55:40: Missing opening bracket in color definition
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed
import gobject._gobject
Checking email accounts at: Mon Dec 12 14:39:35 2011
Checking email accounts at: Mon Dec 12 14:44:45 2011
Checking email accounts at: Mon Dec 12 14:44:54 2011
Checking email accounts at: Mon Dec 12 14:45:03 2011
Checking email accounts at: Mon Dec 12 14:45:12 2011
46:00.21 imap.gmail.com reader last 20 log messages:
46:00.21 imap.gmail.com handler last 20 log messages:
Exception in thread Thread-28:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/simon/sources/mailnag/Mailnag/daemon/idler.py", line 62, in _idle
self._conn.idle(callback=callback)
File "/home/simon/sources/mailnag/Mailnag/daemon/imaplib2.py", line 800, in idle
return self._simple_command(name, **kw)
File "/home/simon/sources/mailnag/Mailnag/daemon/imaplib2.py", line 1582, in _simple_command
self._command(name, *args, callback=self._command_completer, cb_arg=kw, cb_self=True)
File "/home/simon/sources/mailnag/Mailnag/daemon/imaplib2.py", line 1316, in _command
ok, data = crqb.get_response('command: %s => %%s' % name)
File "/home/simon/sources/mailnag/Mailnag/daemon/imaplib2.py", line 173, in get_response
raise typ(exc_fmt % str(val))
abort: command: IDLE => socket error: - [Errno 104] Connection reset by peer

54:55.38 imap.gmail.com reader last 20 log messages:
54:55.39 imap.gmail.com handler last 20 log messages:
Checking email accounts at: Mon Dec 12 14:54:55 2011
Exception in thread Thread-16:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/simon/sources/mailnag/Mailnag/daemon/idler.py", line 62, in _idle
self._conn.idle(callback=callback)
File "/home/simon/sources/mailnag/Mailnag/daemon/imaplib2.py", line 800, in idle
return self._simple_command(name, **kw)
File "/home/simon/sources/mailnag/Mailnag/daemon/imaplib2.py", line 1582, in _simple_command
self._command(name, *args, callback=self._command_completer, cb_arg=kw, cb_self=True)
File "/home/simon/sources/mailnag/Mailnag/daemon/imaplib2.py", line 1282, in _command
raise self.abort('connection closed')
abort: connection closed

55:04.59 imap.gmail.com reader last 20 log messages:
55:04.62 imap.gmail.com handler last 20 log messages:
55:12.79 imap.gmail.com reader last 20 log messages:
55:12.79 imap.gmail.com handler last 20 log messages:
Checking email accounts at: Mon Dec 12 14:55:04 2011
Exception in thread Thread-20:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/simon/sources/mailnag/Mailnag/daemon/idler.py", line 62, in _idle
self._conn.idle(callback=callback)
File "/home/simon/sources/mailnag/Mailnag/daemon/imaplib2.py", line 800, in idle
return self._simple_command(name, **kw)
File "/home/simon/sources/mailnag/Mailnag/daemon/imaplib2.py", line 1582, in _simple_command
self._command(name, *args, callback=self._command_completer, cb_arg=kw, cb_self=True)
File "/home/simon/sources/mailnag/Mailnag/daemon/imaplib2.py", line 1282, in _command
raise self.abort('connection closed')
abort: connection closed

Checking email accounts at: Mon Dec 12 14:55:12 2011
Exception in thread Thread-24:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/simon/sources/mailnag/Mailnag/daemon/idler.py", line 62, in _idle
self._conn.idle(callback=callback)
File "/home/simon/sources/mailnag/Mailnag/daemon/imaplib2.py", line 800, in idle
return self._simple_command(name, **kw)
File "/home/simon/sources/mailnag/Mailnag/daemon/imaplib2.py", line 1582, in _simple_command
self._command(name, *args, callback=self._command_completer, cb_arg=kw, cb_self=True)
File "/home/simon/sources/mailnag/Mailnag/daemon/imaplib2.py", line 1282, in _command
raise self.abort('connection closed')
abort: connection closed```