Posts: 10
Joined: Mar 2015
Reputation:
1
Hi,
When i install the PVR Plugin Player i get the following error:
20:00:41.874 T:140593464338176 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: attribute of type 'NoneType' is not callable
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.pvr.plugin.player/service.py", line 12, in <module>
throwaway = datetime.datetime.strptime('20110101','%Y%m%d')
TypeError: attribute of type 'NoneType' is not callable
-->End of Python script error report<--
When i switch on "Folder" i get the following error:
20:05:43.435 T:140593175672576 NOTICE: [xbmcswift2] Request for "/" matches rule for function "index"
20:05:43.437 T:140593175672576 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
20:05:47.588 T:140593175672576 NOTICE: [xbmcswift2] Request for "/subscribe" matches rule for function "subscribe"
20:05:47.619 T:140593175672576 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
20:05:47.641 T:140593175672576 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: (u'\u2022',)
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.pvr.plugin.player/main.py", line 804, in <module>
plugin.run()
File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "/storage/.kodi/addons/plugin.video.pvr.plugin.player/main.py", line 358, in subscribe
context_items.append(("[COLOR yellow]%s[/COLOR] " % 'Add Folder', 'XBMC.RunPlugin(%s)' % (plugin.url_for(add_folder, id=id, name=label, path=path))))
File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 295, in url_for
pathqs = rule.make_path_qs(items)
File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/urls.py", line 160, in make_path_qs
path = self._make_path(url_items)
File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/urls.py", line 110, in _make_path
items[key] = quote_plus(val)
File "/usr/lib/python2.7/urllib.py", line 1306, in quote_plus
File "/usr/lib/python2.7/urllib.py", line 1299, in quote
KeyError: (u'\u2022',)
-->End of Python script error report<--
20:05:47.789 T:140595952969856 ERROR: GetDirectory - Error getting plugin://plugin.video.pvr.plugin.player/subscribe
20:05:47.790 T:140595952969856 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.pvr.plugin.player/subscribe) failed
20:05:48.240 T:140593175672576 NOTICE: [xbmcswift2] Request for "/" matches rule for function "index"
20:05:48.242 T:140593175672576 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
Posts: 10
Joined: Mar 2015
Reputation:
1
Thank you for your prompt reply.
My Version is:
19:27:39.178 T:140595952969856 NOTICE: Starting Kodi (17.6 Git:a9a7a20). Platform: Linux x86 64-bit
19:27:39.178 T:140595952969856 NOTICE: Using Release Kodi x64 build
19:27:39.178 T:140595952969856 NOTICE: Kodi compiled Jan 14 2018 by GCC 6.2.0 for Linux x86 64-bit version 4.11.12 (264972)
19:27:39.178 T:140595952969856 NOTICE: Running on LibreELEC (official): 8.2.3, kernel: Linux x86 64-bit version 4.11.12
Posts: 10
Joined: Mar 2015
Reputation:
1
I have put a # at the front of throwaway but i get the same error, when i switch on "Folder"
Posts: 10
Joined: Mar 2015
Reputation:
1
Thank you.
The "Folder" works now but i get another error when i want "Choose stream":
21:25:29.883 T:140458876749568 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: attribute of type 'NoneType' is not callable
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.pvr.plugin.player/main.py", line 804, in <module>
plugin.run()
File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "/storage/.kodi/addons/plugin.video.pvr.plugin.player/main.py", line 586, in choose_stream
addons = folder_streams()
File "/storage/.kodi/addons/plugin.video.pvr.plugin.player/main.py", line 453, in folder_streams
last_time = datetime.datetime.strptime(last_time, '%Y-%m-%dT%H:%M:%S.%f')
TypeError: attribute of type 'NoneType' is not callable
-->End of Python script error report<--
21:25:30.785 T:140459607299840 NOTICE: AddOnLog: PVR IPTV Simple Client: EPG file path is not configured. EPG not loaded.
Posts: 10
Joined: Mar 2015
Reputation:
1
If I delete the "Folder" cache (Rest Cache) I can assign a stream (Chosse Stream) once but the stream can not be played.
Posts: 12,612
Joined: Oct 2014
Reputation:
626
Please use PasteBin.com for logs - let's not bloat the forum database any more than we need.