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
Yes I know you are not susposed to run Buildozer as root. But it still should not crash with a traceback.
Traceback (most recent call last):
File "/usr/local/bin/buildozer", line 9, in <module>
load_entry_point('buildozer==0.26', 'console_scripts', 'buildozer')()
File "/usr/local/lib/python3.4/dist-packages/buildozer/scripts/client.py", line 13, in main
Buildozer().run_command(sys.argv[1:])
File "/usr/local/lib/python3.4/dist-packages/buildozer/__init__.py", line 946, in run_command
self.check_root()
File "/usr/local/lib/python3.4/dist-packages/buildozer/__init__.py", line 985, in check_root
cont = input('Are you sure you want to continue [y/n]? ')
UnboundLocalError: local variable 'input' referenced before assignment
The lines that actually cause this error are 973-976:
try: # ensure same result in python2 and python3input=raw_inputexceptNameError:
pass
I recommend lines 973-976 become:
try: # ensure same result in python2 and python3input_func=raw_inputexceptNameError:
input_func=input
And line 985 becomes:
cont=input_func('Are you sure you want to continue [y/n]? ')
The text was updated successfully, but these errors were encountered:
Yes I know you are not susposed to run Buildozer as root. But it still should not crash with a traceback.
The lines that actually cause this error are 973-976:
I recommend lines 973-976 become:
And line 985 becomes:
The text was updated successfully, but these errors were encountered: