-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Issue #1414 resolution no working. Pinning pyjnius does not fix. #1589
Comments
Forgot my log... New Issue sudo p4a create --dist_name=pyLogix --bootstrap=sdl2 --requirements=python,kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/kivy/pyLogix/.buildozer/android/platform/build" --android-api 23 --ndk-version 18b --ndk-dir=".buildozer/android/platform/android-ndk-r18b" --force-build RAN: /usr/bin/patch -t -d /home/kivy/pyLogix/.buildozer/android/platform/build/build/other_builds/pyjnius-python2-sdl2/armeabi-v7a/pyjnius -p1 -i /usr/local/lib/python2.7/dist-packages/pythonforandroid/recipes/pyjnius/sdl2_jnienv_getter.patch STDOUT: STDERR: patching file jnius/jnius_jvm_android.pxi Traceback (most recent call last): RAN: /usr/bin/patch -t -d /home/kivy/pyLogix/.buildozer/android/platform/build/build/other_builds/pyjnius-python2-sdl2/armeabi-v7a/pyjnius -p1 -i /usr/local/lib/python2.7/dist-packages/pythonforandroid/recipes/pyjnius/sdl2_jnienv_getter.patch STDOUT: STDERR: |
FYI, |
What's happening is basically p4a not using recipe, but fetching the source from PyPI instead which it should not be doing. Sources on PyPI do not contain the patches, the recipe does, therefore the build would fail anyway even if |
Try to add |
Thanks for the suggestions. I tried that once with no success but I forget the outcome. I will add it to my requires and re-run and send the response. |
I ran buildozer clean and then debug and this was the result......
|
Sorry, I dont know why it's got a bunch of bold text in the message. I trying it again with the requires set to python2 and/or hostpython2 because it looks like the recipe is being created for multiple setups. "INFO: Found multiple valid dependency orders: |
same issue with python2/hostpython2 |
Hello.
Usageg predcompiled file: |
I'm not clear what exactly is wrong here, is pyjnius not working at all for you even with python-for-android master and pyjnius master? It seems to be working fine in general. |
I am not sure what went wrong with this install. I ended up just clearing my VM and starting a new one. I ended up getting a successful build on the buildozer VM that is available from the website and just changed the SDK NDK settings in the spec. I then replicated all the software settings in another version of Ubuntu 18, making sure all my software versions were identical to the Kubuntu VM from buildozer. Both VMs now seem to be working. Thank you for the assistance though. I am glad to see that some devs are still active on these projects. |
I think I understood what the problem is. |
Leaving open because of the feature request to detect and fail properly on interrupted downloads. |
Versions
Description
This issue was raised previously in #1414 however the resolution was not effective. I pinned my version of pyjnius to no avail. I also tried installing and pinning version 1.1.2 but that version does no appear to be available. Installing that version give the following error.
pip install pyjnius==1.1.2
Collecting pyjnius==1.1.2
Could not find a version that satisfies the requirement pyjnius==1.1.2 (from versions: 1.1.1, 1.1.3, 1.1.4)
No matching distribution found for pyjnius==1.1.2
I get the same fault as #1414 no matter what versions I used for Cython or pyjnius.
buildozer.spec
Command:
Spec file:
Logs
The text was updated successfully, but these errors were encountered: