Page 1 of 1

1.1.0RC1 and B1 Glitter no status update

Posted: July 6th, 2016, 1:30 pm
by ErikBrown
Glitter/night as alternative skin
Windows 10

In both 1.1.0B1 and 1.1.0RC1 the following status pages do not get updated with actual data:

Image

Image

Image

Re: 1.1.0RC1 and B1 Glitter no status update

Posted: July 6th, 2016, 4:07 pm
by safihre
Before clicking on status, could you right click anywhere on the page and select Inspect?
This should bring up Chrome/Firefox HTML inspector. Try to open the tab that says Console.
With the Console open, click on the Status page. Now there should come an error in the console, can you copy and paste it here?

Re: 1.1.0RC1 and B1 Glitter no status update

Posted: July 7th, 2016, 2:13 am
by ErikBrown
Opening the console tab in Firefox gives directly the following message:

mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create

Clicking then on status does not add any message. When I do the same in Chrome, there is no message at all.

Re: 1.1.0RC1 and B1 Glitter no status update

Posted: July 7th, 2016, 3:04 am
by safihre
Strange!

Could you maybe try and opening this URL?
http://localhost:8080/sabnzbd/tapi?mode ... UR_API_KEY

Assuming you run it on localhost and port 8080?

Re: 1.1.0RC1 and B1 Glitter no status update

Posted: July 7th, 2016, 11:15 am
by ErikBrown
That results in the following:

{"status": {"downloaddir": "C:\\SABnzbd\\incomplete", "diskspace2_norm": "774.1 G", "dnslookup": "OK", "active_lang": "en", "servers": [{"servertotalconn": 8, "serverssl": true, "serveractiveconn": 8, "serveroptional": 0, "serverconnections": [{"thrdnum": 5, "nzo_name": "xxxxxxx", "nzf_name": "xxxxxxxxxxx", "art_name": "[email protected]"}], "servername": "ssl.hitnews.com", "serveractive": true, "servererror": "", "serverpriority": 0}, {"servertotalconn": 2, "serverssl": 0, "serveractiveconn": 0, "serveroptional": 0, "serverconnections": [], "servername": "free.xsusenet.com", "serveractive": true, "servererror": "", "serverpriority": 1}], "session": "12345678900f87969123456789012345", "speedlimit_abs": "314572.8", "downloaddirspeed": 0, "completedirspeed": 0, "ipv6": "2001:0:5ee5:79eb:4ef:32ef:ae9c:5ee", "diskspacetotal2": "931.07", "darwin": false, "configfn": "C:\\Users\\Erik\\AppData\\Local\\sabnzbd\\sabnzbd.ini", "last_warning": "", "have_warnings": "0", "pause_int": "0", "logfile": "C:\\SABnzbd\\logs\\sabnzbd.log", "pp_pause_event": false, "diskspacetotal1": "931.07", "cpumodel": null, "loadavg": "", "cache_max": "268435456", "speedlimit": "30", "webdir": null, "left_quota": "0 ", "diskspace1_norm": "774.1 G", "localipv4": "192.168.1.5", "pid": 3772, "paused": false, "restart_req": false, "power_options": true, "helpuri": "https://sabnzbd.org/wiki/", "uptime": "9m", "publicipv4": "112.136.123.211", "my_home": "C:\\Users\\Erik", "version": "1.1.0RC1", "my_lcldata": "C:\\Users\\Erik\\AppData\\Local\\sabnzbd", "color_scheme": "Night", "new_release": "", "nt": true, "folders": ["xxxxxx", "xxxxxxxxxx", "xxxxxxxxxxxxxxxx"], "weblogfile": "C:\\SABnzbd\\logs\\cherrypy.log", "cache_art": "41", "warnings": [], "dashrefreshcounter": 0, "finishaction": null, "paused_all": false, "quota": "0 ", "cache_size": "30 MB", "diskspace2": "774.06", "diskspace1": "774.06", "completedir": "C:\\SABnzbd\\Download", "have_quota": false, "loglevel": "0", "pystone": 49212, "new_rel_url": ""}}

Re: 1.1.0RC1 and B1 Glitter no status update

Posted: July 8th, 2016, 1:36 am
by safihre
Hmmm this is very strange... Everything seems completely fine..
So when you use Internet Explorer it also happens?

And on 1.0.3 all was fine?

Re: 1.1.0RC1 and B1 Glitter no status update

Posted: December 29th, 2016, 2:44 am
by ErikBrown
This issue with the status page not working in Glitter (but working in Smpl) is still happening for me, also in 1.2.0 beta 1. I tried again what you had asked before, which was:

Before clicking on status, could you right click anywhere on the page and select Inspect?
This should bring up Chrome/Firefox HTML inspector. Try to open the tab that says Console.
With the Console open, click on the Status page. Now there should come an error in the console, can you copy and paste it here?

And I get the following in Firefox:

GET
http://192.168.1.5:8090/m/ [HTTP/1.1 200 OK 1281ms]
GET
XHR
http://192.168.1.5:8090/m/tapi [HTTP/1.1 200 OK 16ms]
GET
XHR
http://192.168.1.5:8090/m/tapi [HTTP/1.1 200 OK 0ms]
Error in parsing value for ‘background-color’. Declaration dropped. m
GET
http://192.168.1.5:8090/m/static/bootst ... ap.min.css [HTTP/1.1 200 OK 0ms]
GET
http://192.168.1.5:8090/m/static/styles ... litter.css [HTTP/1.1 200 OK 0ms]
GET
http://192.168.1.5:8090/m/static/styles ... mobile.css [HTTP/1.1 200 OK 0ms]
GET
http://192.168.1.5:8090/m/static/styles ... /Night.css [HTTP/1.1 200 OK 0ms]
Error in parsing value for ‘-webkit-text-size-adjust’. Declaration dropped. bootstrap.min.css:10:54
Unknown pseudo-class or pseudo-element ‘-webkit-inner-spin-button’. Ruleset ignored due to bad selector. bootstrap.min.css:10:1466
Unknown pseudo-class or pseudo-element ‘-webkit-search-cancel-button’. Ruleset ignored due to bad selector. bootstrap.min.css:10:1700
Unknown property ‘orphans’. Declaration dropped. bootstrap.min.css:10:2613
Unknown property ‘widows’. Declaration dropped. bootstrap.min.css:10:2622
Unknown property ‘-moz-osx-font-smoothing’. Declaration dropped. bootstrap.min.css:11:31676
Expected color but found ‘auto’. Expected color but found ‘-webkit-focus-ring-color’. Expected end of value but found ‘-webkit-focus-ring-color’. Error in parsing value for ‘outline’. Declaration dropped. bootstrap.min.css:12:12018
Error in parsing value for ‘margin-top’. Declaration dropped. bootstrap.min.css:12:32049
Expected color but found ‘auto’. Expected color but found ‘-webkit-focus-ring-color’. Expected end of value but found ‘-webkit-focus-ring-color’. Error in parsing value for ‘outline’. Declaration dropped. bootstrap.min.css:12:32296
Unknown pseudo-class or pseudo-element ‘-ms-input-placeholder’. Ruleset ignored due to bad selector. bootstrap.min.css:12:33227
Unknown pseudo-class or pseudo-element ‘-webkit-input-placeholder’. Ruleset ignored due to bad selector. bootstrap.min.css:12:33275
Expected media feature name but found ‘-webkit-min-device-pixel-ratio’. bootstrap.min.css:12:33597
Error in parsing value for ‘margin-top’. Declaration dropped. bootstrap.min.css:12:34710
Unknown property ‘touch-action’. Declaration dropped. bootstrap.min.css:12:41651
Unknown property ‘user-select’. Declaration dropped. bootstrap.min.css:12:41759
Expected color but found ‘auto’. Expected color but found ‘-webkit-focus-ring-color’. Expected end of value but found ‘-webkit-focus-ring-color’. Error in parsing value for ‘outline’. Declaration dropped. bootstrap.min.css:12:41960
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.min.css:12:42306
Expected color but found ‘solid\9 ’. Expected end of value but found ‘solid\9 ’. Error in parsing value for ‘border-top’. Declaration dropped. bootstrap.min.css:12:52834
Expected ‘none’, URL, or filter function but found ‘progid’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.min.css:12:54201
Expected color but found ‘solid\9 ’. Expected end of value but found ‘solid\9 ’. Error in parsing value for ‘border-bottom’. Declaration dropped. bootstrap.min.css:12:54746
Error in parsing value for ‘background-image’. Declaration dropped. bootstrap.min.css:12:82985
Error in parsing value for ‘background-image’. Declaration dropped. bootstrap.min.css:12:83890
Error in parsing value for ‘background-image’. Declaration dropped. bootstrap.min.css:12:84516
Error in parsing value for ‘background-image’. Declaration dropped. bootstrap.min.css:12:85148
Error in parsing value for ‘background-image’. Declaration dropped. bootstrap.min.css:12:85778
Unknown property ‘zoom’. Declaration dropped. bootstrap.min.css:12:86214
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.min.css:12:103457
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.min.css:12:103566
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.min.css:12:104775
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.min.css:12:104828
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.min.css:12:105997
Unknown property ‘line-break’. Declaration dropped. bootstrap.min.css:12:106034
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.min.css:12:106059
Unknown property ‘line-break’. Declaration dropped. bootstrap.min.css:12:108041
Expected media feature name but found ‘transform-3d’. bootstrap.min.css:12:109879
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.min.css:12:111185
Error in parsing value for ‘background-image’. Declaration dropped. bootstrap.min.css:12:111341
Expected ‘none’, URL, or filter function but found ‘progid’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.min.css:12:111600
Error in parsing value for ‘background-image’. Declaration dropped. bootstrap.min.css:12:111884
Expected ‘none’, URL, or filter function but found ‘progid’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.min.css:12:112143
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. bootstrap.min.css:12:112368
Expected color but found ‘#\30 00\9 ’. Error in parsing value for ‘background-color’. Declaration dropped. bootstrap.min.css:12:113317
Unknown pseudo-class or pseudo-element ‘-ms-clear’. Ruleset ignored due to bad selector. glitter.css:1157:19
Unknown pseudo-class or pseudo-element ‘-webkit-input-placeholder’. Ruleset ignored due to bad selector. Night.css:224:2
Unknown pseudo-class or pseudo-element ‘-ms-input-placeholder’. Ruleset ignored due to bad selector. Night.css:233:1
Error in parsing value for ‘background-color’. Declaration dropped. m
GET
XHR
http://192.168.1.5:8090/m/tapi [HTTP/1.1 200 OK 16ms]
GET
XHR
http://192.168.1.5:8090/m/tapi [HTTP/1.1 200 OK 16ms]
GET
XHR
http://192.168.1.5:8090/m/tapi [0ms]
GET
http://192.168.1.5:8090/m/static/styles ... /Night.css [HTTP/1.1 200 OK 0ms]
GET
http://192.168.1.5:8090/m/static/styles ... litter.css [HTTP/1.1 200 OK 0ms]
GET
http://192.168.1.5:8090/m/static/bootst ... ap.min.css [HTTP/1.1 200 OK 0ms]
GET
XHR
http://192.168.1.5:8090/m/tapi


and opening http://192.168.1.5:8090/sabnzbd/tapi?mo ... MY_API_KEY

results in:

GET
http://192.168.1.5:8090/sabnzbd/tapi [HTTP/1.1 200 OK 12141ms]

Re: 1.1.0RC1 and B1 Glitter no status update

Posted: December 29th, 2016, 6:28 am
by safihre
The problem seems to be that it takes 12 seconds to reply, that's very odd and causes a timeout.
I assume this is due to the looking up of the IP Adressen, which we do by connecting to our own server.
Do you have some firewall in between? You should allow the domain *.sabnzbd.org
Or maybe there's a proxy active?
Alternatively, in Config Specials you can set selftest_host to something like google.com or make it blank. However, leaving it blank might disable ssl certificate validation or IPv6 (if you have that).

Re: 1.1.0RC1 and B1 Glitter no status update

Posted: December 29th, 2016, 12:04 pm
by ErikBrown
Deleting the history1.db file solved the issue. It contained lots of downloads from the last 6 years. Thanks.

Re: 1.1.0RC1 and B1 Glitter no status update

Posted: December 29th, 2016, 3:30 pm
by safihre
It was the history? Wow, did not expect that...

Should build a test case for that..