-
Notifications
You must be signed in to change notification settings - Fork 15
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.6 compatibility #6
Comments
I found that the
Looks like the package is looking for the lua files at my relative path not inside the chdkptp installation path. |
So... I forked the repo and made it compatible with python3 Just if someone find it useful, here is the repo: https://github.com/5up3rD4n1/chdkptp.py I'm closing the issue. Thanks! :) 👍 |
Could you submit a pull request with your changes? I'd love to add Python 3 support, but I haven't used the library in a a long time and no longer have access to a camera that can run chdk :/ |
Sure, no problem! |
Hi, I am using the Python3 fork of @5up3rD4n1 but after the installation I have the error |
Hello, I have a "Segmentation fault (coredumped)"
I don't think it's relevant, so I used pycharm to debug test.py.
Specially the
Next solution I tried, I removed the modification done by @5up3rD4n1, which was :
I tried the chdkptp.py python2.7, it works. To sump up, the segfault is caused by "require('chdkptp')" when the encoding is set to 'latin-1', but when there is no encoding we have the problem with the POBJECT. I would like to make it fully compatible with 3.7 and with the last chdkptp, but this segfault issue is really annoying, do you have any idea? Thank you! :) |
Hi Baiter, I'm trying to import chdkptp with python 3.6 (I know it is not supported yet) but maybe you can help me out wit this.
So, StringIO is deprecated on Python3.6 so I try to 'hack' the system modules with
and I'm getting now the following Traceback when I import chdkptp
Do you have an idea how can I solve this?
The text was updated successfully, but these errors were encountered: