Win 7 cannot create directory

Get help with all aspects of 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
alex350r
Newbie
Newbie
Posts: 14
Joined: January 28th, 2009, 3:56 am

Win 7 cannot create directory

Post by alex350r »

Hi,

I installed Sabnzbd on my Win 7 desktop today, it installs fine but when I run it/try to open the web interface it does not load.
I had a look in the users>AppData>sabnzbd folder and the ini file only contains this:
__version__=18
[misc]
[logging]
The logs file is showing the following errors:
009-10-26 16:58:57,969::INFO::--------------------------------
2009-10-26 16:58:57,969::INFO::SABnzbd.exe-0.4.12 (rev=2799)
2009-10-26 16:58:57,969::INFO::Platform=Windows-Vista-6.1.7600 Class=nt
2009-10-26 16:58:57,970::INFO::Python-version = 2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit (Intel)]
2009-10-26 16:58:57,970::INFO::No download_dir defined, setting value to "downloads/incomplete"
2009-10-26 16:58:57,970::INFO::download_dir directory: M:\Users\Alex\Documents\downloads\incomplete does not exist, try to create it
2009-10-26 16:58:57,970::ERROR::[sabnzbd.misc] Cannot create directory M:\Users\Alex\Documents\downloads\incomplete
2009-10-26 16:58:57,970::INFO::download_dir directory: M:\Users\Alex\Documents\downloads\incomplete does not exist, try to create it
2009-10-26 16:58:57,971::ERROR::[sabnzbd.misc] Cannot create directory M:\Users\Alex\Documents\downloads\incomplete
2009-10-26 16:58:57,971::ERROR::Initializing SABnzbd.exe-0.4.12 failed, aborting

The strange thing is that the drive M: does not exist on my system so I can't understand how sabnzbd is getting this. My 'documents' folder is located on my D: drive/partition at D:\Users\Alex\Documents.
Any idea how I can fix this error/manually setup the folders in the ini file myself?

I installed it on my laptop and it worked first time :-(

Cheers,

Alex
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Win 7 cannot create directory

Post by shypike »

It must be picking up strange info from the Windows profile.
Check what's in the sabnzbd.ini file.
c:\Users\USER\AppData\Local\sabnzbd\sabnzbd.ini
Inspect the settings

Code: Select all

download_dir = 
complete_dir =
Set those to proper values (full path preferably).
That way you can start up and if needed modify further paths.
alex350r
Newbie
Newbie
Posts: 14
Joined: January 28th, 2009, 3:56 am

Re: Win 7 cannot create directory

Post by alex350r »

Thanks for the reply, ive changed the ini file and it now reads:

__version__=18
download_dir = C:\Downloads
complete_dir = C:\Downloads
[misc]
[logging]

Ive created the Downloads directly in my C: drive but still sabnzbd reports the following:
2009-10-26 18:13:41,581::INFO::SABnzbd.exe-0.4.12 (rev=2799)
2009-10-26 18:13:41,581::INFO::Platform=Windows-Vista-6.1.7600 Class=nt
2009-10-26 18:13:41,581::INFO::Python-version = 2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit (Intel)]
2009-10-26 18:13:41,582::INFO::No download_dir defined, setting value to "downloads/incomplete"
2009-10-26 18:13:41,582::INFO::download_dir directory: M:\Users\Alex\Documents\downloads\incomplete does not exist, try to create it
2009-10-26 18:13:41,582::ERROR::[sabnzbd.misc] Cannot create directory M:\Users\Alex\Documents\downloads\incomplete
2009-10-26 18:13:41,582::INFO::download_dir directory: M:\Users\Alex\Documents\downloads\incomplete does not exist, try to create it
2009-10-26 18:13:41,582::ERROR::[sabnzbd.misc] Cannot create directory M:\Users\Alex\Documents\downloads\incomplete
2009-10-26 18:13:41,582::ERROR::Initializing SABnzbd.exe-0.4.12 failed, aborting

It's a bit worrying actually because I recently install need for speed shift and it won't save my gamer profile - this might be why. Any ideas how I can find out why its referencing M:?


Cheers,

Alex
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Win 7 cannot create directory

Post by shypike »

Well the only way out is this.
Modify the shortcut to sabnzbd to this:

Code: Select all

"c:\program files\sabnzbd\sabnzbd.exe" -f c:\users\alex\appdata\local\sabnzbd\sabnzbd.ini
This will prevent SABnzbd from reading your profile.
You will need to adjust some paths, because it will try put everything in subfolders of appdata/local.

You could try to create a new user account.
If that fixes things, you could consider using the new account.
Quite a bit of work, but I cannot tell you how to fix it from here :(
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Win 7 cannot create directory

Post by switch »

Out of interest, what path does the following open up when entered into Start>Run:

Code: Select all

%localappdata%
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Win 7 cannot create directory

Post by shypike »

You mean:
Start->Run Type: cmd.exe
wait for the black window and type

Code: Select all

echo %localappdata%
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Win 7 cannot create directory

Post by switch »

Either really
alex350r
Newbie
Newbie
Posts: 14
Joined: January 28th, 2009, 3:56 am

Re: Win 7 cannot create directory

Post by alex350r »

Thanks for the replies folks, when I enter %localappdata% i recieve the correct directory (C:\Users\Alex\AppData).

I ran sabnzbd the way you said Shypike and it worked :-) but I think im going to rebuild the machine anyhow - its quite cluttered and could do with Win 7 re-installing. This way ill have a new user account too.

I'll let you know how it goes - hopefully it works!
Post Reply