Posts: 4
Joined: Nov 2020
Reputation:
1
Hi,
the script/addon was working perfectly for me when having a local Kodi database. Since a couple of weeks, I switched to a SQL database running on my NAS. Kodi works well with it, everything's perfect except this script/addon. It doesn't work and in the Kodi log there is an error message related to the script/addon, see below. I get this error message although I did all the changes described in post #3.
Is there anyone who can help?
Error message in the Kodi log:
2022-09-06 20:00:03.201 T:17232 ERROR: Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Program Files\Kodi\system\python\Lib\threading.py", line 801, in __bootstrap_inner
self.run()
File "C:\Users\tomto\AppData\Roaming\Kodi\addons\script.tagoverview\CThreadTagMovies.py", line 12, in run
wnd = CDialogTagMovies()
File "C:\Users\tomto\AppData\Roaming\Kodi\addons\script.tagoverview\CDialogTagMovies.py", line 21, in __init__
self.getFileInfos()
File "C:\Users\tomto\AppData\Roaming\Kodi\addons\script.tagoverview\CDialogTagMovies.py", line 69, in getFileInfos
self.vdb = CVideoDatabase()
File "C:\Users\tomto\AppData\Roaming\Kodi\addons\script.tagoverview\CVideoDatabase.py", line 8, in __init__
self.db = CDatabase()
File "C:\Users\tomto\AppData\Roaming\Kodi\addons\script.tagoverview\CDatabase.py", line 51, in __init__
self.init_mysql()
File "C:\Users\tomto\AppData\Roaming\Kodi\addons\script.tagoverview\CDatabase.py", line 61, in init_mysql
self.config['database'] = self.getMySQLDBName(db)
File "C:\Users\tomto\AppData\Roaming\Kodi\addons\script.tagoverview\CDatabase.py", line 75, in getMySQLDBName
con = mysql.connector.Connect(**self.config)
File "C:\Users\tomto\AppData\Roaming\Kodi\addons\script.tagoverview\mysql\connector\__init__.py", line 173, in connect
return MySQLConnection(*args, **kwargs)
File "C:\Users\tomto\AppData\Roaming\Kodi\addons\script.tagoverview\mysql\connector\connection.py", line 104, in __init__
self.connect(**kwargs)
File "C:\Users\tomto\AppData\Roaming\Kodi\addons\script.tagoverview\mysql\connector\abstracts.py", line 777, in connect
self.config(**kwargs)
File "C:\Users\tomto\AppData\Roaming\Kodi\addons\script.tagoverview\mysql\connector\abstracts.py", line 330, in config
raise AttributeError("Unsupported argument '{0}'".format(key))
AttributeError: Unsupported argument 'name'
Posts: 4
Joined: Nov 2020
Reputation:
1
Help is no longer needed. I found the solution for my problem posted above.
Posts: 3,901
Joined: Mar 2006
Reputation:
163
2023-06-22, 17:30
(This post was last modified: 2023-06-22, 17:51 by ashlar. Edited 1 time in total.)
Is there anything similar working with Python 3 and newer versions of Kodi?
Edit: nevermind, read the whole thread and found the updated version for Python 3. It seems to be working fine with Omega nightlies.
For troubleshooting and bug reporting please make sure you
read this first (usually it's enough to follow instructions in the second post).
Posts: 368
Joined: Jun 2011
Reputation:
15
Thanks to everyone for keeping this addon alive. I last used it several years ago and had been missing it, since I disable the default plethora of useless automatic tags and use custom ones I've defined, and the process really benefits from the UI this addon provides.
I'm using MariaDB, and I had to diverge from the instructions a bit to get it working. I started on my Windows 11 system, and in CDatabase.py, I had to comment out 'name' under baseconfig. Without doing this, nothing would be displayed when I chose "Tags" from the context menu, and I got errors in the event log. That got it working on Windows, but it failed on Android with a different error. The solution to that was to substitute the mysql folder from the current mysql-connector-python-8.2.0.tar.gz for the one in mysql-connector-python-8.0.17.tar.gz specified in the instructions.
I have noticed a minor glitch in that "New Tag" doesn't work from the main dialog, but it does work in Tag Overview. Also, the Tag Overview button shows like a strikeout line through it instead of a selection rectangle. It would also be nice to be able to back out of Tag Overview to the main dialog instead of being dumped out of it altogether.
Going forward, it could be really cool to link tags to Trakt watchlists. That service seems interesting, but I don't see how to view watchlists and stuff in Kodi. Tags do what I want WRT this.
Posts: 91
Joined: Aug 2015
Reputation:
2
I'm using Tag Overview with the Arctic Fuse skin
I noticed that when i trigger the context menu of a library item via the Spotlight, the "Tags" option will open the main "Tag Overview" window
If I trigger the context menu of a library item any other way, the "Tags" option will open the version of the "Tag Overview" window that allows me to modify the tag of the library item
Does anyone know how I can get the 1st scenario to behave like the 2nd?
Not sure if this is the right place
Thanks