Why I get a error each time cron starts
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
I have added OfflineIMAP in my crontab and in my offlineimap config file
I've set it to restart it sync every 3 minute or so. But sometimes
OfflineIMAP crashes, due to big emails because the IMAP server it syncs
with gives you easily time out, or some problem with UID... so then it
is important for me to have something that can activate it again so you
don't miss something important coming in.
I have seen that the 4.0.0 I have has a "grafic" appearance when it
starts.. this appearance seams to fail to start, because it is already
started, and ends up with that crontab sends me a mail about it.
Is it a way of coming around it, other then say to crontab to throw away
email's like that?
With regards,
Rolf
here is an exampel:
>Traceback (most recent call last):
> File "/usr/bin/offlineimap", line 21, in ?
> init.startup('4.0.0')
> File "/usr/lib/python2.2/site-packages/offlineimap/init.py", line 73, in
> startup
> ui = offlineimap.ui.detector.findUI(config, options.get('-u'))
> File "/usr/lib/python2.2/site-packages/offlineimap/ui/detector.py", line 41,
> in findUI
> if uiinstance.isusable():
> File "/usr/lib/python2.2/site-packages/offlineimap/ui/Curses.py", line 371,
> in isusable
> curses.endwin()
>_curses.error: endwin() returned ERR
>Traceback (most recent call last):
> File "/usr/bin/offlineimap", line 21, in ?
> init.startup('4.0.0')
> File "/usr/lib/python2.2/site-packages/offlineimap/init.py", line 94, in
> startup
> lock(config, ui)
> File "/usr/lib/python2.2/site-packages/offlineimap/init.py", line 37, in lock
> ui.locked()
> File "/usr/lib/python2.2/site-packages/offlineimap/ui/UIBase.py", line 132,
> in locked
> raise Exception, "Another OfflineIMAP is running with the same
> metadatadir; exiting."
>Exception: Another OfflineIMAP is running with the same metadatadir; exiting.
>
>
- Why I get a error each time cron starts,
Rolf Eric Anithason <=
|
|