You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having successfully built and pushed the app to my phone, a Samsung Galaxy Nexus (maguro, GSM version), the app displays a kivy loading screen before crashing. The logcat, from buildozer android logcat, is as follows:
Traceback (most recent call last):
File "/usr/local/bin/buildozer", line 5, in <module>
run()
File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 1195, in run
Buildozer().run_command(sys.argv[1:])
File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 833, in run_command
self.set_target(command)
File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 121, in set_target
self.check_build_layout()
File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 351, in check_build_layout
self.state = shelve.open(join(self.buildozer_dir, 'state.db'))
File "/usr/lib/python2.7/shelve.py", line 239, in open
return DbfilenameShelf(filename, flag, protocol, writeback)
File "/usr/lib/python2.7/shelve.py", line 223, in __init__
Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback)
File "/usr/lib/python2.7/anydbm.py", line 85, in open
return mod.open(file, flag, mode)
File "/usr/lib/python2.7/dbhash.py", line 18, in open
return bsddb.hashopen(file, flag, mode)
File "/usr/lib/python2.7/bsddb/__init__.py", line 364, in hashopen
d.open(file, db.DB_HASH, flags, mode)
bsddb.db.DBAccessError: (13, 'Permission denied')
There are currently no read/write operations in my app; I commented them out for testing purposes. Furthermore, I have given the permissions READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE in the buildozer.spec, just in case.
The text was updated successfully, but these errors were encountered:
Hi, This issue wasn't about a read/write in your app, but Buildozer's database that fail to be opened for an unknow reason. We changed the storage to json now, and it has another read/save mechanism, so it might help.
Ensure you have no runned the buildozer with sudo one time, and without sudo next time. You must NEVER use sudo with buildozer.
Having successfully built and pushed the app to my phone, a Samsung Galaxy Nexus (maguro, GSM version), the app displays a kivy loading screen before crashing. The logcat, from buildozer android logcat, is as follows:
There are currently no read/write operations in my app; I commented them out for testing purposes. Furthermore, I have given the permissions READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE in the buildozer.spec, just in case.
The text was updated successfully, but these errors were encountered: