aussieaddons / plugin.video.abc_iview

ABC iView add-on for Kodi
http://aussieaddons.com/addons/abc_iview/
GNU General Public License v3.0
60 stars 24 forks source link

End-user bug report #2632

Open xbmcbot opened 7 years ago

xbmcbot commented 7 years ago

Automatic bug report from end-user.

Environment

Plugin Name: ABC iView Plugin ID: plugin.video.abc_iview Plugin Version: 1.8.0 XBMC/Kodi Version: 15.2 Git:02e7013 Python Version: 2.7.3 (default, Feb 29 2016, 21:17:05) [GCC 4.9.3] Operating System: [linux2] (Linux 4.1.18 armv7l) IP Address: 110.174.71.6 (110-174-71-6.static.tpgi.com.au) ISP : TPG Internet Python Path:

/storage/.kodi/addons/plugin.video.abc_iview
/storage/.kodi/addons/script.common.plugin.cache/lib
/storage/.kodi/addons/script.module.beautifulsoup/lib
/storage/.kodi/addons/script.module.requests/lib
/usr/lib/python27.zip
/usr/lib/python2.7
/usr/lib/python2.7/plat-linux2
/usr/lib/python2.7/lib-tk
/usr/lib/python2.7/lib-old
/usr/lib/python2.7/lib-dynload
/usr/lib/python2.7/site-packages
/usr/lib/python2.7/site-packages/gtk-2.0
/storage/.kodi/addons/plugin.video.abc_iview/resources/lib

Traceback

Traceback (most recent call last):
  File "/storage/.kodi/addons/plugin.video.abc_iview/resources/lib/series.py", line 35, in make_series_list
    series_list = comm.get_programme_from_feed(category)
  File "/storage/.kodi/addons/plugin.video.abc_iview/resources/lib/comm.py", line 141, in get_programme_from_feed
    feed = get_feed(keyword)
  File "/storage/.kodi/addons/plugin.video.abc_iview/resources/lib/comm.py", line 135, in get_feed
    feed = cache.cacheFunction(fetch_url, url)
  File "/storage/.kodi/addons/script.common.plugin.cache/lib/StorageServer.py", line 570, in cacheFunction
    ret_val = funct(*args)
  File "/storage/.kodi/addons/plugin.video.abc_iview/resources/lib/comm.py", line 68, in fetch_url
    raise e
HTTPError: 404 Client Error: Not Found for url: http://iview.abc.net.au/api/abc4kids?device=hbb&hbr=1&sort=az
inspector71 commented 7 years ago

FYI this happened immediately after updating the plugin. Navigated back to the plugin via a home-screen Adds-Ons section 'shelf' shortcut/link. The problem seems to be the old listing of channels was still cached in the interface because loading/launching the plugin from Add-Ons > Video Add-Ons shows the new channels listing and it works, for example in this case when I load ABC4KIDS.

inspector71 commented 7 years ago

Also, not happy some semi-private strings like file paths are made public through this 'automatic' report via the xbmc.log

Please remove the log ASAP.

andybotting commented 7 years ago

Thanks for the report. I've removed the link to your log, and I'll nuke your log soon.

inspector71 commented 7 years ago

Thanks Andy, appreciate that immensely.

Also, thanks for your great work. It provides great value to people in my life such as enabling my 1st time single mum sister to get some rest she;s sick and my niece is distracted watching ABC Kids in a warm lounge room instead of on a computer in front of a desk in a office or a tablet that toddlers don't automatically stare at. That's not illegal streaming; not unreasonable needs being selfishly met through 'stolen' streams. We're Australian born citizens and this is a ery legitimate use of our "8 cents a day" but is only enabled through your hard voluntary work. 

Just wanted to let you know that whilst you may not do this for thanks or praise, it's very much hugely valued, appreciated. The ABC hierarchy should be paying you for it, or at least openly contributing tech support from their end (if they don't already).

Brilliant.

andybotting commented 7 years ago

Thanks @inspector71, appreciate the kind words. This project initially started to scratch an itch (so to speak) but keeps moving along because I know that people are using it and do appreciate it, so always nice to hear.

Also, hope your sister gets better soon. I can only imagine how tough being a single parent could be.

cheers

inspector71 commented 7 years ago

Pleasure Andy. Open source (often AKA free labour) is a great thing and gets far too little recognition.

I understand the 'itch' as well. I've many of those and one day hope to 'scratch' them in the same way you have.

Also, just tonsilitis for my sister, should be ok again soon. Isn't it weird/nice to bring some personal humanity to github :)

inspector71 commented 7 years ago

Also, BTW, I think the bug-reporting you built into the addon is actually brilliant. If Kodi itself had similar - linked to a crash-reporting database perhaps similar to what Firefox (and presumably many other apps) does - then it may improve the debatably freeze/crash-prone nature of Kodi significantly.

The only problem is those semi-private, semi-identifying details. Perhaps there's a way to regex those out in your reporting script before the reports get to github? Not being a Python guy ATM, alas I can't contribute such a patch myself right now.

Again, thanks for the ongoing, brilliant efforts. Your repo/addon(s) is/are amongst the first critical addons I throw into every Kodi setup/upgrade :)