Closed ernissmal closed 5 months ago
Traceback (most recent call last): File "kivy/properties.pyx", line 961, in kivy.properties.ObservableDict.getattr KeyError: 'algorithm_spinner'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/Users/ernestssmalikis/Documents/GitHub/Password-generator/password_generator_app.py", line 235, in
PasswordGeneratorApp().run() File "/Users/ernestssmalikis/Documents/GitHub/Password-generator/venv/lib/python3.12/site-packages/kivy/app.py", line 955, in run self._run_prepare() File "/Users/ernestssmalikis/Documents/GitHub/Password-generator/venv/lib/python3.12/site-packages/kivy/app.py", line 950, in _run_prepare self.dispatch('on_start') File "kivy/_event.pyx", line 731, in kivy._event.EventDispatcher.dispatch File "/Users/ernestssmalikis/Documents/GitHub/Password-generator/password_generator_app.py", line 130, in on_start caller=self.root.ids.algorithm_spinner, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "kivy/properties.pyx", line 964, in kivy.properties.ObservableDict.getattr AttributeError: 'super' object has no attribute 'getattr'. Did you mean: 'setattr'? (venv) ernestssmalikis@Ernestss-MBP Password-generator %
Traceback (most recent call last): File "kivy/properties.pyx", line 961, in kivy.properties.ObservableDict.getattr KeyError: 'algorithm_spinner' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/ernestssmalikis/Documents/GitHub/Password-generator/password_generator_app.py", line 235, in PasswordGeneratorApp().run() File "/Users/ernestssmalikis/Documents/GitHub/Password-generator/venv/lib/python3.12/site-packages/kivy/app.py", line 955, in run self._run_prepare() File "/Users/ernestssmalikis/Documents/GitHub/Password-generator/venv/lib/python3.12/site-packages/kivy/app.py", line 950, in _run_prepare self.dispatch('on_start') File "kivy/_event.pyx", line 731, in kivy._event.EventDispatcher.dispatch File "/Users/ernestssmalikis/Documents/GitHub/Password-generator/password_generator_app.py", line 130, in on_start caller=self.root.ids.algorithm_spinner, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "kivy/properties.pyx", line 964, in kivy.properties.ObservableDict.getattr AttributeError: 'super' object has no attribute 'getattr'. Did you mean: 'setattr'? (venv) ernestssmalikis@Ernestss-MBP Password-generator % Fixed by applying fix:
from kivy.lang import Builder from kivymd.app import MDApp from kivymd.uix.menu import MDDropdownMenu from kivymd.uix.list import OneLineListItem from kivymd.uix.screen import MDScreen from kivy.properties import StringProperty from kivy.metrics import dp from password_generator import ( generate_password, generate_memorable_password, generate_hex_password, generate_base64_password, generate_pronounceable_password, generate_pin, generate_alphanumeric_password ) from database import save_password, get_passwords
KV = ''' ScreenManager: MainScreen: PasswordsScreen:
Add window where software users are able to browse saved passwords