Raspberry Pi 3
uname -a
Linux osmc-mbr 4.9.29-8-osmc #1 SMP PREEMPT Fri Jun 16 21:37:12 UTC 2017 armv7l GNU/Linux
Trying to run pandora. Perhaps this isn’t the right place to post. I will delete if so.
On running Script, Pandora spogie-1.2.12
13:50:04.691 T:1544586224 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<–
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type ‘exceptions.ImportError’>
Error Contents: No module named simplejson
Traceback (most recent call last):
File “/home/osmc/.kodi/addons/script.xbmc.pandora/default.py”, line 18, in
from pandora.pandora import Pandora, PandoraError
File “/home/osmc/.kodi/addons/script.xbmc.pandora/pandora/init.py”, line 17, in
from pandora import *
File “/home/osmc/.kodi/addons/script.xbmc.pandora/pandora/pandora.py”, line 20, in
import simplejson as json
ImportError: No module named simplejson
–>End of Python script error report<–
Is this a known issue ?
ADD: I guess I will be back watching on the Roku until i can figure out what is wrong.
Hi,
Have you tried reinstalling the Addon, as it appears at least one of its dependences is missing.
Failing that install the missing depend:
apt-get python-simplejson
Thanks Tom.
apt-get install python-simplejson worked. But I still get…
15:03:57.958 T:1461711856 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: ‘module’ object has no attribute ‘PLAYER_CORE_MPLAYER’
Traceback (most recent call last):
File “/home/osmc/.kodi/addons/script.xbmc.pandora/default.py”, line 246, in
panda = Panda()
File “/home/osmc/.kodi/addons/script.xbmc.pandora/default.py”, line 97, in init
self.player = PandaPlayer( panda = self )
File “/home/osmc/.kodi/addons/script.xbmc.pandora/pandaplayer.py”, line 7, in init
xbmc.Player.init( self, xbmc.PLAYER_CORE_MPLAYER )
AttributeError: ‘module’ object has no attribute ‘PLAYER_CORE_MPLAYER’
–>End of Python script error report<–
Hi,
Are you sure you are running the latest version of the addon?
If you I think you will need to take this up with the addon developers or over at the kodi forums, as I think the PLAYER_CORE_MPLAYER module is no longer used in kodi 17.
Thanks Tom.
I gave up on the Pandora addon, and instead use the Pandora plugin called Pandoki.
3 Likes
I second @Karnage. Pandoki works great — better interface than the defunct Pandora add-on too
1 Like