AndreMiras / EtherollApp

Provably fair dice game running on the Ethereum blockchain
MIT License
57 stars 22 forks source link

BuilderException: Parser: File "/data/data/com.github.andremiras.etheroll/files/app/etheroll/settings.kv", line 60: #131

Closed AndreMiras closed 5 years ago

AndreMiras commented 5 years ago

https://sentry.io/organizations/andre-5t/issues/989682924/?project=1111738&referrer=github_plugin

PermissionError: [Errno 13] Permission denied: '/sdcard/etheroll/store.json'
(2 additional frame(s) were not displayed)
...
  File "/home/andre/workspace/EtherollApp/.buildozer/android/app/etheroll/settings.py", line 89, in get_stored_gas_price
  File "/home/andre/workspace/EtherollApp/.buildozer/android/app/etheroll/store.py", line 27, in get_store
  File "home/andre/workspace/EtherollApp/.buildozer/android/platform/build/build/python-installs/etheroll/kivy/storage/jsonstore.py", line 29, in __init__
  File "home/andre/workspace/EtherollApp/.buildozer/android/platform/build/build/python-installs/etheroll/kivy/storage/__init__.py", line 134, in __init__
  File "home/andre/workspace/EtherollApp/.buildozer/android/platform/build/build/python-installs/etheroll/kivy/storage/jsonstore.py", line 42, in store_load

BuilderException: Parser: File "/data/data/com.github.andremiras.etheroll/files/app/etheroll/settings.kv", line 60:
...
     58:                        id: gas_price_slider_id
     59:                        range: 0, 50
>>   60:                        value: root.get_stored_gas_price()
     61:                        step: 1
     62:            PushUp:
...
PermissionError: [Errno 13] Permission denied: '/sdcard/etheroll/store.json'
  File "/home/andre/workspace/EtherollApp/.buildozer/android/platform/build/build/python-installs/etheroll/kivy/lang/builder.py", line 249, in create_handler
  File "/data/data/com.github.andremiras.etheroll/files/app/etheroll/settings.kv", line 60, in <module>
    value: root.get_stored_gas_price()
  File "/home/andre/workspace/EtherollApp/.buildozer/android/app/etheroll/settings.py", line 89, in get_stored_gas_price
  File "/home/andre/workspace/EtherollApp/.buildozer/android/app/etheroll/store.py", line 27, in get_store
  File "/home/andre/workspace/EtherollApp/.buildozer/android/platform/bui...
  File "home/andre/workspace/EtherollApp/.buildozer/android/platform/build/build/python-installs/etheroll/kivy/lang/builder.py", line 615, in _apply_rule
  File "home/andre/workspace/EtherollApp/.buildozer/android/platform/build/build/python-installs/etheroll/kivy/lang/builder.py", line 254, in create_handler

BuilderException: Parser: File "/data/data/com.github.andremiras.etheroll/files/app/etheroll/settings.kv", line 60:
...
     58:                        id: gas_price_slider_id
     59:                        range: 0, 50
>>   60:                        value: root.get_stored_gas_price()
     61:                        step: 1
     62:            PushUp:
...
BuilderException: Parser: File "/data/data/com.github.andremiras.etheroll/files/app/etheroll/settings.kv", line 60:
...
     58:                        id: gas_price_slider_id
     59:                        range: 0, 50
>>   60:                        value: root.get_stored_gas_price()
     61:                        step: 1
     62:            PushUp:
...
PermissionError: [Errno 13] Permission denied: '/sdcard/etheroll/store.json'
  File "/home/andre/workspace/EtherollApp/.buildozer/android/platform/build/build/python-installs/etheroll/kivy/lang/builder.py", line 249, in create_handler
  File "/data/data/com.github.andremiras.etheroll/files/app/etheroll/settings.kv", l...
(33 additional frame(s) were not displayed)
...
  File "home/andre/workspace/EtherollApp/.buildozer/android/platform/build/build/python-installs/etheroll/kivy/uix/floatlayout.py", line 65, in __init__
  File "home/andre/workspace/EtherollApp/.buildozer/android/platform/build/build/python-installs/etheroll/kivy/uix/layout.py", line 76, in __init__
  File "home/andre/workspace/EtherollApp/.buildozer/android/platform/build/build/python-installs/etheroll/kivy/uix/widget.py", line 348, in __init__
  File "home/andre/workspace/EtherollApp/.buildozer/android/platform/build/build/python-installs/etheroll/kivy/lang/builder.py", line 469, in apply
  File "home/andre/workspace/EtherollApp/.buildozer/android/platform/build/build/python-installs/etheroll/kivy/lang/builder.py", line 630, in _apply_rule

BuilderException: Parser: File "/data/data/com.github.andremiras.etheroll/files/app/etheroll/settings.kv", line 60:
...
     58:                        id: gas_price_slider_id
     59:                        range: 0, 50
>>   60:                        value: root.get_stored_gas_price()
     61:                        step: 1
     62:            PushUp:
...
BuilderException: Parser: File "/data/data/com.github.andremiras.etheroll/files/app/etheroll/settings.kv", line 60:
...
     58:                        id: gas_price_slider_id
     59:                        range: 0, 50
>>   60:                        value: root.get_stored_gas_price()
     61:                        step: 1
     62:            PushUp:
...
PermissionError: [Errno 13] Permission denied: '/sdcard/etheroll/store.json'
  File "/home/andre/workspace/EtherollApp/.buildozer/android/platform/build/build/python-installs/etheroll/kivy/lang/builder.py", line 249, in create_handler
  File "/data/data/com.github.andremiras.etheroll/files/app/etheroll/settings.kv", line 60, in <module>
    value: root.get_stored_gas_price()
  File "/home/andre/workspace/EtherollApp/.buildozer/android/app/etheroll/settings.py", line 89, in get_stored_gas_price
  File "/home/andre/workspace/EtherollApp/.buildozer/android/app/etheroll/store.py", line 27, in get_store
  File "/home/andre/workspace/EtherollApp/.buildozer/android/platform/build/build/python-installs/etheroll/kivy/storage/jsonstore.py", line 29, in __init__
  File "/home/andre/workspace/EtherollApp/.buildozer/android/platform/build/build/python-installs/etheroll/kivy/storage/__init__.py", line 134, in __init__
  File "/home/andre/workspace/EtherollApp/.buildozer/android/platform/build/build/python-installs/etheroll/kivy/storage/jsonstore.py", line 42, in store_load

  File "/home/andre/workspace/EtherollApp/.buildozer/android/platform/build/build/python-installs/etheroll/kivy/lang/builder.py", line 615, in _apply_rule
  File "/home/andre/workspace/EtherollApp/.buildozer/android/platform/build/build/python-installs/etheroll/kivy/lang/builder.py", line 254, in create_handler
AndreMiras commented 5 years ago

Happens when trying to access to the store.json without previously having the external storage permission