Jump to content

Kodi Beta version discussion thread


im85288

Recommended Posts

Angelblue05

Sounds good, I just wanted to make sure errors don't get into the stable version  :D

 

Edit: I don't know if it's something to do with one profile having http enabled (remote server) and the other profile working locally (my local server). 

Edited by Angelblue05
Link to comment
Share on other sites

im85288

@@Angelblue05 - can you try this again with the latest version? The error shown above should not be occurring any longer.

 

In the longer term the skin your using (AeonMQ5 I think) needs to be updated to not use the "skin" method for pulling in the various skin nodes. This now happens automatically and is implemented in 1080XF along with Titan.

Link to comment
Share on other sites

Angelblue05

Unfortunately, I'm still experiencing the error with 0.9.746. Its only when switching back to my profile, it loads fine the first time, then I switch/switch back and then it gives me the error. I look at other download utils and its always "http://192.168.0.190" and when I switch back its "192.168.0.190".

17:05:31 T:19276  NOTICE: XBMB3C DownloadUtils -> DOWNLOAD_URL = 192.168.0.190:8096/mediabrowser/Users/a1bb43b93687d6361173a92774062f64/Items/Root?format=json
17:05:31 T:19276  NOTICE: XBMB3C DownloadUtils -> DownloadUtils -> Returning saved UserID : a1bb43b93687d6361173a92774062f64UserName: AngelnDaniel
17:05:31 T:19276  NOTICE: XBMB3C DownloadUtils -> DownloadUtils -> Returning saved AccessToken for user : AngelnDaniel token: ac92ca53dcab48e380dea2fd959ba3a9
17:05:31 T:19276  NOTICE: XBMB3C DownloadUtils -> Authentication Header : {'Accept-Charset': 'UTF-8,*', 'Accept-encoding': 'gzip', 'Authorization': 'MediaBrowser UserId="a1bb43b93687d6361173a92774062f64",Client="XBMC",Device="XBMC",DeviceId="D736AAF672FA494EA4A020CC9E2948BE",Version="0.9.746"', 'X-MediaBrowser-Token': 'ac92ca53dcab48e380dea2fd959ba3a9'}
17:05:31 T:19276  NOTICE: XBMB3C DownloadUtils -> HEADERS : {'Accept-Charset': 'UTF-8,*', 'Accept-encoding': 'gzip', 'Authorization': 'MediaBrowser UserId="a1bb43b93687d6361173a92774062f64",Client="XBMC",Device="XBMC",DeviceId="D736AAF672FA494EA4A020CC9E2948BE",Version="0.9.746"', 'X-MediaBrowser-Token': 'ac92ca53dcab48e380dea2fd959ba3a9'}
17:05:31 T:2216  NOTICE: HTTP response error: 400 ArgumentNullException
17:05:31 T:10308  NOTICE: HTTP response error: 500 NullReferenceException
17:05:31 T:10308  NOTICE: Previous line repeats 1 times.
17:05:31 T:10308  NOTICE: XBMB3C SkinHelperThread -> [MB3 SkinHelper] exception in SetMB3WindowProperties: No JSON object could be decoded
17:05:31 T:19276  NOTICE: HTTP response error: 500 NullReferenceException
17:05:31 T:10176  NOTICE: Previous line repeats 1 times.
17:05:31 T:10176  NOTICE: -->Python Interpreter Initialized<--
17:05:31 T:6436  NOTICE: -->Python Interpreter Initialized<--
17:05:31 T:892  NOTICE: -->Python Interpreter Initialized<--
17:05:31 T:17124  NOTICE: -->Python Interpreter Initialized<--
17:05:31 T:16148  NOTICE: -->Python Interpreter Initialized<--
17:05:31 T:20584  NOTICE: -->Python Interpreter Initialized<--
17:05:31 T:14544  NOTICE: Previous line repeats 1 times.
17:05:31 T:15584  NOTICE: Previous line repeats 1 times.
17:05:31 T:15584  NOTICE: -->Python Interpreter Initialized<--
17:05:31 T:19276   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 "C:\Users\Corruption\AppData\Roaming\XBMC\addons\plugin.video.xbmb3c\default.py", line 39, in <module>
                                                MainModule.MainEntryPoint()
                                              File "C:\Users\Corruption\AppData\Roaming\XBMC\addons\plugin.video.xbmb3c\resources\lib\MainModule.py", line 1501, in MainEntryPoint
                                                skin()
                                              File "C:\Users\Corruption\AppData\Roaming\XBMC\addons\plugin.video.xbmb3c\resources\lib\MainModule.py", line 506, in skin
                                                allSections = getCollections()
                                              File "C:\Users\Corruption\AppData\Roaming\XBMC\addons\plugin.video.xbmb3c\resources\lib\MainModule.py", line 200, in getCollections
                                                result = json.loads(jsonData)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\json\__init__.py", line 338, in loads
                                                return _default_decoder.decode(s)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\json\decoder.py", line 365, in decode
                                                obj, end = self.raw_decode(s, idx=_w(s, 0).end())
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\json\decoder.py", line 383, in raw_decode
                                                raise ValueError("No JSON object could be decoded")
                                            ValueError: No JSON object could be decoded
                                            -->End of Python script error report<--

