[Pydev-users] [pydev - Users] Error debugging Python file with arguments
Brought to you by:
fabioz
|
From: SourceForge.net <no...@so...> - 2006-11-08 07:58:57
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4001365 By: adbingham Hi, I'm trying to debug a Python script that requires command-line arguments. I created a new run configuration with the arguments and when I click in the "Show result command-line for the given parameters" button, the command line shown is correct. However, when I click the "Debug" button, I get the following traceback in the Console panel: Traceback (most recent call last): File "/home/bingham/eclipse/plugins/org.python.pydev.debug_1.2.4/pysrc/runfile s.py", line 185, in ? PydevTestRunner(dirs, test_filter, verbosity).run_tests() File "/home/bingham/eclipse/plugins/org.python.pydev.debug_1.2.4/pysrc/runfile s.py", line 40, in __init__ self.__adjust_path() File "/home/bingham/eclipse/plugins/org.python.pydev.debug_1.2.4/pysrc/runfile s.py", line 58, in __adjust_path raise RuntimeError(msg) RuntimeError: unknown type. --some-option=somevalue should be file or a directory. Where --some-option=somevalue is the first command-line argument (there are more). What is going on? Is there a work around? Thanks, Aaron Bingham ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |