v16 Kodi on Fire TV... No network access?
#1
Just got a Fire TV, installed Kodi, installed a couple of the video channels (Crackler and PyTV), however when I try to watch anything on these channels, I get an error in the bottom right that sames "something happened, check the logs". I have no idea where event logs are kept. When I try to connect to an external File System source, I get a "could not access network" message, so I'm assuming the issues the video apps are encountering is the network also.

Fire TV is hardwired into my router and Netflix/games/etc all work fine, but Kodi isn't able to access the network it seems.

Any thoughts?

Kodi 16.1/Jarvis on Fire TV Box


edit: BUT.... when I selected to download a new skin for Kodi, it was able to download and install.... not sure if these skins are included in the distro or if they truly were "downloaded" from an external source.
Reply
#2
I just read the Android FAQs, and it gave the location of the logfiles, but they're in a .kodi directory which doesn't appear in the Kodi File Manager. Is there a setting somewhere to make it do an ls -la so hidden directories are visible? Or can I SSH into the Fire TV or something?


edit: ohhhhhhhhhhhh..... I'm gonna have to pull the SD card and mount it on a computer to view the logs, aren't I?
Reply
#3
Check this link Log file/Easy (wiki)

Follow the steps and post the log link in this thread.
Reply
#4
http://paste.ubuntu.com/23091098/


Example which is representative:

Code:
18:42:36 T:18446744072310900416   DEBUG: -->Python Interpreter Initialized<--
18:42:36 T:18446744072310900416   DEBUG: CPythonInvoker(4, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.crackler/default.py): the source file to load is "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.crackler/default.py"
18:42:36 T:18446744072310900416   DEBUG: CPythonInvoker(4, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.crackler/default.py): setting the Python path to /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.crackler:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.common.plugin.cache/lib:/:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.6/lib/python26.zip:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.6/lib/python2.6:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.6/lib/python2.6/plat-linux3:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.6/lib/python2.6/lib-tk:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.6/lib/python2.6/lib-old:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.6/lib/python2.6/lib-dynload
18:42:36 T:18446744072310900416   DEBUG: CPythonInvoker(4, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.crackler/default.py): entering source directory /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.crackler
18:42:36 T:18446744072310900416   DEBUG: CPythonInvoker(4, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.crackler/default.py): instantiating addon using automatically obtained id of "plugin.video.crackler" dependent on version 2.14.0 of the xbmc.python api
18:42:37 T:18446744072291158416   DEBUG: ------ Window Init (DialogBusy.xml) ------
18:42:37 T:18446744072310900416   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: ('v_id',)
                                            Traceback (most recent call last):
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.crackler/default.py", line 194, in <module>
                                                jsonurl = urllib2.urlopen(channel_detail_url % (args_ar['v_id'][0]))
                                            KeyError: ('v_id',)
                                            -->End of Python script error report<--
18:42:37 T:18446744072291158416   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
18:42:37 T:18446744072310900416    INFO: Python script stopped


And a PyTV one:

Code:
18:42:58 T:18446744072311465456   DEBUG: [xbmcswift2] Handling incoming request for /latest
18:42:58 T:18446744072311465456  NOTICE: [xbmcswift2] Request for "/latest" matches rule for function "show_latest"
18:42:58 T:18446744072311465456   DEBUG: [plugin.video.pyvideo] HTTP request: http://pyvideo.org/api/v2/video//?ordering=-added
18:42:58 T:18446744072311465456   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ValueError'>
                                            Error Contents: No JSON object could be decoded
                                            Traceback (most recent call last):
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.pyvideo/addon.py", line 110, in <module>
                                                plugin.run()
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run
                                                items = self._dispatch(self.request.path)
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 306, in _dispatch
                                                listitems = view_func(**items)
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.pyvideo/addon.py", line 74, in show_latest
                                                videos = pyvideo.get_latest()
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.pyvideo/resources/lib/pyvideo.py", line 106, in get_latest
                                                items = get_json(API_VIDEO_URL + '/?ordering=-added')
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.pyvideo/resources/lib/pyvideo.py", line 54, in get_json
                                                return response.json()
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib/requests/models.py", line 808, in json
                                                return complexjson.loads(self.text, **kwargs)
                                              File "/home/jenkins/workspace/Android-ARM/tools/depends/xbmc-depends/arm-linux-androideabi-android-17/lib/python2.6/json/__init__.py", line 307, in loads
                                              File "/home/jenkins/workspace/Android-ARM/tools/depends/xbmc-depends/arm-linux-androideabi-android-17/lib/python2.6/json/decoder.py", line 319, in decode
                                              File "/home/jenkins/workspace/Android-ARM/tools/depends/xbmc-depends/arm-linux-androideabi-android-17/lib/python2.6/json/decoder.py", line 338, in raw_decode
                                            ValueError: No JSON object could be decoded
                                            -->End of Python script error report<--
18:42:58 T:18446744072291158416   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
18:42:58 T:18446744072311465456    INFO: Python script stopped
Reply
#5
Kodi does have a working network connection. I looked this up and it sounds like the issue with Crackler is the add-on author is requiring python 2.7, even though python 2.6 must be used for Kodi v16. I'm not sure if that is the same issue with the other add-on. One possible option is to use Kodi v17 Beta, which will work with Crackler.
Reply
#6
(2016-08-26, 02:11)Ned Scott Wrote: Kodi does have a working network connection. I looked this up and it sounds like the issue with Crackler is the add-on author is requiring python 2.7, even though python 2.6 must be used for Kodi v16. I'm not sure if that is the same issue with the other add-on. One possible option is to use Kodi v17 Beta, which will work with Crackler.

LOL. Ran into a similar issue requesting a cloud server at work. RHEL's 'yum' requires Py 2.6, but any sort of new tools requires 2.7+ (for pip)

I'll load up Kodi 17 and see how it goes.

Thanks.
Reply
#7
Thanks. v.17 works perfectly.
Reply
#8
PyVideo still doesn't work though (but I was able to install and use a "questionable" add-on. wink-wink, nudge-nudge).

Posted the PyVideo issue here:

http://forum.kodi.tv/showthread.php?tid=291650

Again, thanks for the great support.
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi on Fire TV... No network access?0