lol
I'm going to answer my own issue, and hopefully help @
Amedeus (and others) who get a YouTube Error "See log for details" and see "EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--"
Now this is a workaround, and please make sure you know what you are doing. ** BACKUP FIRST **
This is how I solved my issue:
- Backup .kodi/addons/plugin.video.youtube
- Backup .kodi/userdata/addon_data/plugin.video.youtube
- remove YouTube addon
- restart
Go with FileZilla or Putty or any other tool to the .kodi folder and delete:
.kodi/addons/plugin.video.youtube
.kodi/userdata/addon_data/plugin.video.youtube
- restart
- Install a new "fresh" YouTube addon
- YouTube add-on Settings -> Maintenance -> Delete data cache database (Just in case)
- YouTube Add-on Settings -> Maintenance -> Delete access_manager.json (just in case)
- Now from your backup, restore .kodi/userdata/addon_data/plugin.video.youtube/settings.xml
In my case, I had API key and stuff in there. After that, log in (need to re-activate the plugin twice) and the problem was solved for me.
Hope this helps anyone else.
I think it's a cache related issue, or something in the database anyway. However, the delete cache and database tips given earlier resulted in the same error for me. This is how I got past that issue.