Solved Python exceptions in add-ons...
#1
I'm seeing Python exceptions that flash error alerts on the Kodi main page.

UL'ing the log here: https://termbin.com/7aXX

You can easily find the exceptions by searching the log for: 2024-03-27 10:57:50.808, then 2024-03-27 10:57:50.850, and 2024-03-27 10:57:51.086.

I've tried updating these add-ons, but the errors persist. Reading the logs, the details are too technical for me to understand.

How can I fix these?
Reply
#2
Can you use our paste.kodi.tv site for logs please?

That one you linked is giving all sorts of warnings on my PC...
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#3
Does paste.kodi.tv work with nc? What's the port number?
Reply
#4
No idea - it's designed for use via the Add-on:Kodi Logfile Uploader (wiki) or failing that via copy/paste in a web browser.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#5
I'm using a headless server, so command line is preferable, thanks.

EDIT: I resolved this problem by upgrading Kodi.

For this, though, I had to upgrade the Linux and now of course there are other problems, Linux related, and so I'm off trying to get Linux help in some other forum, and that's another rabbit hole.

Concerning the matter at hand, if we are supposed to paste Kodi logs and ppl are going to complain about sites like termbin, then it would be helpful if paste.kodi.tv could talk to command-line utilities.

If this is possible, then kindly make it known how. If this is not possible, then may I humbly suggest that it should be.
Reply
#6
AFAIK, with tool of choice open an https session to https://paste.kodi.tv/, POST the file to https://paste.kodi.tv/documents and if successful in the RESPONSE get a json object, the 'key' field has the value to append to https://paste.kodi.tv/ to GET the pasted file.

scott s.
.
Reply
#7
Maybe there's a better way to do this, but...
Quote:cat /home/kodi/.kodi/temp/kodi.log | curl -X POST -s --data-binary @- 'https://paste.kodi.tv/documents' | awk -F '"' '{ print "https://paste.kodi.tv/"$4 }'

...it looks like this command (above) is needed because hastebin doesn't support nc.

Some people suggest installing the haste client, but having to sudo install another dependency is kind of a non-starter.

Since this is totally non-obvious, my humble suggestion would be to update the documentation to explain how to send a Kodi log file to the required Kodi pastebin using the command line.
Reply

Logout Mark Read Team Forum Stats Members Help
Python exceptions in add-ons...0