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

IOError: [Errno 2] No such file or directory: u'/home/kivy/buildozer/.buildozer/android/platform/build/... #603

Closed
ccharoux opened this issue Dec 17, 2017 · 2 comments

Comments

@ccharoux
Copy link

I refreshed my linux yesterday.
The file changed by #597 buildozer/targets/android.py is the same as before
The bug is still there

[DEBUG]: BUILD SUCCESSFUL
[DEBUG]: Total time: 14 seconds
[INFO]: <- directory context /home/kivy/buildozer/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]: # Copying APK to current directory
[INFO]: # Found APK file: /home/kivy/buildozer/.buildozer/android/platform/build/dists/approche/bin/Approche-0.1-debug.apk
[DEBUG]: -> running cp /home/kivy/buildozer/.buildozer/android/platform/build/dists/approche/bin/Approche-0.1-debug.apk ./
Traceback (most recent call last):

File "/usr/local/bin/buildozer", line 11, in
load_entry_point('buildozer==0.35.dev0', 'console_scripts', 'buildozer')()
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.35.dev0-py2.7.egg/buildozer/scripts/client.py", line 13, in main
Buildozer().run_command(sys.argv[1:])
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.35.dev0-py2.7.egg/buildozer/init.py", line 1058, in run_command
self.target.run_commands(args)
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.35.dev0-py2.7.egg/buildozer/target.py", line 92, in run_commands
func(args)
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.35.dev0-py2.7.egg/buildozer/target.py", line 104, in cmd_debug
self.buildozer.build()
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.35.dev0-py2.7.egg/buildozer/init.py", line 212, in build
self.target.build_package()
File "/usr/local/lib/python2.7/dist-packages/buildozer-0.35.dev0-py2.7.egg/buildozer/targets/android.py", line 817, in build_package
copyfile(join(apk_dir, apk), join(self.buildozer.bin_dir, apk_dest))
File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: u'/home/kivy/buildozer/.buildozer/android/platform/build/dists/approche/build/outputs/apk/approche-debug.apk'

log.txt

@ccharoux
Copy link
Author

I forced the fixed version of android.py (#597) in my buildozer/targets folder and the bug is still there

@ccharoux
Copy link
Author

I am new on linux
could you tell me how to get the buildozer package updated in my virtual box linux machine
what command do i have to enter ?
note: no paswd for root in that machine

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

1 participant