Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Converter does not work with Python 3.5.5 #11

Closed
aregm opened this issue Jan 4, 2019 · 1 comment
Closed

Converter does not work with Python 3.5.5 #11

aregm opened this issue Jan 4, 2019 · 1 comment
Assignees

Comments

@aregm
Copy link

aregm commented Jan 4, 2019

(cudf) user@host:/pysamprof/pyext$ PYTHONPATH=../../pysamprof/3rd_party/protobuf/python/ python ../../pysamprof/trace_writer/python/raw2pprof.py --raw ./result/trace/30920.0.raw --symbols ./result/trace/30920.0.symraw --out ./result/pprof_out/trace.pprof --resolve
Traceback (most recent call last):
File "../../pysamprof/trace_writer/python/raw2pprof.py", line 16, in
TYPE_UNDERFINEDF, TYPE_SAMPLE, TYPE_FUNCTION_INFO, TYPE_MAPPING = [struct.unpack('>i', tag)[0] for tag in 'UNDF SMPL FNCI MAPP'.split()]
File "../../pysamprof/trace_writer/python/raw2pprof.py", line 16, in
TYPE_UNDERFINEDF, TYPE_SAMPLE, TYPE_FUNCTION_INFO, TYPE_MAPPING = [struct.unpack('>i', tag)[0] for tag in 'UNDF SMPL FNCI MAPP'.split()]
TypeError: a bytes-like object is required, not 'str'

@vnlitvinov
Copy link
Contributor

Closed by #12

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants