Skip to content

[Bug] Can't add new Infolabel #153

Description

@VisionaiR3D

Describe the bug
A clear and concise description of what the bug is.

Using kodi kodi 20.2 android on my Nvidia shield
Using Autowidget 3.7.0

When I go to edit InfoLabels and select "Add New Infolabel“ I get the following error

2023-10-26 07:10:19.583 T:12990 info : plugin.program.autowidget: [ mode: manage ][ action: edit_path ][ group: movies-1691580071.66462 ][ path_id: search_new_movie_stream-1691927080.9653633 ]
2023-10-26 07:10:24.167 T:12990 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: module 'resources.lib.common.utils' has no attribute 'info_types'
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/main.py", line 12, in
router.dispatch(_handle, _params)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/common/router.py", line 62, in dispatch
edit.edit_dialog(group, path_id)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/edit.py", line 535, in edit_dialog
updated = _show_options(group_def, path_def, type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/edit.py", line 188, in _show_options
return _get_value(edit_def, key)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autowidget/resources/lib/edit.py", line 328, in _get_value
keys = utils.info_types if key == "file" else utils.art_types
^^^^^^^^^^^^^^^^
AttributeError: module 'resources.lib.common.utils' has no attribute 'info_types'
-->End of Python script error report<--

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions