-
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
libzmq recipe compiling error #1802
Comments
I confirm the bug, tested with Docker and the following p4a command:
Error was:
Complete log:
|
@hpsaturn the libzmq looks definitely broken and outdated. If you want to give it a try |
I submitted a pull request that fixed this bug, but I have a new issue in [INFO]: Building pyzmq for armeabi-v7a
[INFO]: zmq apparently isn't already in site-packages
Traceback (most recent call last):
File "/home/avp/src/admobilize/admprovider/venv/bin/p4a", line 11, in <module>
load_entry_point('python-for-android==0.7.1', 'console_scripts', 'p4a')()
File "/home/avp/src/admobilize/admprovider/venv/lib/python3.6/site-packages/pythonforandroid/toolchain.py", line 1075, in main
ToolchainCL()
File "/home/avp/src/admobilize/admprovider/venv/lib/python3.6/site-packages/pythonforandroid/toolchain.py", line 577, in __init__
getattr(self, args.subparser_name.replace('-', '_'))(args)
File "/home/avp/src/admobilize/admprovider/venv/lib/python3.6/site-packages/pythonforandroid/toolchain.py", line 151, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/home/avp/src/admobilize/admprovider/venv/lib/python3.6/site-packages/pythonforandroid/toolchain.py", line 200, in build_dist_from_args
build_recipes(build_order, python_modules, ctx)
File "/home/avp/src/admobilize/admprovider/venv/lib/python3.6/site-packages/pythonforandroid/build.py", line 562, in build_recipes
recipe.build_arch(arch)
File "/home/avp/src/admobilize/admprovider/venv/lib/python3.6/site-packages/pythonforandroid/recipe.py", line 986, in build_arch
self.build_cython_components(arch)
File "/home/avp/src/admobilize/admprovider/venv/lib/python3.6/site-packages/pythonforandroid/recipes/pyzmq/__init__.py", line 46, in build_cython_components
""".format(libzmq_prefix))
TypeError: a bytes-like object is required, not 'str' |
Thanks for the PR and the error log. That last one should be trivial enough to fix I hope. I'd like to reproduce it locally and then see if we can reproduce in a unit test before fixing it.
|
Yes, |
Fixed in #1803 thanks for the contribution. |
i have the same issue, i raised an issue in buildozer, number 1333 the .encode() function already exists in latest versin of buildozer, can u take a look please |
Versions
Description
I have a similar issue that this but with libzmq recipe on current master code:
line execution:
exported vars:
ndkversion
: android-ndk-r17cerror lines output:
runned over this source code:
https://github.com/matrix-io/malos-python.git
Many thanks for any help
The text was updated successfully, but these errors were encountered: