Problem sending emails

Help
Cam
2011-12-20
2013-05-28
  • Cam
    Cam
    2011-12-20

    Sometimes when the program tries to email a zipped log file, it gives me this error:

    Error: 1
    <type 'exceptions.WindowsError'> Exception in Tk callback
      Function: <controlpanel.Command instance at 0x015A7DA0> (type: <type 'instance'>)
      Args: ()
    Traceback (innermost last):
      File "Pmw\Pmw.pyc", line 1780, in __call__
        None
      File "controlpanel.pyc", line 375, in __call__
        None
      File "controlpanel.pyc", line 80, in initiate_timer_action
        None
      File "timerthreads.pyc", line 312, in send_email
        None
      File "timerthreads.pyc", line 233, in zip_logs
        None
      File "timerthreads.pyc", line 128, in rotate_logs
        None
      File "myutils.pyc", line 185, in doRollover
        None
    <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?

    Thanks

     
  • Swift
    Swift
    2011-12-20

    Reboot your PC and try again.

     
  • nanotube
    nanotube
    2011-12-20

    mmm, seems like some kind of locking bug - do you notice any pattern as to when that happens exactly?