Problem console not closing
Forum rules
Help us help you:
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.
Problem console not closing
Hi, i`ve got a problem with sabnzbd+ (0.3.0).
When i start the program the console window won`t close automatically, it opens the browser window perfectly and it all works fine.
But the window just won`t close.
The sabnzbd.log doesn`t show any strange things.
I`m using Windows XP 32 bit.
Thanks in advance.
When i start the program the console window won`t close automatically, it opens the browser window perfectly and it all works fine.
But the window just won`t close.
The sabnzbd.log doesn`t show any strange things.
I`m using Windows XP 32 bit.
Thanks in advance.
Re: Problem console not closing
I made a version of sabnzbd with more logging around the window closing code to try and debug this issue.
If you private message me your email address I can send it to you.
If you private message me your email address I can send it to you.
Re: Problem console not closing
message sent.
Re: Problem console not closing
I too am having this problem
I am running vista 32bit ult, i used the win32 setup to install sab, i changed the port to 8181, i have firefox as my default browser and sab set to auto open and i have the new nod32 smart security programme running if it is of any help.
I am running vista 32bit ult, i used the win32 setup to install sab, i changed the port to 8181, i have firefox as my default browser and sab set to auto open and i have the new nod32 smart security programme running if it is of any help.
Last edited by vankwish on January 23rd, 2008, 10:27 am, edited 1 time in total.
Re: Problem console not closing
I'm running Vista 32-bit and was having this problem occasionally.
I set it up to run as a service instead (which is working great in 0.3.0 btw!) and no more problem.
I set it up to run as a service instead (which is working great in 0.3.0 btw!) and no more problem.
Re: Problem console not closing
Same issue on 0.3.0, Vista 32.
The program starts and works great, the console won't hide itself though. It seems to work occasionally but most of the time it stays open.
Nothing abnormal in the logs that I could see.
The program starts and works great, the console won't hide itself though. It seems to work occasionally but most of the time it stays open.
Nothing abnormal in the logs that I could see.
Re: Problem console not closing
What is the name of the console window? __SABnzbd__?
There will likely be a fix for this soon, it just requires a lot of testing.
There will likely be a fix for this soon, it just requires a lot of testing.
Re: Problem console not closing
Yeah, when it doesn't close, the name of the console window is __SABnzbd__ .
-
- Full Member
- Posts: 211
- Joined: January 22nd, 2008, 1:38 pm
Re: Problem console not closing
i have it too
Re: Problem console not closing
May just need a small delay between naming the window __SABnzbd__ and hiding it.
The new hiding implementation was made quite quickly after we discovered the reason why the old one would sometimes fail. Was tested, but works fine on our systems.
We are testing out compiling the exe without the need for a console window at all, still needs to be tested thoroughly.
Sorry for the annoying window, we shall try to get this fix out as soon as it is fully tested.
The new hiding implementation was made quite quickly after we discovered the reason why the old one would sometimes fail. Was tested, but works fine on our systems.
We are testing out compiling the exe without the need for a console window at all, still needs to be tested thoroughly.
Sorry for the annoying window, we shall try to get this fix out as soon as it is fully tested.
Re: Problem console not closing
Is there some sort of modification I could do to a batch file for startup that could work in the meantime?
Thanks for the support, looking forward to the next release.
Thanks for the support, looking forward to the next release.
Re: Problem console not closing
You could use this vbs script I use to hide the sab console when running from source.
Create a text file, copy+paste, change the path on the last line to that of your exe, and save as a .vbs file (make sure it is not .vbs.txt the icon should be a blue script)
(Only tested on XP)
Create a text file, copy+paste, change the path on the last line to that of your exe, and save as a .vbs file (make sure it is not .vbs.txt the icon should be a blue script)
Code: Select all
Const HIDDEN_WINDOW = 12
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set objStartup = objWMIService.Get("Win32_ProcessStartup")
Set objConfig = objStartup.SpawnInstance_
objConfig.ShowWindow = HIDDEN_WINDOW
Set objProcess = GetObject("winmgmts:root\cimv2:Win32_Process")
errReturn = objProcess.Create("C:\path\to\sabnzbd.exe", null, objConfig, intProcessID)
Re: Problem console not closing
Awesome, that worked on Vista-32.
-
- Newbie
- Posts: 17
- Joined: January 22nd, 2008, 12:12 pm
Re: Problem console not closing
Sweet, will try this out.
~fizz
~fizz
Re: Problem console not closing
Awesome, that worked.
Last edited by danysuri on March 28th, 2010, 10:21 am, edited 1 time in total.