Page 1 of 1

Windows 7 Bug

Posted: January 10th, 2009, 12:17 am
by L33tMasta
SABNZBD Will not start the web GUI on WIndows 7. According to the console it launches itself on the proper address and port, however even with an exception in the firewall it still will not load the GUI.

Re: Windows 7 Bug

Posted: January 10th, 2009, 10:19 am
by switch
Is it launching http://localhost:8080/sabnzbd/ ? Works fine for me with Windows 7 x64.

Re: Windows 7 Bug

Posted: January 11th, 2009, 3:20 am
by m0isty
Not working for me with W7 32bit.

Re: Windows 7 Bug

Posted: January 11th, 2009, 6:40 am
by switch
Are you using a clean sabnzbd.ini, or a backed up one?
Does sabnzbd.log or cherrypy.log contain any error messages. The are located:

Code: Select all

C:\Users\USER\AppData\Local\sabnzbd\logs
Did you allow sabnzbd firewall rights when the prompt appeared?

Re: Windows 7 Bug

Posted: January 11th, 2009, 10:59 am
by m0isty
Clean install, both of windows 7 and sabnzbd. No firewall prompt appears, have tried making exeptions but makes no difference. Have also tried "run as administrator" and temporarily disabling UAC. Also tried enabling all port options on my router in network map, even adding a new network service setting with port 8080 enabled.

This is the error message, same as I would normally get in xp if I accidentally try to start sabnzbd when it's already running:
Welcome to SABnzbd.exe 0.4.6



    SABnzbd needs a free tcp/ip port for its internal web server.
    Port 8080 on localhost was tried , but it is not available.
    Some other software uses the port or SABnzbd is already running.

    Please restart SABnzbd with a different port number.

    Press Startkey+R and type the line (example):
        "C:\Program Files\SABnzbd\SABnzbd.exe" --server localhost:8081

    If you get this error message again, please try a different number.


Program did not start!

sabnzbd.log:
2009-01-11 15:20:31,035::INFO::--------------------------------
2009-01-11 15:20:31,036::INFO::SABnzbd.exe-0.4.6 (rev=1888)
2009-01-11 15:20:31,036::INFO::Platform=Windows-XP-5.1.2600-SP2 Class=nt
2009-01-11 15:20:31,036::INFO::Python-version = 2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit (Intel)]
2009-01-11 15:20:31,040::INFO::[sabnzbd] Loading data for rss_data.sab from C:\Users\Charlie\AppData\Local\sabnzbd\cache\rss_data.sab
2009-01-11 15:20:31,042::INFO::[sabnzbd] Loading data for bytes7.sab from C:\Users\Charlie\AppData\Local\sabnzbd\cache\bytes7.sab
2009-01-11 15:20:31,043::INFO::[sabnzbd] Loading data for queue7.sab from C:\Users\Charlie\AppData\Local\sabnzbd\cache\queue7.sab
2009-01-11 15:20:31,045::WARNING::[downloader] No active primary servers defined, will not download!
2009-01-11 15:20:31,046::INFO::All processes started
2009-01-11 15:20:31,046::INFO::_yenc module... found!
2009-01-11 15:20:31,046::INFO::celementtree module... found!
2009-01-11 15:20:31,048::INFO::par2 binary... found (C:\Program Files\SABnzbd\win\par2\par2.exe)
2009-01-11 15:20:31,048::INFO::par2-classic binary... found (C:\Program Files\SABnzbd\win\par2\par2-classic.exe)
2009-01-11 15:20:31,048::INFO::unrar binary... found (C:\Program Files\SABnzbd\win\unrar\UnRAR.exe)
2009-01-11 15:20:31,049::INFO::unzip binary... found (C:\Program Files\SABnzbd\win\unzip\unzip.exe)
2009-01-11 15:20:31,049::INFO::pyOpenSSL... found (True)
2009-01-11 15:20:31,168::INFO::Web dir is C:\Program Files\SABnzbd\interfaces\Default
2009-01-11 15:20:31,420::INFO::Starting SABnzbd.exe-0.4.6
2009-01-11 15:20:31,517::INFO::[nzbqueue] Saving queue
2009-01-11 15:20:31,517::INFO::[sabnzbd] Saving data for queue7.sab in C:\Users\Charlie\AppData\Local\sabnzbd\cache\queue7.sab
2009-01-11 15:20:31,520::INFO::[sabnzbd] Saving data for bytes7.sab in C:\Users\Charlie\AppData\Local\sabnzbd\cache\bytes7.sab
2009-01-11 15:20:31,523::INFO::[sabnzbd] Saving data for rss_data.sab in C:\Users\Charlie\AppData\Local\sabnzbd\cache\rss_data.sab
2009-01-11 15:20:32,341::INFO::[sabnzbd.misc] URLGrabber starting up
2009-01-11 15:20:32,447::INFO::Starting web-interface on localhost:8080
2009-01-11 15:21:28,744::ERROR::Failed to start web-interface
2009-01-11 15:21:28,750::INFO::Lauching browser with c:\users\charlie\appdata\local\temp\tmpwukm6p.html
2009-01-11 15:21:29,809::INFO::SABnzbd shutting down...
2009-01-11 15:21:29,809::INFO::[sabnzbd.misc] URLGrabber shutting down
2009-01-11 15:21:29,811::INFO::[downloader] Shutting down
2009-01-11 15:21:29,812::INFO::[assembler] Shutting down
2009-01-11 15:21:29,812::INFO::[nzbqueue] Saving queue
2009-01-11 15:21:29,813::INFO::[sabnzbd] Saving data for queue7.sab in C:\Users\Charlie\AppData\Local\sabnzbd\cache\queue7.sab
2009-01-11 15:21:29,815::INFO::[sabnzbd] Saving data for bytes7.sab in C:\Users\Charlie\AppData\Local\sabnzbd\cache\bytes7.sab
2009-01-11 15:21:29,816::INFO::[sabnzbd] Saving data for rss_data.sab in C:\Users\Charlie\AppData\Local\sabnzbd\cache\rss_data.sab
2009-01-11 15:21:30,282::INFO::All processes stopped

