-
Notifications
You must be signed in to change notification settings - Fork 38
Ruutu.fi plugin fails in selAvailability[0].string.strip() if len(selAvailability) > 0 else '0' AttributeError: 'NoneType' object has no attribute 'strip' #74
Comments
I committed a potential fix. Can you try it? Just replace ruutu.py in your installation. |
Hi, |
By the way plugin worked on Ubuntu 12.04 but when I upgraded to 14.04 this error started. I spent some time back then looking into this, but didn't figure it out. I wrote about this on Kodi forum back then, there's what I found when investigating this. To me it seems like the html content that the plugin parses differs from the one I get with a browser. I printed out in the log the HTML and there all content was missing What plugin gets (no text in a-tag): http://paste.ubuntu.com/9788619/ And what browser gets (title in a-tag): http://paste.ubuntu.com/9788622/ The content (title) seems not to be available for the plugin. I don't know what happens there, but when the plugin tries to parse the title it fails. Don't know if this is an environmental issue on my machine or what. Yle Areena and Katsomo plugins work fine. |
Are you sure you have tested correct file, in you logs it tells:
but in a newest file in github that line was changed. You need to manually update ruutu.py from github. |
Sorry, I think I uploaded an old log file again or something went wrong as when I redid this for some reason kodi.log wan't generated. Anyway, after a restart I got the log file and still the plugin fails. Here's the new log file: http://paste.ubuntu.com/9798425/ |
Try again with updated ruutu.py. |
Thanks, some improvement in this version! The good thing is that in this version the menu option ">> Programs" work. I could watch videos under the programs. Unfortunately Menu options "Latest", "Most Viewed", " News", etc, all fail. Log available here: http://paste.ubuntu.com/9839122/
|
Lets keep trying, try now. |
Thanks. Some improvement. Working:
Not working:
|
On Ubuntu 14.04.1 LTS & Kodi, ruutu.fi plugin fails with error message you can find here: http://paste.ubuntu.com/9779261/
The text was updated successfully, but these errors were encountered: