rkern / line_profiler

(OLD REPO) Line-by-line profiling for Python - Current repo ->
https://github.com/pyutils/line_profiler
Other
3.6k stars 254 forks source link

ValueError: bad marshall data (unknown type code), when profiling a Python 2.7 program #126

Closed ReddyKilowatt closed 6 years ago

ReddyKilowatt commented 6 years ago

After running kernprof -l myprogram.py --filename mydata.txt

in Python 2.7.13 on Windows 7 Pro, 64-bit

myprogram.py.lprof is written, but only contains 70 bytes. myprogram.py is fairly large and imports other python modules. I would expect that much more profiling information would be generated.

python -m pstats myprogram.py.lprof

results in

"ValueError: bad marshall data (unknown type code)"

ReddyKilowatt commented 6 years ago

Operator error.