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

[Bug] kodi crashes and closes whenever i attempt to refresh widgets #139

Open
Mahava opened this issue Sep 10, 2022 · 1 comment
Open

[Bug] kodi crashes and closes whenever i attempt to refresh widgets #139

Mahava opened this issue Sep 10, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Mahava
Copy link

Mahava commented Sep 10, 2022

run the refresh command
get an error message
kodi closes

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Details:
kodi 19.4
Arctic horizon 2
windows 10 laptop
autowidget 3.70

clip from log:

2022-09-10 12:16:34.307 T:10764 INFO : plugin.program.autowidget: Starting processing queue
2022-09-10 12:16:34.337 T:5460 INFO : plugin.program.autowidget: +++++ REFRESHING AUTOWIDGETS +++++
2022-09-10 12:16:34.600 T:5460 ERROR : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
File "C:\Users\XXXXX\AppData\Roaming\Kodi\addons\plugin.program.autowidget\service.py", line 4, in
_monitor = refresh.RefreshService()
File "C:\Users\XXXXX\AppData\Roaming\Kodi\addons\plugin.program.autowidget\resources\lib\refresh.py", line 41, in init
self._update_widgets()
File "C:\Users\XXXXX\AppData\Roaming\Kodi\addons\plugin.program.autowidget\resources\lib\refresh.py", line 91, in _update_widgets
self._refresh(startup)
File "C:\Users\XXXXX\AppData\Roaming\Kodi\addons\plugin.program.autowidget\resources\lib\refresh.py", line 215, in _refresh
refresh_paths(notify=notification and not startup)
File "C:\Users\XXXXX\AppData\Roaming\Kodi\addons\plugin.program.autowidget\resources\lib\refresh.py", line 357, in refresh_paths
paths = refresh(
File "C:\Users\XXXXX\AppData\Roaming\Kodi\addons\plugin.program.autowidget\resources\lib\refresh.py", line 327, in refresh
path_label = manage.get_path_by_id(path_id, group_id).get(
AttributeError: 'NoneType' object has no attribute 'get'
-->End of Python script error report<--

@Mahava Mahava added the bug Something isn't working label Sep 10, 2022
@djay
Copy link
Collaborator

djay commented Sep 12, 2022

@drinfernoo I'm not sure if this is the way to fix it or not - #140. maybe more needs to be done?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants