Skip to content
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

JavaException: JVM exception occurred: Fail to connect to camera service #1943

Closed
surbhicis opened this issue Jul 30, 2019 · 6 comments
Closed

Comments

@surbhicis
Copy link
Contributor

JavaException: JVM exception occurred: Fail to connect to camera service

Screenshot from 2019-07-30 18-13-31

@AndreMiras
Copy link
Member

Yes this is because you need to ask for runtime permissions.

@surbhicis
Copy link
Contributor Author

surbhicis commented Dec 16, 2019

@AndreMiras I need this workable for python 2 as my source code is in python2.7 I am using zbarcam repo for QR code scanner ,the runtime permission issue is fixed in p4a and zbarcam but the support for python2 permission issue is not there.

@AndreMiras
Copy link
Member

Hi @surbhicis we don't have the resource to maintain Python2 in p4a.
Python2 is going officially unmaintained very soon https://pythonclock.org/
How about updating your code to be Python3 compatible?

@surbhicis
Copy link
Contributor Author

@AndreMiras it will take month to accompalish and I spent year in making source code and if goes for converting it will take more time and I need to have my demo near ,I have implemented everything in kivy using p4a for python2 just QRCode scanner needed

@AndreMiras
Copy link
Member

It actually takes us quite some efforts to maintain python2 compatibility, p4a is 15K lines of code. Maintaining Python2, slows down CI, can introduce bugs, slow down development and debugging process. Plus it's not fun for us to work with deprecated software. Keep in mind we're doing it in our free time.
If you're software is open source and you're lucky maybe people would help you in migrating to Python3 (things like this happen sometimes AndreMiras/GuyPS#2).

@Julian-O
Copy link
Contributor

Python2 is no longer supported. Closing as Not Planned.

@Julian-O Julian-O closed this as not planned Won't fix, can't repro, duplicate, stale Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants