plugin.video.composite_for_plex icon indicating copy to clipboard operation
plugin.video.composite_for_plex copied to clipboard

Kodi Library integration crashing

Open fidelix opened this issue 4 years ago • 4 comments

Context

  • Add-on Version: 1.4.1+matrix.1
  • Kodi Version: 19 (also happened with Kodi 18)
  • Kodi GUI Language: English
  • Operating System: Android
  • Operating System Language: English

Current Behavior

When trying to set library scan, an error message shows up and then nothing happens.

Log

kodi.log


Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Open settings
  2. Choose "Select settings to include in Library scans"

fidelix avatar Feb 21 '21 13:02 fidelix

I have the same issue. On the latest app for Shield TV. Composite 1.4.2+matrix.1: Kodi 19 on Linux with Python 3.8.5.final.0.

EDIT: LMFAO. I found this/responded exactly one year later to the day.

2022-02-21 18:33:50.570 T:15688    INFO <general>: Composite -> _start : Composite 1.4.2+matrix.1: Kodi 19 on Linux with Python 3.8.5.final.0
2022-02-21 18:33:50.571 T:15688    INFO <general>: Composite -> _start : Mode |-1| Command |select_library_sections| Url |None| Parameters |{'url': None, 'command': 'select_library_sections', 'path_mode': None}| Server UUID |None| Media Id |None|
2022-02-21 18:33:51.505 T:15688   ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'KeyError'>
                                                   Error Contents: 'e9d159c85c63a5f52d971beecd6b57c71820fdeb'
                                                   Traceback (most recent call last):
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.composite_for_plex/resources/lib/entry_point.py", line 18, in <module>
                                                       composite.run(time.time())
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.composite_for_plex/resources/lib/composite_addon/composite.py", line 168, in run
                                                       configure_library_sections.run(context, reset=False)
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.composite_for_plex/resources/lib/composite_addon/routes/configure_library_sections.py", line 38, in run
                                                       movie_sections, tvshow_sections = get_sections(context, all_sections, use_details)
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.composite_for_plex/resources/lib/composite_addon/routes/configure_library_sections.py", line 87, in get_sections
                                                       server = context.plex_network.get_server_from_uuid(server_uuid)
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.composite_for_plex/resources/lib/composite_addon/plex/plex.py", line 704, in get_server_from_uuid
                                                       return self.server_list[_uuid]
                                                   KeyError: 'e9d159c85c63a5f52d971beecd6b57c71820fdeb'
                                                   -->End of Python script error report<--
                                                   
2022-02-21 18:33:52.404 T:15688    INFO <general>: Python interpreter stopped
2022-02-21 18:34:08.362 T:12908    INFO <general>: Skipped 4 duplicate messages..
2022-02-21 18:34:08.362 T:12908    INFO <general>: CWinSystemAndroid::DestroyWindow```

Drakonas avatar Feb 21 '22 23:02 Drakonas

Can you please try: http://ftp.fau.de/osmc/osmc/download/dev/anxdpanic/kodi/composite/python3/zips/plugin.video.composite_for_plex/plugin.video.composite_for_plex-1.4.1+matrix.1.zip and provide a debug log if it's still an issue

anxdpanic avatar May 22 '22 15:05 anxdpanic

anyone get any further with this? I am getting same issue and log looks exactly like the above posted.... Kodi 19. Movies scans perfect, but TV shows just can't get it working, although can see the libraries and view from composite add-on itself.

Have also tried 1.4.1 and exact same thing is happening

chiggerz avatar Jun 28 '22 20:06 chiggerz

Can you please try: http://ftp.fau.de/osmc/osmc/download/dev/anxdpanic/kodi/composite/python3/zips/plugin.video.composite_for_plex/plugin.video.composite_for_plex-1.4.1

+matrix.1.zip and provide a debug log if it's still an issue

@anxdpanic I guess I have something similar but it crashes after the scan is started:

2023-06-12 19:34:41.563 T:20312   debug <general>: Composite.settings -> Reading settings configuration
2023-06-12 19:34:41.567 T:20312   debug <general>: Composite.cachecontrol -> is_valid : CACHE [a54117d62b7b5af07343869ca2015dbf2e94b3b647ef7085f91b09a416ec08dc88305e0dc3a716d681cd301ac1b5403850151fefc141bb589e207d802d6f7eac.cache]: exists, ttl: |900|
2023-06-12 19:34:41.567 T:20312   debug <general>: Composite.cachecontrol -> is_valid : CACHE [a54117d62b7b5af07343869ca2015dbf2e94b3b647ef7085f91b09a416ec08dc88305e0dc3a716d681cd301ac1b5403850151fefc141bb589e207d802d6f7eac.cache]: mod[1686590961] now[1686591282] diff[321]
2023-06-12 19:34:41.567 T:20312   debug <general>: Composite.cachecontrol -> check_cache : CACHE [a54117d62b7b5af07343869ca2015dbf2e94b3b647ef7085f91b09a416ec08dc88305e0dc3a716d681cd301ac1b5403850151fefc141bb589e207d802d6f7eac.cache]: current
2023-06-12 19:34:41.568 T:20312   debug <general>: Composite.cachecontrol -> read_cache : CACHE [a54117d62b7b5af07343869ca2015dbf2e94b3b647ef7085f91b09a416ec08dc88305e0dc3a716d681cd301ac1b5403850151fefc141bb589e207d802d6f7eac.cache]: attempting to read
2023-06-12 19:34:41.568 T:20312   debug <general>: Composite.cachecontrol -> read_cache : CACHE [a54117d62b7b5af07343869ca2015dbf2e94b3b647ef7085f91b09a416ec08dc88305e0dc3a716d681cd301ac1b5403850151fefc141bb589e207d802d6f7eac.cache]: read
2023-06-12 19:34:41.568 T:20312   debug <general>: Composite.plexserver -> get_sections : Returning sections: [<composite_addon.plex.plexsection.PlexSection object at 0x7f71b6e6b250>, <composite_addon.plex.plexsection.PlexSection object at 0x7f71b6e6a650>, <composite_addon.plex.plexsection.PlexSection object at 0x7f71b6823fd0>, <composite_addon.plex.plexsection.PlexSection object at 0x7f71b6823a50>, <composite_addon.plex.plexsection.PlexSection object at 0x7f71b6820e10>, <composite_addon.plex.plexsection.PlexSection object at 0x7f71b6820350>, <composite_addon.plex.plexsection.PlexSection object at 0x7f71b6821690>, <composite_addon.plex.plexsection.PlexSection object at 0x7f71b6821d10>, <composite_addon.plex.plexsection.PlexSection object at 0x7f71b6823bd0>, <composite_addon.plex.plexsection.PlexSection object at 0x7f71b6e6aa50>, <composite_addon.plex.plexsection.PlexSection object at 0x7f71b6823a10>]
2023-06-12 19:34:41.568 T:20312   debug <general>: Composite.settings -> Reading settings configuration
2023-06-12 19:34:41.572 T:20312   debug <general>: Composite.cachecontrol -> is_valid : CACHE [77736932c363139e3054d1256e2cecac67eda45ae21024b46ea4a676223ad03527b7b345d06bc2837fa1c4bba0a423e2e96fadaa184f946f9629d75e99656101.cache]: exists, ttl: |900|
2023-06-12 19:34:41.572 T:20312   debug <general>: Composite.cachecontrol -> is_valid : CACHE [77736932c363139e3054d1256e2cecac67eda45ae21024b46ea4a676223ad03527b7b345d06bc2837fa1c4bba0a423e2e96fadaa184f946f9629d75e99656101.cache]: mod[1686590961] now[1686591282] diff[321]
2023-06-12 19:34:41.572 T:20312   debug <general>: Composite.cachecontrol -> check_cache : CACHE [77736932c363139e3054d1256e2cecac67eda45ae21024b46ea4a676223ad03527b7b345d06bc2837fa1c4bba0a423e2e96fadaa184f946f9629d75e99656101.cache]: current
2023-06-12 19:34:41.572 T:20312   debug <general>: Composite.cachecontrol -> read_cache : CACHE [77736932c363139e3054d1256e2cecac67eda45ae21024b46ea4a676223ad03527b7b345d06bc2837fa1c4bba0a423e2e96fadaa184f946f9629d75e99656101.cache]: attempting to read
2023-06-12 19:34:41.573 T:20312   debug <general>: Composite.cachecontrol -> read_cache : CACHE [77736932c363139e3054d1256e2cecac67eda45ae21024b46ea4a676223ad03527b7b345d06bc2837fa1c4bba0a423e2e96fadaa184f946f9629d75e99656101.cache]: read
2023-06-12 19:34:41.573 T:20312   debug <general>: Composite.plexserver -> get_sections : Returning sections: [<composite_addon.plex.plexsection.PlexSection object at 0x7f71b6e7a190>, <composite_addon.plex.plexsection.PlexSection object at 0x7f71cc823410>, <composite_addon.plex.plexsection.PlexSection object at 0x7f71cc8213d0>, <composite_addon.plex.plexsection.PlexSection object at 0x7f71b6839d90>, <composite_addon.plex.plexsection.PlexSection object at 0x7f71b6839fd0>, <composite_addon.plex.plexsection.PlexSection object at 0x7f71b6838710>, <composite_addon.plex.plexsection.PlexSection object at 0x7f71b6838510>, <composite_addon.plex.plexsection.PlexSection object at 0x7f71b6838350>, <composite_addon.plex.plexsection.PlexSection object at 0x7f71b683aa90>, <composite_addon.plex.plexsection.PlexSection object at 0x7f71b6e7a790>, <composite_addon.plex.plexsection.PlexSection object at 0x7f71b6838650>]
2023-06-12 19:34:41.573 T:20312    info <general>: Composite -> _finished : Finished. |1.201s|
2023-06-12 19:34:41.574 T:20312   debug <general>: CPythonInvoker(2, /home/maxe/.kodi/addons/plugin.video.composite_for_plex/resources/lib/entry_point.py): script successfully run
2023-06-12 19:34:41.590 T:20326   debug <general>: VideoInfoScanner: Scanning dir 'plugin://plugin.video.composite_for_plex/library/movies/' as not in the database
2023-06-12 19:34:41.590 T:20327   debug <general>: Thread JobWorker start, auto delete: true
2023-06-12 19:34:41.590 T:20327   debug <general>: easy_acquire - Created session to https://readacted.57d7a027febb451395a15829bb881bd4.plex.direct

Serph91P avatar Jun 12 '23 17:06 Serph91P