Page 1 of 1

Since 0.6.5: [panic:243] Lauching browser with http://localh

Posted: March 27th, 2012, 3:29 pm
by sander
FWIW: I noticed that the SAB logging says "INFO::[panic:243] Lauching browser with http://localhost:8080/sabnzbd". I am triggered by the word "panic": is that a worrying thing? I went back in SAB versions to see since when "panic" occurs:

0.6.5 (and earlier) says

Code: Select all

INFO::[misc:693] Lauching browser with http://localhost:8080/sabnzbd
0.6.6 (and later) says

Code: Select all

INFO::[panic:243] Lauching browser with http://localhost:8080/sabnzbd
I checked 0.6.6's sabnzbd/panic.py, and that contains "launch_a_browser(url, force=False)". Is the message "panic" just because the browser-launch is now handled by panic.py and not misc.py? Is there a reason for that?

Re: Since 0.6.5: [panic:243] Lauching browser with http://lo

Posted: March 27th, 2012, 3:34 pm
by shypike
The browser launch function happens to reside in panic.py :D

Re: Since 0.6.5: [panic:243] Lauching browser with http://lo

Posted: March 27th, 2012, 3:39 pm
by sander
shypike wrote:The browser launch function happens to reside in panic.py :D
Yes, I noticed that, but why? Just a coincidence, or a real reason for that? The other functions in panic.py are real panic-functions...

Re: Since 0.6.5: [panic:243] Lauching browser with http://lo

Posted: March 27th, 2012, 3:42 pm
by shypike
And they all end up calling the launch_a_browser function.