p1tr fails when 'wtf' executable is not in path

Bug #227930 reported by Michael Otteneder on 2008-05-07
Affects Status Importance Assigned to Milestone
Michael Otteneder

Bug Description

Traceback (most recent call last):
  File "bot.py", line 58, in <module>
  File "bot.py", line 43, in main
    plugs = plugins.PluginLoader().load_plugins()
  File "/Users/mc/dev/p1tr/lib/plugins.py", line 34, in load_plugins
    mod_name.capitalize() + 'Plugin')())
  File "/Users/mc/dev/p1tr/plugins/unix.py", line 29, in __init__
    if self._get_output('wtf', False, False):
  File "/Users/mc/dev/p1tr/lib/plugin.py", line 109, in _get_output
    return bool(subprocess.Popen(command))
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/subprocess.py", line 593, in __init__
    errread, errwrite)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/subprocess.py", line 1079, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory[21:30:07] INFO: None

Michael Otteneder (m-otteneder) wrote :

fixed via revision #123

Changed in p1tr:
assignee: nobody → m-otteneder
importance: Undecided → Medium
milestone: none → beta
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers