buildozer: _python_bundle does not exist...this not looks good, all python recipes should have this folder, should we expect a crash soon?
Versions
- Python: 3.9.16.
- OS: macOS 12.6.4.
- Buildozer: 1.5.0.
- Kivy: 2.1.0.
Description
- I am unable to run any application to run on Android, even the basic kivy examples, there is always this
_python_bundle does not exist
error on application run.
private.tar
contains only p4a_env_vars.txt
.
libpybundle.so
has only 60 bytes and does not contain any bundle.
- I have cleared the whole python venv and buildozer workdirs (appclean / distclean).
- Attached is the full
kivy-2.1.0/examples/android/compass
directory with build log, android logcat, and the produced apk.
- I am out of ideas help! š¦
compass.tar.gz
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 27 (26 by maintainers)
Do not worry, the release has been postponed, as weāre waiting for an update from a dependency.
(And we likely need to change our
2.3.0
plans in term of features, as we may need to move some features to a major release)I tried clean, changed project directory hello to hello.git, then build. Build completed and libpybundle.so was good.
Iām not a venv user (I use a WSL instance), so I donāt have any experience. I did have a user once tell me that a strange issue was due creating a venv one Python major version , then updating the system Python to a new major version. This is as far as I know a rumor, and outside my experience.
I went back to your build and checked the file sizes in the same was as I did for my build (above)
Which confirms your diagnosis of the symptoms. But a cause eludes me.
Here I use:
Since you are the only person to report this, it looks like it must be something site specific, but on 3 OS!!!
Do all the machines have the same
.bashrc
?Edit: can you share the result of a bash
env
?Attached is the build log from my Ubuntu build. log.txt
On Ubuntu, using the ācompassā directory provided, I tried:
Which does not match the reported symptoms.
Please post the result of doing exactly the same on MacOS.
The differences are:
I canāt see anything odd in the provided log (which does not mean that there is nothing odd there)
I canāt replicate the issue, and I know nothing about Buildozer on MacOS so I suggest asking here https://discord.gg/8MwBmCDg
In your post include the above results, and your equivalent results.