Ticket #642 (closed: fixed)

Opened 9 months ago

Last modified 9 months ago

Race condition in mw-watch (causing crash)

Reported by: jojo Owned by: jojo
Priority: urgent Milestone:
Component: mwlib Severity: crash
Keywords: Cc:

Description

Traceback (most recent call last):
  File "/home/mwlib/py25/bin/mw-watch", line 8, in <module>
    load_entry_point('mwlib==0.11.3.dev', 'console_scripts', 'mw-watch')()
  File "/home/mwlib/py25/lib/python2.5/site-packages/mwlib-0.11.3.dev-py2.5-linux-x86_64.egg/mwlib/apps/watch.py", line 48, in main
    max_num_jobs=options.num_jobs,
  File "/home/mwlib/py25/lib/python2.5/site-packages/mwlib-0.11.3.dev-py2.5-linux-x86_64.egg/mwlib/filequeue.py", line 40, in run_forever
    filename = self.poll()
  File "/home/mwlib/py25/lib/python2.5/site-packages/mwlib-0.11.3.dev-py2.5-linux-x86_64.egg/mwlib/filequeue.py", line 65, in poll
    heapq.heappush(files, (os.stat(path).st_mtime, filename))
OSError: [Errno 2] No such file or directory: '/opt/mwlib/var/cache/mw-watch/q/6f1c25be245a068a.job.tmp'

Change History

Changed 9 months ago by jojo

Note: this has already been quick-fixed on pdf1.

Changed 9 months ago by jojo

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.