Skip to content
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

complie platform failed #580

Closed
pyatang opened this issue Oct 26, 2017 · 7 comments
Closed

complie platform failed #580

pyatang opened this issue Oct 26, 2017 · 7 comments

Comments

@pyatang
Copy link

pyatang commented Oct 26, 2017

OSX 12.13

# Check application requirements
# Check garden requirements
# Compile platform
# Command failed: /usr/local/opt/python/bin/python2.7 -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir=/Users/tanglongyang/Downloads/webapp/cgi-bin/.buildozer/android/platform/build
# 
# Buildozer failed to execute the last command
# If the error is not obvious, please raise the log_level to 2
# and retry the latest command.
# In case of a bug report, please add a full log with log_level = 2

is there something wrong ?

@inclement
Copy link
Member

inclement commented Oct 26, 2017

# Buildozer failed to execute the last command
# If the error is not obvious, please raise the log_level to 2
# and retry the latest command.
# In case of a bug report, please add a full log with log_level = 2

Please follow the instructions you pasted.

@inclement
Copy link
Member

I think this error occurs with cython 0.27. Is that what you're using? If so, please downgrade to 0.26 until the fix for this is merged in Kivy master.

@pyatang
Copy link
Author

pyatang commented Oct 26, 2017

`Error compiling Cython file:

...
cdef:
bcm.DISPMANX_UPDATE_HANDLE_T hdl
bcm.UpdateHandle U
hdl = bcm.vc_dispmanx_update_start( priority )
if hdl == 0:
raise bcm.BCMDisplayException("Couldn't open handle to update-start")
^

kivy/lib/vidcore_lite/egl.pyx:619:17: cimported module has no attribute 'BCMDisplayException'

STDERR:`

something details, maybe it will work

cython -V
0.27.2

@pyatang
Copy link
Author

pyatang commented Oct 26, 2017

It still happen when cython 0.26

kivy/lib/vidcore_lite/egl.pyx:608:17: cimported module has no attribute 'BCMDisplayException'

Error compiling Cython file:

...
cdef:
bcm.DISPMANX_UPDATE_HANDLE_T hdl
bcm.UpdateHandle U
hdl = bcm.vc_dispmanx_update_start( priority )
if hdl == 0:
raise bcm.BCMDisplayException("Couldn't open handle to update-start")
^

@inclement
Copy link
Member

Did you clean everything before trying again with cython 0.26? It may be worth doing so.

@pyatang
Copy link
Author

pyatang commented Oct 26, 2017

I delete .buildozer and buildozer.spec then buildozer init && buildozer android debug deploy run
now it still occur the same question which i posted. - -

@akshayaurora
Copy link
Member

In your buildozer.spec make sure

p4a.branch = master

is set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants