Bugs item #1812794, was opened at 2007-10-13 14:02 Message generated for change (Comment added) made by alleborgo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1812794...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: other Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: André Malafaya Baptista (malafaya) Assigned to: Nobody/Anonymous (nobody) Summary: warnfile.py crashes on start
Initial Comment: When I start warnfile.py, immediately I get a crash:
-----
warnfile.py warnfile.log
Checked for running processes. 4 processes currently running, including the current process. Traceback (most recent call last): File "D:\Work\pywikipediabot-HEAD\pywikipedia\warnfile.py", line 133, in <module> main() File "D:\Work\pywikipediabot-HEAD\pywikipedia\warnfile.py", line 118, in main if os.path.isabs(arg): NameError: global name 'os' is not defined -----
All my source files are at revision 4443 (as of today). I tried a version of the source file prior to September and it works fine.
----------------------------------------------------------------------
Comment By: Alleborgo (alleborgo) Date: 2007-10-13 14:06
Message: Logged In: YES user_id=1898409 Originator: NO
add:
import os
at line 22 to solve the problem ;D
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1812794...