mdeng1024 / winpdb

Automatically exported from code.google.com/p/winpdb
0 stars 1 forks source link

"Failed to find script" when attempting to open script on Ubuntu 13.10 #36

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. apt-get install winpdb or install winpdb 1.4.8 with setup.py on Ubuntu 13.10 
2. Attempt to open any python script - ensuring it's executable - via winpdb 
GUI or running winpdb with script as argument.
3. Copy a script into /usr/local/lib/python2.7/dist-packages & cd into it to 
check paths aren't the problem.

What is the expected output?
Debugger starts.
What do you see instead?
*** Starting debuggee...
*** Failed to find script.

Original issue reported on code.google.com by bironely...@gmail.com on 3 Apr 2014 at 6:51

GoogleCodeExporter commented 8 years ago
Confitmed: I have the identical problem in OpenMandriva trying to run a script 
from /usr/bin/

Original comment by om.qass...@gmail.com on 26 Nov 2014 at 1:53

GoogleCodeExporter commented 8 years ago
I had the same problem and it was caused by the xfce4-terminal. This terminal 
doesn't have the -c option/parameter that winpdb uses.
I could simply circumvent this by using the -s option of winpdb that makes it 
use screen instead, e.g.

winpdb -s scripttodebug.py

Original comment by the.inca...@googlemail.com on 6 Mar 2015 at 7:50