Windows 7 Bug

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
User avatar
L33tMasta
Release Testers
Release Testers
Posts: 39
Joined: April 25th, 2008, 1:39 am

Windows 7 Bug

Post 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.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Windows 7 Bug

Post by switch »

Is it launching http://localhost:8080/sabnzbd/ ? Works fine for me with Windows 7 x64.
m0isty
Newbie
Newbie
Posts: 5
Joined: January 11th, 2009, 3:16 am

Re: Windows 7 Bug

Post by m0isty »

Not working for me with W7 32bit.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Windows 7 Bug

Post 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?
m0isty
Newbie
Newbie
Posts: 5
Joined: January 11th, 2009, 3:16 am

Re: Windows 7 Bug

Post 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'
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Windows 7 Bug

Post 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.
m0isty
Newbie
Newbie
Posts: 5
Joined: January 11th, 2009, 3:16 am

Re: Windows 7 Bug

Post 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
Last edited by m0isty on January 11th, 2009, 11:30 am, edited 1 time in total.
m0isty
Newbie
Newbie
Posts: 5
Joined: January 11th, 2009, 3:16 am

Re: Windows 7 Bug

Post 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!
Last edited by m0isty on January 11th, 2009, 11:39 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Windows 7 Bug

Post by shypike »

Do you need access from other computers?
If not, just use 127.0.0.1 as host address.
m0isty
Newbie
Newbie
Posts: 5
Joined: January 11th, 2009, 3:16 am

Re: Windows 7 Bug

Post by m0isty »

Thank you  :)
Post Reply