cherrypy.log:

11/Jan/2009:15:35:40 CONFIG INFO Server parameters:
11/Jan/2009:15:35:40 CONFIG INFO  server.environment: production
11/Jan/2009:15:35:40 CONFIG INFO  server.log_to_screen: False
11/Jan/2009:15:35:40 CONFIG INFO  server.log_file: C:\Users\Charlie\AppData\Local\sabnzbd\logs\cherrypy.log
11/Jan/2009:15:35:40 CONFIG INFO  server.log_tracebacks: True
11/Jan/2009:15:35:40 CONFIG INFO  server.log_request_headers: False
11/Jan/2009:15:35:40 CONFIG INFO  server.protocol_version: HTTP/1.0
11/Jan/2009:15:35:40 CONFIG INFO  server.socket_host: localhost
11/Jan/2009:15:35:40 CONFIG INFO  server.socket_port: 8080
11/Jan/2009:15:35:40 CONFIG INFO  server.socket_file:
11/Jan/2009:15:35:40 CONFIG INFO  server.reverse_dns: False
11/Jan/2009:15:35:40 CONFIG INFO  server.socket_queue_size: 5
11/Jan/2009:15:35:40 CONFIG INFO  server.thread_pool: 10
11/Jan/2009:15:36:36 HTTP INFO Port 8080 not free on 'localhost'

Re: Windows 7 Bug

Posted: January 11th, 2009, 11:06 am
by switch
Looks like the web server we use just cannot get access to use that port.
Try this in run (Start, type RUN or windowsbutton+r)

Code: Select all

"C:\Program Files\SABnzbd\SABnzbd.exe" --server :8081
or this:

Code: Select all

"C:\Program Files\SABnzbd\SABnzbd.exe" --server 0.0.0.0:8081
and see if either will start sabnzbd.

Re: Windows 7 Bug

Posted: January 11th, 2009, 11:20 am
by m0isty
Ok, the first line started sabnzbd, got a firewall prompt which i allowed. Sabnzbd now appears in task manager, but cannot access it through firefox ("The connection was refused when attempting to contact localhost:8081"). Seems like progress though!  ;D

Re: Windows 7 Bug

Posted: January 11th, 2009, 11:32 am
by m0isty
ok, started with the second line. Why is windows making this so awkward?
Also, I get : 2009-01-11 16:33:59,181 WARNING Please be aware the 0.0.0.0 hostname will need an IPv6 address for external access"
I know nothing about IPv6!

Re: Windows 7 Bug

Posted: January 11th, 2009, 3:50 pm
by shypike
Do you need access from other computers?
If not, just use 127.0.0.1 as host address.

Re: Windows 7 Bug

Posted: January 11th, 2009, 8:16 pm
by m0isty
Thank you  :)