Jump to content

marcelveldt

Recommended Posts

marcelveldt

I think its something with my server that I run mbs on. I installed mbs(same version and the restore of the data from my main server using the backup plug-in. ) on my other server and everything works with titan 3.1.5. I tried reinstalling and restoring my mbs data but nada. I just don't know what the issue is with my main server.

I think I have a workaround for the problem.

Now the behaviour is that when something fails at serverside all the loading stops. I created some optimizations in the helper-service that should bypass that behaviour...

 

Oh noticed that loading allready fails if there are some special characters in the results so maybe nothing is wrong with your setup but it's just that xbmc can't handle that characters.

 

Please try the attached version of the helper script and let me know the results...

 

script.titanskin.helpers-test.zip

Link to comment
Share on other sites

saitoh183

I think I have a workaround for the problem.

Now the behaviour is that when something fails at serverside all the loading stops. I created some optimizations in the helper-service that should bypass that behaviour...

 

Oh noticed that loading allready fails if there are some special characters in the results so maybe nothing is wrong with your setup but it's just that xbmc can't handle that characters.

 

Please try the attached version of the helper script and let me know the results...

 

attachicon.gifscript.titanskin.helpers-test.zip

 

Error still. Tiles do loadup but then at a point it goes blank (black) and then the error appears

 

545b8d2db30f3_Capture3.jpg

 

545b8d3ec765b_Capture.jpg545b8d4a0476f_Capture2.jpg

Link to comment
Share on other sites

marcelveldt

Error still. Tiles do loadup but then at a point it goes blank (black) and then the error appears

 

OK, problem definitely not related to the skin...

 

I checked your log and this is what I noticed:

09:55:26 T:5844  NOTICE: HTTP response error: 500 Internal Server Error
09:55:30 T:3376  NOTICE: XBMB3C ThemeMusicThread -> updateThemeMusic Called
09:55:30 T:5844  NOTICE: HTTP response error: 500 Internal Server Error
09:55:32 T:3376  NOTICE: XBMB3C ThemeMusicThread -> updateThemeMusic itemGUID :
09:55:32 T:5844   ERROR: Exception in thread Thread-8:
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\threading.py", line 808, in __bootstrap_inner
                                                self.run()
                                              File "C:\Users\htpc\AppData\Roaming\XBMC\addons\plugin.video.xbmb3c\resources\lib\ArtworkLoader.py", line 59, in run
                                                self.run_internal()
                                              File "C:\Users\htpc\AppData\Roaming\XBMC\addons\plugin.video.xbmb3c\resources\lib\ArtworkLoader.py", line 76, in run_internal
                                                self.updateArtLinks()
                                              File "C:\Users\htpc\AppData\Roaming\XBMC\addons\plugin.video.xbmb3c\resources\lib\ArtworkLoader.py", line 308, in updateArtLinks
                                                result01 = self.updateCollectionArtLinks()
                                              File "C:\Users\htpc\AppData\Roaming\XBMC\addons\plugin.video.xbmb3c\resources\lib\ArtworkLoader.py", line 403, in updateCollectionArtLinks
                                                collectionResult = 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
09:55:34 T:3388  NOTICE: Thread LanguageInvoker start, auto delete: false

Can you please try to disable the ThemeMusic service in the XBMB3C settings ?

Link to comment
Share on other sites

marcelveldt

still error

 

Please type in this url in your browser and send me the file that you get (json file):

 

http://192.168.13.198:8096/mediabrowser/Users/63be9f15b3e0726efb3a36aa081d66b1/Items?Limit=10&Recursive=true&SortBy=DateCreated&Fields=Path,Genres,MediaStreams,Overview&SortOrder=Descending&Filters=IsUnplayed&IsVirtualUnaired=false&IsMissing=False&IncludeItemTypes=Photo&format=json

 

If it fails in your browser the problem is within your photo collection in MB3 server.

 

Do you have this problem on all your devices ?

Link to comment
Share on other sites

saitoh183

Please type in this url in your browser and send me the file that you get (json file):

 

http://192.168.13.198:8096/mediabrowser/Users/63be9f15b3e0726efb3a36aa081d66b1/Items?Limit=10&Recursive=true&SortBy=DateCreated&Fields=Path,Genres,MediaStreams,Overview&SortOrder=Descending&Filters=IsUnplayed&IsVirtualUnaired=false&IsMissing=False&IncludeItemTypes=Photo&format=json

 

If it fails in your browser the problem is within your photo collection in MB3 server.

 

Do you have this problem on all your devices ?

 

 

I have no photos in MBS

{"ResponseStatus":{"ErrorCode":"AuthenticationException","Message":"Exception of type 'MediaBrowser.Server.Implementations.Security.AuthenticationException' was thrown.","StackTrace":"   at MediaBrowser.Server.Implementations.Session.SessionManager.ValidateSecurityToken(String token)\r\n   at MediaBrowser.Server.Implementations.HttpServer.Security.AuthService.ValidateUser(IRequest req, IResponse response, IAuthenticated authAttribtues)\r\n   at MediaBrowser.Server.Implementations.HttpServer.Security.AuthService.Authenticate(IRequest request, IResponse response, Object requestDto, IAuthenticated authAttribtues)\r\n   at MediaBrowser.Controller.Net.AuthenticatedAttribute.RequestFilter(IRequest request, IResponse response, Object requestDto)\r\n   at ServiceStack.ServiceStackHost.ApplyRequestFilters(IRequest req, IResponse res, Object requestDto)\r\n   at ServiceStack.Host.RestHandler.ProcessRequestAsync(IRequest httpReq, IResponse httpRes, String operationName)"}}
Edited by saitoh183
Link to comment
Share on other sites

marcelveldt

 

I have no photos in MBS

 

OK, so that's not related. I do see a lot of connection timeouts in your log, wonder why they're there.

Or there is data requested that takes too long to send or it's an error.

 

Could you make another debug log with the attached testversion of helper script ?

I added some extra logging so maybe that way I can narrow down why the images aren't loaded...

 

script.titanskin.helpers-test.zip

Link to comment
Share on other sites

saitoh183

OK, so that's not related. I do see a lot of connection timeouts in your log, wonder why they're there.

Or there is data requested that takes too long to send or it's an error.

 

Could you make another debug log with the attached testversion of helper script ?

I added some extra logging so maybe that way I can narrow down why the images aren't loaded...

 

attachicon.gifscript.titanskin.helpers-test.zip

 

 https://db.tt/Fi7Ii7CB

Link to comment
Share on other sites

marcelveldt

Sorry, the log isn't complete... it ends while the background tasks are still running.

Can you send me the log with XBMB3C debug logging off or just to info ?

Link to comment
Share on other sites

xnappo

I noticed yesterday that I was getting errors in XBMC during startup with the latest addon.  I had to upgrade the server to the 'beta' version...

xnappo

Link to comment
Share on other sites

saitoh183

Sorry, the log isn't complete... it ends while the background tasks are still running.

Can you send me the log with XBMB3C debug logging off or just to info ?

 

https://db.tt/Fi7Ii7CB

 

Titan 2.1.13 , Xbmb3c to 0.9.702, MBS 3.0.5421.0 ...After titan update, i re-installed your helper test

 

There was no error on screen about a timeout

 

Then i shutdown and re-opened and the error popped up even before the main menu screen came up and the only tile that was totally blank was Picture (i did not modify tiles after reset). I removed Picture tile and restarted xbmc...so far no error but i dont think Picture tile was the problem since in my normal config i remove that tile cuz i have no pictures. Here is the log when the error happened

 

https://db.tt/59zfETUu

 

 

I noticed yesterday that I was getting errors in XBMC during startup with the latest addon.  I had to upgrade the server to the 'beta' version...

xnappo

 

My htpc has had the problem even after the update to 3.0.5421.0.

 

Right now i have a second Mbs installed on my other server and everything runs smoothly when xbmb3c is pointing to it. Im stumpped...been at this problem for almost 2 weeks now :(

Link to comment
Share on other sites

marcelveldt

Right now i have a second Mbs installed on my other server and everything runs smoothly when xbmb3c is pointing to it. Im stumpped...been at this problem for almost 2 weeks now :(

Thank you for the log files and your patience on this, it's a really hard problem as you may understand :)

 

So, if you point the XBMB3C addon to your second server all is fine ?

Well, than we have to conclude that the problem is definitely in the server or in the communication between the addon and that server.

Are both servers running the same version ?

Also, on your not-working server, did you try to downgrade it to release or just redo the beta install ?

 

I see some errors in your log that could be related:

 

11:05:06 T:3756  NOTICE: HTTP response error: 500 Internal Server Error

 

08:59:08 T:4884   ERROR: send: "\x81\xdd\xeaFR\xea\x91d\x16\x8b\x9e'p\xd0\xcad\n\xa8\xa7\x05.\xa9\xa9t\x17\xd3\xaf\x02e\xdb\xd3wf\xde\xab\x04j\xab\xacqe\xaf\xae\x05\x13\xd9\xdc\x00d\xab\xae\x03a\x96\xdahk\xc4\xddv`\x96\xbf6!\x9e\x8b/ \x99\xc8jr\xc8\xa7#!\x99\x8b!7\xbe\x9367\xc8\xd0fp\xa3\x8e#<\x9e\x832+\xc8\x97"

 

Maybe you can also look in the MB3 server log from that timestamp if there's a more extended errormessage there ?

The XBMC logs provide no info to work with, all is fine except for the errors like I pasted above...

 

Link to comment
Share on other sites

marcelveldt

I noticed yesterday that I was getting errors in XBMC during startup with the latest addon.  I had to upgrade the server to the 'beta' version...

xnappo

Do you have any ideas what could be the error in here ?

user saitoh183 has a error message on startup in XBMC and his artwork isn't loaded well.

Or do we have to call one of the server devs for help ?

I'm out of options here :)

Link to comment
Share on other sites

saitoh183

Did you also try - just for test- to downgrade your server to release instead of beta ?

With the next beta release the whole authentication mechanism has changed, maybe (but I'm just guessing here) it has something to do with that.

 

I will give it a try...at this point...nothing to lose. it sucks that i cant remember when the problem started...could have maybe narrowed it down

Link to comment
Share on other sites

saitoh183

I will give it a try...at this point...nothing to lose. it sucks that i cant remember when the problem started...could have maybe narrowed it down

 

I dont know when i will get a chance to try this but when i do i will report back.

 

In the meantime both my machines are connected to my other server and things seem to be going well( on gotham and helix) except on both versions (using the latest beta titan skins and xbmb3c) im getting the following error that only affects the Favorite shows and Favorite movie tiles. They at some point start showing blank and eventually come back then go away again.

19:40:40 T:2832   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.13.190:8095/mediabrowser/Items/da777e188bdc760985d7b138f62d0b82/Images/Backdrop/2/e3ab56fe27d389446754d0fb04910a34/original/1920/1080/0?&EnableImageEnhancers=false
19:40:40 T:2684  NOTICE: Thread JobWorker start, auto delete: true
19:40:40 T:2832   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.13.190:8095/mediabrowser/Items/da777e188bdc760985d7b138f62d0b82/Images/Backdrop/2/e3ab56fe27d389446754d0fb04910a34/original/1920/1080/0?&EnableImageEnhancers=false
19:40:40 T:2832   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 404
19:40:40 T:2832  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
19:40:40 T:2832   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 404
19:40:40 T:2832   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
19:40:40 T:2832   ERROR: XFILE::CHTTPDirectory::GetDirectory - Unable to get http directory
19:40:40 T:2832   ERROR: XFILE::CDirectory::GetDirectory - Error getting http://192.168.13.190:8095/mediabrowser/Items/da777e188bdc760985d7b138f62d0b82/Images/Backdrop/2/e3ab56fe27d389446754d0fb04910a34/original/1920/1080/0/?&EnableImageEnhancers=false
19:40:40 T:2832   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.13.190:8095/mediabrowser/Items/da777e188bdc760985d7b138f62d0b82/Images/Backdrop/2/e3ab56fe27d389446754d0fb04910a34/original/1920/1080/0?/620/350/0?&EnableImageEnhancers=false
19:40:40 T:2348  NOTICE: Thread FileCache start, auto delete: false
19:41:25 T:4256  NOTICE: Thread JobWorker start, auto delete: true
19:41:25 T:4256   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.13.190:8095/mediabrowser/Items/7e6e5e54a4b9b3a5f57659df731dd284/Images/Backdrop/2/e3ab56fe27d389446754d0fb04910a34/original/1920/1080/0?&EnableImageEnhancers=false
19:41:25 T:4256   ERROR: Previous line repeats 1 times.
19:41:25 T:4256   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 404
19:41:25 T:4256  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
19:41:25 T:4256   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 404
19:41:25 T:4256   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
19:41:25 T:4256   ERROR: XFILE::CHTTPDirectory::GetDirectory - Unable to get http directory
19:41:25 T:4256   ERROR: XFILE::CDirectory::GetDirectory - Error getting http://192.168.13.190:8095/mediabrowser/Items/7e6e5e54a4b9b3a5f57659df731dd284/Images/Backdrop/2/e3ab56fe27d389446754d0fb04910a34/original/1920/1080/0/?&EnableImageEnhancers=false
19:41:26 T:2512  NOTICE: Thread JobWorker start, auto delete: true
19:41:26 T:4256   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.13.190:8095/mediabrowser/Items/7e6e5e54a4b9b3a5f57659df731dd284/Images/Backdrop/2/e3ab56fe27d389446754d0fb04910a34/original/1920/1080/0?/620/350/0?&EnableImageEnhancers=false
19:41:26 T:2512   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.13.190:8095/mediabrowser/Items/d489716c8d88d933d16a7bfd41b85b5d/Images/Backdrop/1/e3ab56fe27d389446754d0fb04910a34/original/1920/1080/0?/620/350/0?&EnableImageEnhancers=false
 

Also i tried pointing to the cache of the other server (made a copy) and still the same problem

Edited by saitoh183
Link to comment
Share on other sites

saitoh183

Thank you for the log files and your patience on this, it's a really hard problem as you may understand :)

 

So, if you point the XBMB3C addon to your second server all is fine ?

Well, than we have to conclude that the problem is definitely in the server or in the communication between the addon and that server.

Are both servers running the same version ?

Also, on your not-working server, did you try to downgrade it to release or just redo the beta install ?

 

I see some errors in your log that could be related:

 

11:05:06 T:3756  NOTICE: HTTP response error: 500 Internal Server Error

 

08:59:08 T:4884   ERROR: send: "\x81\xdd\xeaFR\xea\x91d\x16\x8b\x9e'p\xd0\xcad\n\xa8\xa7\x05.\xa9\xa9t\x17\xd3\xaf\x02e\xdb\xd3wf\xde\xab\x04j\xab\xacqe\xaf\xae\x05\x13\xd9\xdc\x00d\xab\xae\x03a\x96\xdahk\xc4\xddv`\x96\xbf6!\x9e\x8b/ \x99\xc8jr\xc8\xa7#!\x99\x8b!7\xbe\x9367\xc8\xd0fp\xa3\x8e#<\x9e\x832+\xc8\x97"

 

Maybe you can also look in the MB3 server log from that timestamp if there's a more extended errormessage there ?

The XBMC logs provide no info to work with, all is fine except for the errors like I pasted above...

 

 

Yes both MBS are same version...the non working one is on a Server 2012 R2 Std with the server 2012 Essential Dashboard installed. The working on is on my storage machine which is running Win 8.1 pro. I also jogged it down to a communication but im wondering if there is something on my server that is causing this outside of mbs. I tried disabling the Firewall, MBS logs showed nothing. I tried reinstalling MBS already. Its not something in the DB of mbs because i restored that to my other server and connection to it has been fine. Do you know what that error message is about?

Link to comment
Share on other sites

marcelveldt

Yes both MBS are same version...the non working one is on a Server 2012 R2 Std with the server 2012 Essential Dashboard installed. The working on is on my storage machine which is running Win 8.1 pro. I also jogged it down to a communication but im wondering if there is something on my server that is causing this outside of mbs. I tried disabling the Firewall, MBS logs showed nothing. I tried reinstalling MBS already. Its not something in the DB of mbs because i restored that to my other server and connection to it has been fine. Do you know what that error message is about?

Did you also try - just for test- to downgrade your server to release instead of beta ?

With the next beta release the whole authentication mechanism has changed, maybe (but I'm just guessing here) it has something to do with that.

Link to comment
Share on other sites

marcelveldt

I dont know when i will get a chance to try this but when i do i will report back.

 

In the meantime both my machines are connected to my other server and things seem to be going well( on gotham and helix) except on both versions (using the latest beta titan skins and xbmb3c) im getting the following error that only affects the Favorite shows and Favorite movie tiles. They at some point start showing blank and eventually come back then go away again.

Also i tried pointing to the cache of the other server (made a copy) and still the same problem

That sounds good, strange thing however what is going on with your main server... Hopefully you can manage to fix that.

 

I fixed the issue with the Favorite tiles for you. Available in update of helper-script v.1.2.2

  • Like 1
Link to comment
Share on other sites

marcelveldt

NEW VERSION RELEASED ON OFFICIAL REPO

Hello all,

Just a little heads up that version 2.1.15 is released on the official XBMC repo.
It will be available within the next hours/days (depends on the repo distibution)

What is new in this release ?

- several improvements to the menu system
- New enhanced homescreen (all in one view)
- New views: Fanart and single poster
- Clearlogo's added to views
- all xbmc languages supported (translated by transifex project)
- local trailer support for Kodi and MB3 libraries
- lot's of bugfixes and enhancements

A big thank you for all beta testers to make this release stable again!

 

ZTSJVmzl.png

 

xt3IRtql.png

 

m4T8JEIl.png

 

 

5OZA9Wil.png

 

 

oVs9OAIl.png

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

saitoh183

That sounds good, strange thing however what is going on with your main server... Hopefully you can manage to fix that.

 

I fixed the issue with the Favorite tiles for you. Available in update of helper-script v.1.2.2

 

Where do i get it...it's not in the repo when i refresh...i was only able to update to titan 2.1.15 but helper is still 1.2.1

Link to comment
Share on other sites

marcelveldt

Where do i get it...it's not in the repo when i refresh...i was only able to update to titan 2.1.15 but helper is still 1.2.1

It's on the mediabrowser xbmb3c repo (not the beta)

Link to comment
Share on other sites

Hello, When you have a chance can you take a look at my log?

It freaked when I was messing with the skins preffrences.

When it starts to build it warns Unable to Build Menu.

I would have installed log uploader but not fast enough for the popup..

Thanks!

kodi.log

Link to comment
Share on other sites

saitoh183

I fixed the issue with the Favorite tiles for you. Available in update of helper-script v.1.2.2

 

 

still happening. After i updated i noticed the error happened a few seconds after starting kodi.

 

http://tny.cz/59e51f54 

 

I noticed in that log that there was a error about favorites.xml could not be found, so i go the one from my previous install and remove the content and left it with blank data...jsut the favorite tags. Then i started kodi and the error too k much long er to start

 

https://www.dropbox.com/s/8vypkqhe8unj5a2/kodi.log?dl=0

Link to comment
Share on other sites

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