error compiling with buildozer: list index out of range
I tried to build an app in buildozer and receive this error. Don't know if this is because when buildozer compiles uses python 2.7 (when should use 3.6 ) or because I need edit some line in an archive in the python package ( search in this page for my error and found similar cases but not equals )
The error is
>
joel@joel-N68S3:~/apps/prueba$ buildozer -v android debug
Check configuration tokens
Ensure build layout
Check configuration tokens
Read available permissions from api-versions.xml
Preparing build
Check requirements for android
Run 'dpkg --version'
Cwd None
Programa de gestión de paquetes de Debian `dpkg' versión 1.19.0.5 (amd64).
Esto es software libre; consulte la Licencia Pública General de GNU versión
2 o posterior para conocer las condiciones de copia. No hay NINGUNA
garantía.
Search for Git (git)
-> found at /usr/bin/git
Search for Cython (cython)
-> found at /home/joel/.local/bin/cython
Search for Java compiler (javac)
-> found at /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
Search for Java keytool (keytool)
-> found at /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
Install platform
Traceback (most recent call last):
File "/usr/local/bin/buildozer", line 11, in <module>
load_entry_point('buildozer==0.35', 'console_scripts', 'buildozer')()
File "/usr/local/lib/python2.7/dist-packages/buildozer/scripts/client.py", line 13, in main
Buildozer().run_command(sys.argv[1:])
File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 1059, in run_command
self.target.run_commands(args)
File "/usr/local/lib/python2.7/dist-packages/buildozer/target.py", line 92, in run_commands
func(args)
File "/usr/local/lib/python2.7/dist-packages/buildozer/target.py", line 102, in cmd_debug
self.buildozer.prepare_for_build()
File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 176, in prepare_for_build
self.target.install_platform()
File "/usr/local/lib/python2.7/dist-packages/buildozer/targets/android.py", line 467, in install_platform
self._install_p4a()
File "/usr/local/lib/python2.7/dist-packages/buildozer/targets/android.py", line 524, in _install_p4a
deps = re.findall("^install_reqs = ([[^]]*])", setup, re.DOTALL | re.MULTILINE)[0]
IndexError: list index out of range
<
data from my environment:
joel@joel-N68S3:~/apps/prueba$ python --version
Python 2.7.15rc1
joel@joel-N68S3:~/apps/prueba$ buildozer --version
Check configuration tokens
Buildozer 0.35
and last, the code (Its a simple App) runs correctly in Kivy.
just in case:
Main.py:
import kivy
kivy.require ('1.9.0')
#
from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
#
class Contenedor_01(BoxLayout):
None
#
class MainApp(App):
title= "nuevo"
def build(self):
return Contenedor_01()
#
if __name__ == '__main__':
MainApp().run()
#
main.kv:
<Contenedor_01>:
Button:
text: 'nada'
#
Button:
text: 'adios'
thanks of all and regards
python python-3.x python-2.7 kivy buildozer
add a comment |
I tried to build an app in buildozer and receive this error. Don't know if this is because when buildozer compiles uses python 2.7 (when should use 3.6 ) or because I need edit some line in an archive in the python package ( search in this page for my error and found similar cases but not equals )
The error is
>
joel@joel-N68S3:~/apps/prueba$ buildozer -v android debug
Check configuration tokens
Ensure build layout
Check configuration tokens
Read available permissions from api-versions.xml
Preparing build
Check requirements for android
Run 'dpkg --version'
Cwd None
Programa de gestión de paquetes de Debian `dpkg' versión 1.19.0.5 (amd64).
Esto es software libre; consulte la Licencia Pública General de GNU versión
2 o posterior para conocer las condiciones de copia. No hay NINGUNA
garantía.
Search for Git (git)
-> found at /usr/bin/git
Search for Cython (cython)
-> found at /home/joel/.local/bin/cython
Search for Java compiler (javac)
-> found at /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
Search for Java keytool (keytool)
-> found at /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
Install platform
Traceback (most recent call last):
File "/usr/local/bin/buildozer", line 11, in <module>
load_entry_point('buildozer==0.35', 'console_scripts', 'buildozer')()
File "/usr/local/lib/python2.7/dist-packages/buildozer/scripts/client.py", line 13, in main
Buildozer().run_command(sys.argv[1:])
File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 1059, in run_command
self.target.run_commands(args)
File "/usr/local/lib/python2.7/dist-packages/buildozer/target.py", line 92, in run_commands
func(args)
File "/usr/local/lib/python2.7/dist-packages/buildozer/target.py", line 102, in cmd_debug
self.buildozer.prepare_for_build()
File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 176, in prepare_for_build
self.target.install_platform()
File "/usr/local/lib/python2.7/dist-packages/buildozer/targets/android.py", line 467, in install_platform
self._install_p4a()
File "/usr/local/lib/python2.7/dist-packages/buildozer/targets/android.py", line 524, in _install_p4a
deps = re.findall("^install_reqs = ([[^]]*])", setup, re.DOTALL | re.MULTILINE)[0]
IndexError: list index out of range
<
data from my environment:
joel@joel-N68S3:~/apps/prueba$ python --version
Python 2.7.15rc1
joel@joel-N68S3:~/apps/prueba$ buildozer --version
Check configuration tokens
Buildozer 0.35
and last, the code (Its a simple App) runs correctly in Kivy.
just in case:
Main.py:
import kivy
kivy.require ('1.9.0')
#
from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
#
class Contenedor_01(BoxLayout):
None
#
class MainApp(App):
title= "nuevo"
def build(self):
return Contenedor_01()
#
if __name__ == '__main__':
MainApp().run()
#
main.kv:
<Contenedor_01>:
Button:
text: 'nada'
#
Button:
text: 'adios'
thanks of all and regards
python python-3.x python-2.7 kivy buildozer
add a comment |
I tried to build an app in buildozer and receive this error. Don't know if this is because when buildozer compiles uses python 2.7 (when should use 3.6 ) or because I need edit some line in an archive in the python package ( search in this page for my error and found similar cases but not equals )
The error is
>
joel@joel-N68S3:~/apps/prueba$ buildozer -v android debug
Check configuration tokens
Ensure build layout
Check configuration tokens
Read available permissions from api-versions.xml
Preparing build
Check requirements for android
Run 'dpkg --version'
Cwd None
Programa de gestión de paquetes de Debian `dpkg' versión 1.19.0.5 (amd64).
Esto es software libre; consulte la Licencia Pública General de GNU versión
2 o posterior para conocer las condiciones de copia. No hay NINGUNA
garantía.
Search for Git (git)
-> found at /usr/bin/git
Search for Cython (cython)
-> found at /home/joel/.local/bin/cython
Search for Java compiler (javac)
-> found at /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
Search for Java keytool (keytool)
-> found at /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
Install platform
Traceback (most recent call last):
File "/usr/local/bin/buildozer", line 11, in <module>
load_entry_point('buildozer==0.35', 'console_scripts', 'buildozer')()
File "/usr/local/lib/python2.7/dist-packages/buildozer/scripts/client.py", line 13, in main
Buildozer().run_command(sys.argv[1:])
File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 1059, in run_command
self.target.run_commands(args)
File "/usr/local/lib/python2.7/dist-packages/buildozer/target.py", line 92, in run_commands
func(args)
File "/usr/local/lib/python2.7/dist-packages/buildozer/target.py", line 102, in cmd_debug
self.buildozer.prepare_for_build()
File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 176, in prepare_for_build
self.target.install_platform()
File "/usr/local/lib/python2.7/dist-packages/buildozer/targets/android.py", line 467, in install_platform
self._install_p4a()
File "/usr/local/lib/python2.7/dist-packages/buildozer/targets/android.py", line 524, in _install_p4a
deps = re.findall("^install_reqs = ([[^]]*])", setup, re.DOTALL | re.MULTILINE)[0]
IndexError: list index out of range
<
data from my environment:
joel@joel-N68S3:~/apps/prueba$ python --version
Python 2.7.15rc1
joel@joel-N68S3:~/apps/prueba$ buildozer --version
Check configuration tokens
Buildozer 0.35
and last, the code (Its a simple App) runs correctly in Kivy.
just in case:
Main.py:
import kivy
kivy.require ('1.9.0')
#
from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
#
class Contenedor_01(BoxLayout):
None
#
class MainApp(App):
title= "nuevo"
def build(self):
return Contenedor_01()
#
if __name__ == '__main__':
MainApp().run()
#
main.kv:
<Contenedor_01>:
Button:
text: 'nada'
#
Button:
text: 'adios'
thanks of all and regards
python python-3.x python-2.7 kivy buildozer
I tried to build an app in buildozer and receive this error. Don't know if this is because when buildozer compiles uses python 2.7 (when should use 3.6 ) or because I need edit some line in an archive in the python package ( search in this page for my error and found similar cases but not equals )
The error is
>
joel@joel-N68S3:~/apps/prueba$ buildozer -v android debug
Check configuration tokens
Ensure build layout
Check configuration tokens
Read available permissions from api-versions.xml
Preparing build
Check requirements for android
Run 'dpkg --version'
Cwd None
Programa de gestión de paquetes de Debian `dpkg' versión 1.19.0.5 (amd64).
Esto es software libre; consulte la Licencia Pública General de GNU versión
2 o posterior para conocer las condiciones de copia. No hay NINGUNA
garantía.
Search for Git (git)
-> found at /usr/bin/git
Search for Cython (cython)
-> found at /home/joel/.local/bin/cython
Search for Java compiler (javac)
-> found at /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
Search for Java keytool (keytool)
-> found at /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
Install platform
Traceback (most recent call last):
File "/usr/local/bin/buildozer", line 11, in <module>
load_entry_point('buildozer==0.35', 'console_scripts', 'buildozer')()
File "/usr/local/lib/python2.7/dist-packages/buildozer/scripts/client.py", line 13, in main
Buildozer().run_command(sys.argv[1:])
File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 1059, in run_command
self.target.run_commands(args)
File "/usr/local/lib/python2.7/dist-packages/buildozer/target.py", line 92, in run_commands
func(args)
File "/usr/local/lib/python2.7/dist-packages/buildozer/target.py", line 102, in cmd_debug
self.buildozer.prepare_for_build()
File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 176, in prepare_for_build
self.target.install_platform()
File "/usr/local/lib/python2.7/dist-packages/buildozer/targets/android.py", line 467, in install_platform
self._install_p4a()
File "/usr/local/lib/python2.7/dist-packages/buildozer/targets/android.py", line 524, in _install_p4a
deps = re.findall("^install_reqs = ([[^]]*])", setup, re.DOTALL | re.MULTILINE)[0]
IndexError: list index out of range
<
data from my environment:
joel@joel-N68S3:~/apps/prueba$ python --version
Python 2.7.15rc1
joel@joel-N68S3:~/apps/prueba$ buildozer --version
Check configuration tokens
Buildozer 0.35
and last, the code (Its a simple App) runs correctly in Kivy.
just in case:
Main.py:
import kivy
kivy.require ('1.9.0')
#
from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
#
class Contenedor_01(BoxLayout):
None
#
class MainApp(App):
title= "nuevo"
def build(self):
return Contenedor_01()
#
if __name__ == '__main__':
MainApp().run()
#
main.kv:
<Contenedor_01>:
Button:
text: 'nada'
#
Button:
text: 'adios'
thanks of all and regards
python python-3.x python-2.7 kivy buildozer
python python-3.x python-2.7 kivy buildozer
edited Nov 20 '18 at 17:09
eyllanesc
78.7k103256
78.7k103256
asked Nov 20 '18 at 14:35
Signal InterferenceSignal Interference
11
11
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53395337%2ferror-compiling-with-buildozer-list-index-out-of-range%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53395337%2ferror-compiling-with-buildozer-list-index-out-of-range%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown