Hello all
I’ve been using Tautulli for statistics withou a problem for a couple years but recently I have to rebuild the jail due SSD crash where Tautulli was installed.
I have created everything from the new release on GitHub and worked as a charm however there is the error on the logs. It does display the “latest added movies” correctly but none of the libraries. I am not exactly an expert and the Wiki from Tautulli did not help much nor searching for the error. Any recommendations?
Here the error log
Uncaught exception: Traceback (most recent call last):
File “/usr/local/share/Tautulli/plexpy/logger.py”, line 398, in new_run
old_run(*args, **kwargs)
File “/usr/local/lib/python3.9/threading.py”, line 917, in run
self._target(*self._args, **self._kwargs)
File “/usr/local/share/Tautulli/plexpy/libraries.py”, line 60, in refresh_libraries
library_sections = pmsconnect.PmsConnect().get_library_details()
File “/usr/local/share/Tautulli/plexpy/pmsconnect.py”, line 2888, in get_library_details
parent_list = self.get_library_children_details(section_id=section_id, section_type=‘picture’, count=‘1’)
File “/usr/local/share/Tautulli/plexpy/pmsconnect.py”, line 2830, in get_library_children_details
output = {‘library_count’: library_count,
UnboundLocalError: local variable ‘library_count’ referenced before assignment
This looks like Tautulli could not connect to PMS somehow however it does extract the last added items and also the “find server” works properly.
Any guidance will be great.
Thank you
Marcelo
Thank you but I have tried that before (my bad, I should have also listed what I have tried).
This is a fresh new install so the libraries were never “deleted” to be added back again. When i get the XML and try to run the re-add command, I got this: http://192.168.0.60:8181/undelete_library?section_id=25 {“result”: “error”, “message”: “Unable to re-add library. Invalid section_id or section_name.”}
Here is part of the XML with the proper ID
… (removed some portion)
<Location id=“25” path=“/media/Filmes/3D”/>
When first run after install, the configuration went quite OK with no errors and suscesfull login to the Plex Server. It is my understanding that once Tautulli log in, it shuould be able to query all the libraries right? The error on the log let me think there is something missing on the code or some aditional step I missed even following all steps described on the install guide Installation · Tautulli/Tautulli Wiki · GitHub
Appreciate that.
Just for the consistency, the first error log occurs when I try to refresh libraries.
I’ve been pursuing some response on the Tautulli page on GitHub for a while and got the following: “if those solutions does not work for you, pease refer to the Plex forum”
Anyway, I will keep searching and, if I manage to find a solution I will post here.