trace.py cannot find script after reading from it?
Mathias Koerber
mathias at koerber.org
Wed Feb 26 04:38:45 EST 2003
I have a problem with trace.py and would like to find out what could be
the reason. Python is 2.1.1
In short, trace.py seems to be able to open the script I specify on the
commandline but after importing paths it claims that that script file
does not exist!
I have tried setting PYTHONPATH to ".", the full name of the
local directory etc without avail.
Any help is appreciated.
$ python trace.py --trace ./MK_add-members.py <args>
__main__(0): ??
__main__(1): ??
MK_add-members.py(0): main()
MK_add-members.py(87): """
MK_add-members.py(89): import sys
MK_add-members.py(90): import os
MK_add-members.py(91): import string
MK_add-members.py(92): import getopt
MK_add-members.py(93): import paths
./MK_add-members.py: Cannot run file './MK_add-members.py' because: No such
file or directory
#
More information about the Python-list
mailing list