-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Importing numpy yields: TypeError: add_docstring() argument 2 must be str, not None #1988
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
Comments
Also reproduces with p4a.branch = stable |
Thanks for the bug report. So this is a on-device runtime error. Could you share a reproduction case with the |
This does not reproduce when the app runs from the command line (Linux). It only reproduces on Android. Repro:
|
Nice thank you! Could you now share the complete run stacktrace that you get with this example so we can see the starting line. |
@brentpicasso , seeing your buildozer.spec file I assume that You tested with outdated p4a branches:
So, I'm wondering...Is this issue reproducible with android NDK r19b and current p4a's develop branch? Note: Numpy recipe has been changed since the last published release (v2019.08.09), so this may not be an issue anymore... |
Problem also reproduces with p4a.branch = release-2019.08.09 Checking development branch. |
p4a.branch = master and ndk r19 fails to build:
|
p4a.branch = release-2019.08.09 and android.ndk = 19b also fails
|
So far py4a latest and ndk 19b fails to build. Anything else I should provide for repro? |
Ping to keep this issue alive. Have I submitted enough information? How can I help further? |
I can usually build APK OK, but I'm running on |
@brentpicasso, @AndreMiras is right, you should pass the build phase, if you don't pass it, probably it's because you have cached builds in your
@brentpicasso, thanks for reporting this issue, I'm working on a fix for that, but I must say that I think that should be fixed elsewhere (probably at numpy or cpython side) but, since I doubt that this get fixed from the mentioned repos, I will propose a solution to p4a team 😉 Thanks again man, and sorry for the delay with the response, I don't have so much time these days. Note: There is an open issue at numpy about this error here |
Great, thank you for the update. |
Versions
Description
importing numpy generates the following error when executing on Android:
09-19 11:35:14.025 21284 21846 I python : TypeError: add_docstring() argument 2 must be str, not None
09-19 11:35:14.025 21284 21846 I python : Python for android ended.
Repro:
helloworld app, with numpy imported.
buildozer.spec
Command:
Spec file:
Logs
The text was updated successfully, but these errors were encountered: