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

local variable 'values' referenced before assignment #791

Open
freegroup opened this issue Dec 13, 2023 · 0 comments
Open

local variable 'values' referenced before assignment #791

freegroup opened this issue Dec 13, 2023 · 0 comments

Comments

@freegroup
Copy link

On Android I get in some cases a exception by calling `_get_orientation" in AndroidSpOrientation

12-13 13:42:29.786 24276 24318 I python  :    File "kivy/_clock.pyx", line 649, in kivy._clock.CyClockBase._process_events
12-13 13:42:29.787 24276 24318 I python  :    File "kivy/_clock.pyx", line 218, in kivy._clock.ClockEvent.tick
12-13 13:42:29.788 24276 24318 I python  :    File "/Users/d023280/Documents/workspace/candle/mobile/.buildozer/android/app/utils/compass.py", line 38, in update_compass
12-13 13:42:29.789 24276 24318 I python  :    File "/Users/d023280/Documents/workspace/candle/mobile/.buildozer/android/platform/build-arm64-v8a/build/python-installs/candle/arm64-v8a/plyer/utils.py", line 114, in __getattribute__
12-13 13:42:29.790 24276 24318 I python  :    File "/Users/d023280/Documents/workspace/candle/mobile/.buildozer/android/platform/build-arm64-v8a/build/python-installs/candle/arm64-v8a/plyer/facades/spatialorientation.py", line 35, in orientation
12-13 13:42:29.791 24276 24318 I python  :    File "/Users/d023280/Documents/workspace/candle/mobile/.buildozer/android/platform/build-arm64-v8a/build/python-installs/candle/arm64-v8a/plyer/platforms/android/spatialorientation.py", line 98, in _get_orientation
12-13 13:42:29.792 24276 24318 I python  :  UnboundLocalError: local variabl

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

Successfully merging a pull request may close this issue.

1 participant