Here's the full log: http://pastebin.com/GLfT7aKV

 

@@xnappo here's the log (attached directly in the post) that contains the same day/time as the error. You are right, this should give you a bit more information.

server-63555062400.txt

Edited by Angelblue05
Link to comment
Share on other sites

xnappo

This will definitely help, but unfortunately I have gotten a bit out of touch with this process.

 

@@im85288 @@Luke @ - the you can see in the log at this timestamp:

 

2014-12-25 17:05:31.3691

 

We are getting a Null exception for 'user'.  Is that something from the headers?  I am guessing something to do with authenticating again when he switches users?

Link to comment
Share on other sites

i haven' looked too closely but i think the issue comes down to you're trying to get a user record before authentication, and you can't do that. after authenticating the AuthenticationResult object will have a User property that gives it to you

Link to comment
Share on other sites

xnappo

All - I updated a new version 0.9.750 to the repo.  This may have a controversial change.  Now that XBMC properly handles extra data for year, rating etc, I have removed the server-side sorting requests and replaced it with the native sorting. 

 

In the skin I use, this sorting is changed by hitting 'left' while in a list. 

 

There may be places where I don't have the default sorting quite right, if you find such a case let me know.

 

xnappo

 

P.S. @@Angelblue05 - no, I haven't fixed your issue, I am hoping @@im85288 understands what is happening and can fix it.

Link to comment
Share on other sites

im85288

@@Angelblue05 - I tried something in version 0.9.752 but I'm not confident as I'm struggling to see what could be causing the nullreferenceexception. Anyway, the change is worth a try so fingers crossed. 

Link to comment
Share on other sites

Angelblue05

I didn't work :( Same error on 0.9.752...I will keep you guys updated if I find something relevant....Time to investigate the problem :)

 

@@im85288 thanks for trying to solve the problem, I know it's kinda weird...I don't understand why I seem to be the only person experiencing it and I'm not sure how to reproduce the problem. Is it the profile switch? Is it having one remote server, one local server?

 

Current scenario:

  • I turn on XBMC, it's on my profile AngelnDaniel - local server. Everything works great.
  • Switch to profile Angel_saitoh - remote server. Everything works great.
  • Switch back to my profile AngelnDaniel - local server. I get the Null Exception error and the script failed.

I've tried switching back to Angel_saitoh profile after getting the error and everything works great.

xbmc.log

Edited by Angelblue05
Link to comment
Share on other sites

Angelblue05

@@im85288, @@xnappo and @

 

I think I figured it out. It doesn't seem to use the same userID after the profile switch/switch back to original profile. It may be a cache or timing issue or just simply it doesn't verify the userID when profile switching? Because the ID being return is the same userID as my account's on the remote server.

 

When I start XBMC and everything is working:

18:10:30 T:868  NOTICE: XBMB3C DownloadUtils -> Looking for user name: AngelnDaniel
18:10:30 T:868  NOTICE: XBMB3C DownloadUtils -> DownloadUtils -> Returning saved AccessToken for user : AngelnDaniel token: ac92ca53dcab48e380dea2fd959ba3a9
18:10:30 T:868  NOTICE: XBMB3C DownloadUtils -> userid : 6a9cb6714653c32997a4ef3d56a13743

When I switch to remote server:

18:11:02 T:4980  NOTICE: XBMB3C DownloadUtils -> DOWNLOAD_URL = http://remoteserver.com:8096/mediabrowser/Users/a1bb43b93687d6361173a92774062f64/items?ParentId=e1534560d220cd3e1da5ed6a886cdc8a&Sortby=SortName&format=json
18:11:02 T:4980  NOTICE: XBMB3C DownloadUtils -> DownloadUtils -> Returning saved UserID : a1bb43b93687d6361173a92774062f64UserName: Angel
18:11:02 T:4980  NOTICE: XBMB3C DownloadUtils -> DownloadUtils -> Returning saved AccessToken for user : Angel token: 6a193417860f46f1a1e48971e57ee501

When I get the error, here the userID:

18:11:10 T:7272  NOTICE: XBMB3C DownloadUtils -> DOWNLOAD_URL = http://192.168.0.190:8096/mediabrowser/Users/a1bb43b93687d6361173a92774062f64/Items/Root?format=json
18:11:10 T:7272  NOTICE: XBMB3C DownloadUtils -> DownloadUtils -> Returning saved UserID : a1bb43b93687d6361173a92774062f64UserName: AngelnDaniel
18:11:10 T:7272  NOTICE: XBMB3C DownloadUtils -> DownloadUtils -> Returning saved AccessToken for user : AngelnDaniel token: ac92ca53dcab48e380dea2fd959ba3a9
Edited by Angelblue05
Link to comment
Share on other sites

im85288

@@Angelblue05 - That is very strange...I can see what your reporting but not how it got into that state. I have attempted another change so please try in 0.9.753

Link to comment
Share on other sites

xnappo

@@im85288 - FYI getting settings is very slow, and one of the changes you made hit settings for every single item and slowed things down.  I checked in a change that should be equivalent, but we'll see if the repo version fixes the issue first.

 

xnappo

Edited by xnappo
Link to comment
Share on other sites

xnappo

LAST CALL FOR BETA TESTING! 

 

Other than AngelBlue05's issue, I am pretty happy with the Beta repo.  Once that issue is fixed I am going to push to stable.

 

FAST DATA will be the DEFAULT setting - so please be sure to test it!  

 

xnappo

Link to comment
Share on other sites

JohnVee

All - I updated a new version 0.9.750 to the repo.  This may have a controversial change.  Now that XBMC properly handles extra data for year, rating etc, I have removed the server-side sorting requests and replaced it with the native sorting. 

 

In the skin I use, this sorting is changed by hitting 'left' while in a list. 

 

There may be places where I don't have the default sorting quite right, if you find such a case let me know.

 

xnappo

 

P.S. @@Angelblue05 - no, I haven't fixed your issue, I am hoping @@im85288 understands what is happening and can fix it.

 

Hey guys, great work you all are doing here. Just wanted to chime in on these latest changes. A couple things I really liked about Media Browser was changed here.

 

One being the sort by year, or premiere date option...Media Browser does this perfectly. It shows all the newest movies in your collection by the actual date it was released...month/day/year. Now when sorting by year, it will take, say for instance, all the 2014 movies, and group them all together alphabetically. It makes a lot more sense to me the way Media Browser does it.

 

When you say XBMC now properly handles extra data for year, It may be that both Titan and 1080 haven't been updated yet?

 

The other thing is sorting by name now doesn't exclude anything like "A" "AN" or any other special characters. Only "The" is excluded..For example, the first movie in my collection now is The 'Burbs, when it should be in the B's.

 

Really liked the way it was before, just putting my 2 cents in.

 

Thanks guys, keep up the great work :)

Link to comment
Share on other sites

dark_slayer

Update works fine on existing install. New install throws non-dismissable username not found errors. Stable add-on does as well

Link to comment
Share on other sites

i think i see the problem in the code and once the guys are online i'm sure they'll have a look at it. stay tuned :)

Link to comment
Share on other sites

dark_slayer

Still head scratching a little as to why my existing installs aren't hammering me with the same errors. I run beta on all three now (including the new)

Link to comment
Share on other sites

looking at the code it appears if you have saved credentials you will be fine. so i think if you were to do an explicit logout you would probably run into the problem.

 

i have never debugged the add-on so i could be all wrong, this is just my own observation from glancing at some of the code.

Link to comment
Share on other sites

Angelblue05

@@Angelblue05 - That is very strange...I can see what your reporting but not how it got into that state. I have attempted another change so please try in 0.9.753

 

I've tried the update, but I keep getting the error "Username not found" constantly. I had to exit XBMC and restore an older version of the add-on to get things working again. I can't confirm if this fixes my issue or not as I was unable to do anything once I updated.

Link to comment
Share on other sites

im85288

Can you try version 0.9.754, this should resolve the problem 

Edited by im85288
  • Like 1
Link to comment
Share on other sites

im85288

There's a new version available 0.9.755

 

This one has further speed improvements and a new autoplay rest of the unplayed episodes in a season feature that needs tested. You can turn it on in the settings and it works from widgets etc.

 

7PNHM4V.png

Link to comment
Share on other sites

Angelblue05

Can you try version 0.9.754, this should resolve the problem 

 

Ty ty ty ty for fixing my problem!! :D  BTW did you push 0.9.755 already, because it can't find the update it seems.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...