[wingide-users] Using PyLint give me an error

Mike Driscoll mdriscoll at co.marshall.ia.us
Tue Jul 15 09:11:48 MDT 2008


Hi,

I just installed PyLint so I could try it from within the Wing IDE 
debugger, but I am getting a traceback when I run it. Hopefully one of 
you knowledgeable souls will know what's going on. The Messages tab had 
the following in it:

Loading script directory C:\Documents and Settings\mld\Application 
Data\Wing IDE 3\scripts
Loading script directory C:\Program Files\Wing IDE 3.1\scripts
Skipping module cvs from C:\Program Files\Wing IDE 3.1\scripts\cvs.py 
(_ignore_scripts is set)
Skipping module example from C:\Program Files\Wing IDE 
3.1\scripts\example.py (_ignore_scripts is set)
Skipping module perforce from C:\Program Files\Wing IDE 
3.1\scripts\perforce.py (_ignore_scripts is set)
Skipping module svn from C:\Program Files\Wing IDE 3.1\scripts\svn.py 
(_ignore_scripts is set)
Skipping directory templates (not a package)
Skipping module templating from C:\Program Files\Wing IDE 
3.1\scripts\templating.py (_ignore_scripts is set)
Loading script directory C:\Documents and Settings\mld\Application 
Data\Wing IDE 3\scripts
Loading script directory C:\Program Files\Wing IDE 3.1\scripts
Skipping module cvs from C:\Program Files\Wing IDE 3.1\scripts\cvs.py 
(_ignore_scripts is set)
Skipping module example from C:\Program Files\Wing IDE 
3.1\scripts\example.py (_ignore_scripts is set)
Skipping module perforce from C:\Program Files\Wing IDE 
3.1\scripts\perforce.py (_ignore_scripts is set)
Skipping module svn from C:\Program Files\Wing IDE 3.1\scripts\svn.py 
(_ignore_scripts is set)
Skipping directory templates (not a package)
Skipping module templating from C:\Program Files\Wing IDE 
3.1\scripts\templating.py (_ignore_scripts is set)
Loading script directory C:\Program Files\Wing IDE 3.1\scripts
Skipping module cvs from C:\Program Files\Wing IDE 3.1\scripts\cvs.py 
(_ignore_scripts is set)
Skipping module example from C:\Program Files\Wing IDE 
3.1\scripts\example.py (_ignore_scripts is set)
Skipping module perforce from C:\Program Files\Wing IDE 
3.1\scripts\perforce.py (_ignore_scripts is set)
Skipping module svn from C:\Program Files\Wing IDE 3.1\scripts\svn.py 
(_ignore_scripts is set)
Skipping directory templates (not a package)
Skipping module templating from C:\Program Files\Wing IDE 
3.1\scripts\templating.py (_ignore_scripts is set)
colourising entire document; can speed things up if this is not needed
Error::Error executing script 
.user.internal_script_C0x3a0x5cProgram0x20Files0x5cWing0x20IDE0x2030x2e10x5cscripts_pylintpanel.pylint_execute
Runtime failure details:
Exception: "<type 'exceptions.UnboundLocalError'>"
Value = "local variable 'arg2' referenced before assignment"
Traceback:
  File "C:\src\ide\bin\2.5\src\command\commandmgr.pyo", line 784, in Execute
  File "C:\Program Files\Wing IDE 3.1\scripts\pylintpanel.py", line 223, 
in pylint_execute
    handler = app.AsyncExecuteCommandLineE(cmd, 
os.path.split(filename)[0], env, *args)
  File "C:\Program Files\Wing IDE 3.1\bin\wingapi.py", line 672, in 
AsyncExecuteCommandLineE
    handler = spawn.CAsyncExecute(cmd, env, dirname, 10000.0, *args)
  File "C:\src\ide\bin\2.5\src\wingutils\spawn.pyo", line 1109, in __init__
  File "C:\src\ide\bin\2.5\src\wingutils\spawn.pyo", line 1028, in 
CreatePopenE
  File "C:\src\ide\bin\2.5\src\wingutils\spawn.pyo", line 896, in __init__
  File "C:\src\ide\bin\2.5\src\wingutils\spawn.pyo", line 181, in 
_win32_cmd_line_from_argv

I am using Wing IDE 3.1.2-1 (rev 18365) with Python 2.5.2 on Windows XP.

Thanks.

Mike


More information about the wingide-users mailing list