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

Compilation error, previously worked #1846

Closed
spartero opened this issue Jun 8, 2019 · 4 comments
Closed

Compilation error, previously worked #1846

spartero opened this issue Jun 8, 2019 · 4 comments

Comments

@spartero
Copy link

spartero commented Jun 8, 2019

Today I had to update the python code of my app flask (it has only been the inclusion of a new html page) and I have not managed to compile the apk. I used to do it without problems.
I made a distclean buildozer, as I had read in other entries, but still giving errors

  • Python: 3.6.7
  • OS: neon 18.04
  • Cython: 0.28.6

The configuration file is the same as the one previously obtained by the apk. I've even tried to generate a new configuration file.

I enclose the log in a file as it is too large

error.txt

@AndreMiras
Copy link
Member

Don't you have a syntax error in your source code?

[INFO]:    -> directory context /home/ubuntu/appsanelectric/.buildozer/android/platform/build/dists/myapp
Listing '/tmp/p4a-extra-env-d54v5ph0'...
Listing '/home/ubuntu/appsanelectric/.buildozer/android/app'...
Listing '/home/ubuntu/appsanelectric/.buildozer/android/app/_applibs'...
Compiling '/home/ubuntu/appsanelectric/.buildozer/android/app/main.py'...
***   File "/home/ubuntu/appsanelectric/.buildozer/android/app/main.py", line 113
    h = bbdd('cinta_aislante')https://github.com/kivy/python-for-android.git
                                  ^
SyntaxError: invalid syntax

Compiling '/home/ubuntu/appsanelectric/.buildozer/android/app/sitecustomize.py'...

Is it possible to share the source?

@spartero
Copy link
Author

spartero commented Jun 8, 2019

thanks for answering. I had not seen that error, I check my code. And I tell you something.

@spartero
Copy link
Author

spartero commented Jun 8, 2019

You had all the reason, had a part of the code that prevented the compilation of the apk. Although I still do not know why the app does not work on android 6 #1801

@spartero spartero closed this as completed Jun 8, 2019
@AndreMiras
Copy link
Member

Thanks for keeping us updated

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

2 participants