Error in Kodi caused by firmware > 1.0.2.9

Discussion in 'ZIDOO X9' started by DragonFly, Jun 13, 2015.

  1. DragonFly

    DragonFly Member

    This had been bugging me for days. I’ve got several newer X9’s (on firmware 1.0.3.2) and one I’ve got since this forum started (now on firmware 1.0.2.9). All these boxed are primarily intended to run Kodi and most important, the Kodi addons.

    One of the addons is called Veetle. This addon is needed for several other streaming plug-ins. If Veetle doesn’t work the addon which depends on this don’t work either.

    On the “original” X9, the veetle addon works as it should. The other X9 boxes have a Kodi 'one on one' copy (same userdata), no other apps installed (but Kodi) and on these boxes the addon fails, producing some of these errors:

    Code:
    18:59:39 T:1815093768  ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
    
      - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
    
      Error Type: <class 'socket.error'>
      Error Contents: (98, 'Address already in use')
      Traceback (most recent call last):
      File "/mnt/sdcard/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.veetle/akamaiSecureHD.py", line 271, in <module>
      httpd = server_class((HOST_NAME, PORT_NUMBER), MyHandler)
      File "/home/jenkins/workspace/Android-ARM/tools/depends/xbmc-depends/arm-linux-androideabi-android-17/lib/python2.6/SocketServer.py", line 400, in __init__
      File "/home/jenkins/workspace/Android-ARM/tools/depends/xbmc-depends/arm-linux-androideabi-android-17/lib/python2.6/BaseHTTPServer.py", line 108, in server_bind
      File "/home/jenkins/workspace/Android-ARM/tools/depends/xbmc-depends/arm-linux-androideabi-android-17/lib/python2.6/SocketServer.py", line 411, in server_bind
      File "<string>", line 1, in bind
      error: (98, 'Address already in use')
    
    19:11:57 T:1793689728 WARNING: CPythonInvoker(26): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
    19:11:59 T:1583828984  ERROR: CCurlFile::Stat - Failed: Failure when receiving data from the peer(56) for http://127.0.0.1:9000/veetle/aHR0cDovLzE1NC41Ny4xNDUuNzg6ODAvZmx2LzU1NDQzYmIwYjljNTAvdGVzdGF0MTIz
    19:11:59 T:1583828984  NOTICE: ADDON: Loaded virtual child addon special://temp/audiodecoder.nosefart-000.so
    19:11:59 T:1583828984 WARNING: virtual bool XFILE::CPosixFile::Delete(const CURL&): Can't access file "/data/app-lib/org.xbmc.kodi-2/libaudiodecoder.nosefart.so"
    19:11:59 T:1583828984  ERROR: static bool XFILE::CFile::Delete(const CURL&) - Error deleting file /data/app-lib/org.xbmc.kodi-2/libaudiodecoder.nosefart.so
    19:11:59 T:1583828984  NOTICE: DVDPlayer: Opening: http://127.0.0.1:9000/veetle/aHR0cDovLzE1NC41Ny4xNDUuNzg6ODAvZmx2LzU1NDQzYmIwYjljNTAvdGVzdGF0MTIz
    19:11:59 T:1583828984 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
    19:11:59 T:1799234832  NOTICE: Thread DVDPlayer start, auto delete: false
    19:11:59 T:1799234832  NOTICE: Creating InputStream
    19:11:59 T:1799234832  ERROR: CCurlFile::Stat - Failed: Failure when receiving data from the peer(56) for http://127.0.0.1:9000/veetle/aHR0cDovLzE1NC41Ny4xNDUuNzg6ODAvZmx2LzU1NDQzYmIwYjljNTAvdGVzdGF0MTIz
    19:11:59 T:1799234832  ERROR: CCurlFile::FillBuffer - Failed: Failure when receiving data from the peer(56)
    19:11:59 T:1799234832  ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
    19:11:59 T:1799234832  ERROR: virtual bool XFILE::CFileCache::Open(const CURL&) - failed to open source <http://127.0.0.1:9000/veetle/aHR0cDovLzE1NC41Ny4xNDUuNzg6ODAvZmx2LzU1NDQzYmIwYjljNTAvdGVzdGF0MTIz>
    19:11:59 T:1799234832  ERROR: CDVDPlayer::OpenInputStream - error opening [http://127.0.0.1:9000/veetle/aHR0cDovLzE1NC41Ny4xNDUuNzg6ODAvZmx2LzU1NDQzYmIwYjljNTAvdGVzdGF0MTIz]
    19:11:59 T:1799234832  NOTICE: CDVDPlayer::OnExit()
    19:11:59 T:1583828984  ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.veetle/?channel=55443bb0b9c50]
    Notice the can't acces part....

    I’ve spent days trying to figure out what caused this error:
    • Tried several Kodi versions
    • Tried copies of userdata folders
    • Tried fresh install with just the Veetle addon (and it’s dependencies like common.cache.plugin
    • Tried upgrading firmware (1.0.3.3)
    On all instances the Veetle addon failed. The ONLY differences was the fact that the original box was running 1.0.2.9

    So I downgraded one of the newer boxes to 1.0.2.9 and guess what, the Addons worked as expected. So it probably has to do with changes made in the firmware after 1.0.2.9. Perhaps it's a permission thing (The error log shows Python can't access a Kodi library in /data) or perhaps something else

    Please fix this so I can upgrade Firmware
     
  2. DragonFly

    DragonFly Member

    If fixing this problem is an issue, is there a possibility to suppress the OTA firmware upgrade message?
     
  3. DragonFly

    DragonFly Member

    Edit:
    Replacing the original akamaiSecureHD.py with the one from http://code.google.com/p/membrane-x...unk/plugin.video.puls4sport/akamaiSecureHD.py seems to overcome the akamaiSecureHD.py errors

    However, the 'script.common.plugin.cache' still seems to choke on a character:

    Code:
    10:29:54 T:1717131256  ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
      - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
      Error Type: <type 'exceptions.UnicodeEncodeError'>
      Error Contents: 'ascii' codec can't encode character u'\xed' in position 2409: ordinal not in range(128)
      Traceback (most recent call last):
      File "/mnt/sdcard/Android/data/org.xbmc.kodi/files/.kodi/addons/script.common.plugin.cache/default.py", line 40, in <module>
      run()
      File "/mnt/sdcard/Android/data/org.xbmc.kodi/files/.kodi/addons/script.common.plugin.cache/default.py", line 35, in run
      s.run()
      File "/mnt/sdcard/Android/data/org.xbmc.kodi/files/.kodi/addons/script.common.plugin.cache/lib/StorageServer.py", line 247, in run
      self._runCommand(data)
      File "/mnt/sdcard/Android/data/org.xbmc.kodi/files/.kodi/addons/script.common.plugin.cache/lib/StorageServer.py", line 173, in _runCommand
      res = self._sqlSet(data["table"], data["name"], data["data"])
      File "/mnt/sdcard/Android/data/org.xbmc.kodi/files/.kodi/addons/script.common.plugin.cache/lib/StorageServer.py", line 420, in _sqlSet
      self._log(u"Insert : " + data.decode('utf8', 'ignore'), 3)
      File "/home/jenkins/workspace/Android-ARM/tools/depends/xbmc-depends/arm-linux-androideabi-android-17/lib/python2.6/encodings/utf_8.py", line 16, in decode
      UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 2409: ordinal not in range(128)
      -->End of Python script error report<--
    This must be caused by changes in the Android firmware. It worked on a older firmware. So where in the Android settings could this be fixed?

    Against by better judgment, I did a total reset of the X9, left all of the setting to their default values, started the supplied Zidoo Kodi 4.1 version and installed the Veetle addon.

    As I expected the addon failed with the above mentioned errors :-(
     
    Last edited: Jun 18, 2015

Share This Page