-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python3 mode #4
Comments
rixx
added a commit
to rixx/lptrace
that referenced
this issue
Oct 20, 2016
Running on Python 3.5.1 and found the same error message: |
@rakhmad, that issue is solved when you check out my branch over at https://github.com/rixx/lptrace/tree/python3. |
@rixx You were really close to getting this working. You just only missing the escape characters around the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I haven't gotten the script to work with Python3 yet. Things I did so far:
0o666
instead of0666
cmd = 'exec(open(\\"{}\\", "r").read())'.format(name)
because Python3 doesn't haveexecfile
tmp.write(script.encode())
due to bytes/string conversionI'm guessing that I'm either screwing up with bytes/strings/file reads or the Python3 interface differs in a way that doesn't raise an exception explaining the problem. Anybody with an insight here?
The text was updated successfully, but these errors were encountered: