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

"NoBackendError: No backend available": Pyusb recipe for android #740

Closed
abhigenie92 opened this issue May 12, 2016 · 1 comment
Closed

Comments

@abhigenie92
Copy link

abhigenie92 commented May 12, 2016

My doubt is with respect to the recipe mentioned for pyusb (https://github.com/kivy/python-for-android/tree/master/pythonforandroid/recipes/kivy). I am getting this error while runnning
adb logcat:

D/InputReader( 3351): Input event: value=1
I/InputReader( 3351): Touch event's action is 0x0 (deviceType=0) [pCnt=1, s=0.3142 ] when=28963589313000
D/InputReader( 3351): lastThreadEndTime = 28958059026118, currentThreadStartTime = 28958059039868
I/InputDispatcher( 3351): Delivering touch to (8952): action: 0x0, toolType: 1
D/ViewRootImpl( 8952): ViewPostImeInputStage ACTION_DOWN
D/InputReader( 3351): Input event: value=0
I/InputReader( 3351): Touch event's action is 0x1 (deviceType=0) [pCnt=1, s=] when=28963684250000
I/InputDispatcher( 3351): Delivering touch to (8952): action: 0x1, toolType: 1
I/python  ( 8952):  Traceback (most recent call last):
I/python  ( 8952):    File "/home/abhishek/Desktop/pyusbwhiteboard/android_app/.buildozer/android/app/connected_screen.py", line 20, in start_server
I/python  ( 8952):    File "/home/abhishek/Desktop/pyusbwhiteboard/android_app/.buildozer/android/app/connected_screen.py", line 41, in grab_data
I/python  ( 8952):    File "/home/abhishek/Desktop/pyusbwhiteboard/android_app/.buildozer/android/app/_applibs/usb/core.py", line 1263, in find
I/python  ( 8952):  NoBackendError: No backend available
I/python  ( 8952): None
D/SSRM:n  ( 3351): SIOP:: AP = 320, PST = 308 (W:22), CUR = 58, LCD = 235

The issues(https://github.com/walac/pyusb/issues/26#issuecomment-29665057 and https://github.com/walac/pyusb/pull/29) suggests that it cannot locate the libusb 1.0.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@inclement
Copy link
Member

This seems to be because libusb just isn't available on Android. I'm not sure what the solution is, if any, but it probably isn't actually a p4a build issue.

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

2 participants