Sometimes when the program tries to email a zipped log file, it gives me this error:
<type 'exceptions.WindowsError'> Exception in Tk callback
Function: <controlpanel.Command instance at 0x015A7DA0> (type: <type 'instance'>)
Traceback (innermost last):
File "Pmw\Pmw.pyc", line 1780, in __call__
File "controlpanel.pyc", line 375, in __call__
File "controlpanel.pyc", line 80, in initiate_timer_action
File "timerthreads.pyc", line 312, in send_email
File "timerthreads.pyc", line 233, in zip_logs
File "timerthreads.pyc", line 128, in rotate_logs
File "myutils.pyc", line 185, in doRollover
<type 'exceptions.WindowsError'>: The process cannot access the file because it is being used by another process
Any idea why this is happening and what I need to do to fix it?
Reboot your PC and try again.
mmm, seems like some kind of locking bug - do you notice any pattern as to when that happens exactly?