2015-03-02, 01:59
SOLVED:
After a little research I found Python for Linux default setting is UCS2.
I rebuilt Python from source using "./configure --enable-unicode=ucs4" to force compile using UCS4.
This add-on is working flawlessly now.
After a little research I found Python for Linux default setting is UCS2.
I rebuilt Python from source using "./configure --enable-unicode=ucs4" to force compile using UCS4.
This add-on is working flawlessly now.
(2015-03-01, 12:49)ranmapanda Wrote: I keep getting script failed. Any help will be greatly appreciated.
Using Ubuntu 14.04.2 LTS, Python 2.7.9 (build from source), Kodi 14.1 (Jan. 30. 2015)
Also this addon works perfect using Windows 8.1 as the OS which i believe uses python built into Kodi.
Log:
Code:05:26:36 T:140217105241856 NOTICE: -->Python Interpreter Initialized<--
05:26:37 T:140217105241856 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: /usr/local/lib/python2.7/lib-dynload/pyexpat.so: undefined symbol: PyUnicodeUCS2_DecodeUTF8
Traceback (most recent call last):
File "/home/rp/.kodi/addons/plugin.audio.pandoki/default.py", line 8, in <module>
from pandoki import *
File "/home/rp/.kodi/addons/plugin.audio.pandoki/resources/lib/pandoki/__init__.py", line 1, in <module>
from pandoki import Val, Prop, Pandoki
File "/home/rp/.kodi/addons/plugin.audio.pandoki/resources/lib/pandoki/pandoki.py", line 3, in <module>
import asciidamnit, musicbrainzngs, mypithos
File "/home/rp/.kodi/addons/plugin.audio.pandoki/resources/lib/musicbrainzngs/__init__.py", line 1, in <module>
from musicbrainzngs.musicbrainz import *
File "/home/rp/.kodi/addons/plugin.audio.pandoki/resources/lib/musicbrainzngs/musicbrainz.py", line 15, in <module>
from xml.parsers import expat
File "/usr/local/lib/python2.7/xml/parsers/expat.py", line 4, in <module>
from pyexpat import *
ImportError: /usr/local/lib/python2.7/lib-dynload/pyexpat.so: undefined symbol: PyUnicodeUCS2_DecodeUTF8
-->End of Python script error report<--
05:26:37 T:140218355288000 ERROR: GetDirectory - Error getting plugin://plugin.audio.pandoki/
05:26:37 T:140218355288000 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.pandoki/) failed
05:26:37 T:140217105241856 NOTICE: Thread BackgroundLoader start, auto delete: false