xbmc icon indicating copy to clipboard operation
xbmc copied to clipboard

Watchlist KeyError: 'parent'

Open mivalsten opened this issue 5 years ago • 0 comments

Addon used

  • [x] Amazon VOD (plugin.video.amazon-test)
  • [ ] Browser Launcher (plugin.program.browser.launcher)
  • Addon version: 0.9.0+matrix.1

Account type

  • [x] primevideo.com
  • [ ] amazon.(com/co.uk/de/jp)

System Setup (please provide the following information):

  • Hardware: AtomicPi (Intel Cherry Trail Z8350)
  • OS version: Ubuntu Server 20.04.1
  • Kodi version number: 19.0-BETA2 (18.9.821)

Upload Logs

https://gist.github.com/mivalsten/eae22e74accf1b681ae2a47b874b5f0a

Describe the bug

Errors out when I try to open watchlist or favourited link to show.

2021-01-11 21:08:43.045 T:43221   ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'KeyError'>
Error Contents: 'parent'
Traceback (most recent call last):
File "/opt/kodi/.kodi/addons/plugin.video.amazon-test/default.py", line 5, in <module>
EntryPoint()
File "/opt/kodi/.kodi/addons/plugin.video.amazon-test/resources/lib/startup.py", line 63, in EntryPoint
g.pv.Route(verb, path)
File "/opt/kodi/.kodi/addons/plugin.video.amazon-test/resources/lib/primevideo.py", line 281, in Route
elif 'browse' == verb: g.pv.Browse(path)
File "/opt/kodi/.kodi/addons/plugin.video.amazon-test/resources/lib/primevideo.py", line 468, in Browse
node, breadcrumb = self._TraverseCatalog(path)
File "/opt/kodi/.kodi/addons/plugin.video.amazon-test/resources/lib/primevideo.py", line 249, in _TraverseCatalog
self._LazyLoad(node[nodeName], pathList[0:1 + i])
File "/opt/kodi/.kodi/addons/plugin.video.amazon-test/resources/lib/primevideo.py", line 1204, in _LazyLoad
bUpdatedVideoData |= AddSeason(breadcrumb[-1], o, bCacheRefresh, title, iu)
File "/opt/kodi/.kodi/addons/plugin.video.amazon-test/resources/lib/primevideo.py", line 794, in AddSeason
parent = self._videodata[self._videodata['urn2gti'][urn]]['parent']
KeyError: 'parent'
-->End of Python script error report<--

mivalsten avatar Jan 11 '21 20:01 mivalsten