-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
AttributeError: 'Context' object has no attribute 'hostpython' #620
Comments
I think this relates to a known bug where the hostpython recipe is not included. You can work around it by adding Also, don't use |
Thank you! :) Is there a bug open for this already which i missed? Or should we leave this one open until this gets fixed? |
@kived can you reopen this issue if it is not a duplicate? |
Sorry, thought this was caused by using |
Can confirm that adding 'hostpython2' in requirements solved this for me. |
Should be fixed by #641 |
@inclement this occurred again, on OSX 10.11.5 |
Thanks, I'm aware of the problem appearing again. If you have an example, would you be able to open a new issue with the log if there isn't one already - it would be useful to have a test case. |
@inclement sure. |
EDIT: Welp, I manually added Still breaks on a clean install on Arch.
I edit buildozer.spec slightly, with the following changes:
Then, I run:
It fails and tells me to install API level 19:
I install the necessary build tools and SDK using the SDK manager tool Rerunning
|
Good to hear. Thanks for the feedback.
Cheers
Richard
…On Mon, Aug 13, 2018 at 8:06 PM Santiago Ruiz-Valdepeñas < ***@***.***> wrote:
I encountered this same error after a *Kivy/Buildozer Virtual Machine*
reinstall, even with hostpython2 in the requirements.
Turned out I hadn't updated buildozer, as the documentation in the Virtual
Machine indicates:
sudo pip install -U buildozer
*All working well now!*
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#620 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADYDK32MlMD1A0l02UpYvu1j16-63gJZks5uQcAcgaJpZM4HSYMt>
.
--
Richard Larkin
--------------------
The Zen of Kivy: Open Source, cross platform, full stack. Mobile and
desktop.
http://kivy.org/
<http://www.camiweb.com/zenkey>
|
Running this on OS X 10.11.3
p4a apk --requirements=kivysdl2 --private /tmp/test --package=org.test.test--name="test" --version=0.1 --bootstrap=sdl2 --android_api 19
I get the following error:
The text was updated successfully, but these errors were encountered: