khamidou / lptrace

Trace any Python program, anywhere!
http://khamidou.com/lptrace/
GNU General Public License v3.0
699 stars 43 forks source link

Funky Zero length field name error. #6

Open Ryanb58 opened 7 years ago

Ryanb58 commented 7 years ago
Traceback (most recent call last):
  File "lptrace", line 116, in <module>
    main()
  File "lptrace", line 112, in main
    strace(pid)
  File "lptrace", line 50, in strace
    runfile(pid, trace_code)
  File "lptrace", line 39, in runfile
    cmd = 'execfile(\\"{}\\")'.format(name)
ValueError: zero length field name in forma

I went through the instructions in your README and this error was returned. Any thoughts?

khamidou commented 7 years ago

Hi there! Thanks for taking the time to fill out a bug. This could be an issue for old versions of Python. Are you on Python 2.6 by any chance?

Ryanb58 commented 7 years ago

@khamidou I am actually running python 2.7.2.