Internet Archive Fails
#1
Using Kodi version 16.1 on Ubuntu 16.04. Installation of 'Internet Archive" seems to work fine, but when I try to access it, I get an error. Here is the log:

19:09:01 T:140645505087232 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'NoneType' object has no attribute 'find'
Traceback (most recent call last):
File "/home/jra/.kodi/addons/plugin.audio.internet.archive/default.py", line 526, in <module>
get_category_page(video_url, video_thumb)
File "/home/jra/.kodi/addons/plugin.audio.internet.archive/default.py", line 97, in get_category_page
collection_tag = soup.find('select', attrs={'name': 'mediatype'}).find('option', selected='selected')
AttributeError: 'NoneType' object has no attribute 'find'
-->End of Python script error report<--
19:09:01 T:140646461647168 ERROR: GetDirectory - Error getting plugin://plugin.audio.internet.archive/?content_type=video
19:09:01 T:140646461647168 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.internet.archive/?content_type=video) failed
Any ideas??
Reply
#2
You're using an old, unsupported version of the Internet Archive add-on. Download the newest version(s) [3.0.6] from this post, or from the link in my signature.
Kodi Nexus (20.2) on Dell Optiplex 980 Lubuntu 22.04 | Kodi Matrix (19.3) on HTPC Lubuntu 20.04 | My Add-ons | Legacy Repo | Matrix Repo
>>>>> Newest MetalChris Addons: Roku Channel | LG Channels | Xumo Play | DistroTV | Local Now | NHL Radio | Weather Unlocked
Reply
#3
Thanks!!! That worked. Odd that Kodi didn't give me that version when I installed "Internet Archive" just yesterday.
Reply
#4
(2016-11-09, 18:46)DaytonaJohn Wrote: Thanks!!! That worked.

Thanks for the feedback, and glad it's working for you.

(2016-11-09, 18:46)DaytonaJohn Wrote: Odd that Kodi didn't give me that version when I installed "Internet Archive" just yesterday.

I'm not the original author, but the original add-on was broken and apparently abandoned, so I took it upon myself to put together working replacement(s). It was a good learning experience since at that point in time I had never done anything so complex. Even though the add-ons work, they could probably be better. My coding is more 'brute force, smash the square peg into the round hole' style, and still incredibly sloppy, so I've never submitted my add-ons to the official repo. This is why you ended up installing the old, unsupported version. I'm unsure why the old version is still in the official repo though.

If you have any further questions or comments, please post in the Internet Archive - archive.org thread.
Kodi Nexus (20.2) on Dell Optiplex 980 Lubuntu 22.04 | Kodi Matrix (19.3) on HTPC Lubuntu 20.04 | My Add-ons | Legacy Repo | Matrix Repo
>>>>> Newest MetalChris Addons: Roku Channel | LG Channels | Xumo Play | DistroTV | Local Now | NHL Radio | Weather Unlocked
Reply
#5
Thanks again!! Since you are fresh off that fix, you might want to have a look at Metacafe version 0.0.2. It displays the identical behavior as "Internet Archive" did. I posted a note about that, too, but got no reponse.


-John
Reply

Logout Mark Read Team Forum Stats Members Help
Internet Archive Fails0