saving to network drive windows 7 - not working with actual or unc
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.
-
gurpal2000
- Newbie

- Posts: 8
- Joined: April 2nd, 2010, 4:47 am
saving to network drive windows 7 - not working with actual or unc
Hi
The app won't allow me to select the download folder (any type) as say:
v:\
v:/
\\servername\sharename
//servername/sharename
various other combo aren't working. The log is simply something on the lines of "cannot create folder"
even if i delete the target (thus allowing sabnzbd) to try to create it still won't. The permission aren't an issue because i can do:
echo blah > v:\blah\blah.txt
echo blah > \\blah\blah
is this a known issue ?
thanks
The app won't allow me to select the download folder (any type) as say:
v:\
v:/
\\servername\sharename
//servername/sharename
various other combo aren't working. The log is simply something on the lines of "cannot create folder"
even if i delete the target (thus allowing sabnzbd) to try to create it still won't. The permission aren't an issue because i can do:
echo blah > v:\blah\blah.txt
echo blah > \\blah\blah
is this a known issue ?
thanks
Re: saving to network drive windows 7 - not working with actual or unc
It's not possible to create at the share level.
In \\server\share the "share" part must already exist and have proper permissions.
Your second echo example cannot work.
In \\server\share the "share" part must already exist and have proper permissions.
Your second echo example cannot work.
-
gurpal2000
- Newbie

- Posts: 8
- Joined: April 2nd, 2010, 4:47 am
Re: saving to network drive windows 7 - not working with actual or unc
i mean
echo hello > \\server\share\folder\hello.txt
does work
i'm trying to save to say \\server\share\folder (or v:\folder)
that does NOT work when i type in the web form
Also in windows 7 ie 8, the error message doesn't always render. the html source is visible with text like
"Incorrect parameter
Cannot create complete_dir folder v:\folder"
It's almost like whatever API you're using (python?) isn't able to accept network mounted drives as a target.
thanks
echo hello > \\server\share\folder\hello.txt
does work
i'm trying to save to say \\server\share\folder (or v:\folder)
that does NOT work when i type in the web form
Also in windows 7 ie 8, the error message doesn't always render. the html source is visible with text like
"Incorrect parameter
Cannot create complete_dir folder v:\folder"
It's almost like whatever API you're using (python?) isn't able to accept network mounted drives as a target.
thanks
Last edited by gurpal2000 on April 2nd, 2010, 6:31 am, edited 1 time in total.
Re: saving to network drive windows 7 - not working with actual or unc
SABnzbd is perfectly fine with UNC paths on my systems.
What kind of server (or other system) do you have the shares on?
What kind of server (or other system) do you have the shares on?
-
gurpal2000
- Newbie

- Posts: 8
- Joined: April 2nd, 2010, 4:47 am
Re: saving to network drive windows 7 - not working with actual or unc
v:\ drive is mapped to \\server\share which is ubuntu 9.10 samba server (2:3.4.0-3ubuntu5.6) mapped. a username/password is required.shypike wrote: SABnzbd is perfectly fine with UNC paths on my systems.
What kind of server (or other system) do you have the shares on?
Windows 7 itself is sitting inside a VMware server 64 bit and accessing network shares from explorer are fine.
(Don't ask why such a silly setup - this should work nevertheless). Is there more detailed logging i can turn on?
Re: saving to network drive windows 7 - not working with actual or unc
The best way to test is to download and install ActiveState Python 2.5 on your system.
This is the download link:
http://downloads.activestate.com/Active ... 32-x86.msi
After installing, open a command prompt and typeYou'll get the Python prompt, then type:
The doubled backslahes are needed. Replace the names with the right ones.
If you get an error message, there's something wrong in Python.
If not, then I have more debugging to do.
This is the download link:
http://downloads.activestate.com/Active ... 32-x86.msi
After installing, open a command prompt and type
Code: Select all
python
Code: Select all
import os
os.makedirs("\\\\server\\share\\folder\\testme")
If you get an error message, there's something wrong in Python.
If not, then I have more debugging to do.
-
gurpal2000
- Newbie

- Posts: 8
- Joined: April 2nd, 2010, 4:47 am
Re: saving to network drive windows 7 - not working with actual or unc
ok let me try today/tomorrow thxshypike wrote: The best way to test is to download and install ActiveState Python 2.5 on your system.
This is the download link:
http://downloads.activestate.com/Active ... 32-x86.msi
After installing, open a command prompt and typeYou'll get the Python prompt, then type:Code: Select all
pythonThe doubled backslahes are needed. Replace the names with the right ones.Code: Select all
import os os.makedirs("\\\\server\\share\\folder\\testme")
If you get an error message, there's something wrong in Python.
If not, then I have more debugging to do.
Re: saving to network drive windows 7 - not working with actual or unc
How did you get Win 7 to talk to Ubuntu's Samba server?
I cannot get them on speaking terms.
Some Googling suggested to lower all sorts of security settings, which I'm not very eager to do.
Also it looks like Ubuntu's standard Samba is just too old to talk to Win7.
I cannot get them on speaking terms.
Some Googling suggested to lower all sorts of security settings, which I'm not very eager to do.
Also it looks like Ubuntu's standard Samba is just too old to talk to Win7.
-
gurpal2000
- Newbie

- Posts: 8
- Joined: April 2nd, 2010, 4:47 am
Re: saving to network drive windows 7 - not working with actual or unc
never had a problem with ubuntu and samba with any version of windows. You might need to drop the win 7 firewall though.shypike wrote: How did you get Win 7 to talk to Ubuntu's Samba server?
I cannot get them on speaking terms.
Some Googling suggested to lower all sorts of security settings, which I'm not very eager to do.
Also it looks like Ubuntu's standard Samba is just too old to talk to Win7.
-
gurpal2000
- Newbie

- Posts: 8
- Joined: April 2nd, 2010, 4:47 am
Re: saving to network drive windows 7 - not working with actual or unc
Code: Select all
import os
os.makedirs("\\\\server\\share\\folder\\testme")Re: saving to network drive windows 7 - not working with actual or unc
You must be the only one, judging by what I can Google Win7 and Samba are not easy to get on speaking terms.gurpal2000 wrote: never had a problem with ubuntu and samba with any version of windows. You might need to drop the win 7 firewall though.
It's not the firewall, I can mount other drives and I get a specific username/password error.
I can get it to work on XP though.
So it looks very much like a Win7/Python combination.
Tough, we currently create the binaries using a slightly older version of Python: 2.5.4.3
That could mean the difference.
Trouble is we will not update Python for 0.5.1, because we're too close to release.
Also I cannot see for myself whether a later Python solves the problem.
And you cannot download the older version, because ActiveState won't let you.
I could get you a test release based on Python 2.6. Just to see if it makes a difference.
BTW: I can only get it to work when I do mount at least one drive.
From my XP box I need to use name@Ubuntu to login. Obviously XP will not send name@Ubuntu voluntarily.
Could be that you setup your accounts differently on Samba.
Re: saving to network drive windows 7 - not working with actual or unc
Good news: I can now mount Ubuntu shares on my Win7 box (NetBios was disabled).
Good news: It works fine. None of the problems you encountered.
Bad news: I don't know what causes your problems.
It's definitely not a Python problem, I also tested with the original binary 0.5.0.
I needed to do some tweaking on the Ubuntu box to get Samba up and running
properly and having it talk to Windows boxes. I did not keep notes.
Good news: It works fine. None of the problems you encountered.
Bad news: I don't know what causes your problems.
It's definitely not a Python problem, I also tested with the original binary 0.5.0.
I needed to do some tweaking on the Ubuntu box to get Samba up and running
properly and having it talk to Windows boxes. I did not keep notes.
-
gurpal2000
- Newbie

- Posts: 8
- Joined: April 2nd, 2010, 4:47 am
Re: saving to network drive windows 7 - not working with actual or unc
ok, my samba config is as follows:
"share" is obviously the share name. Put yourself in the "users" group.
hope that helps and appreciate your time on this.
Code: Select all
[global]
workgroup = WORKGROUP
server string = %h (Samba)
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
usershare allow guests = yes
Code: Select all
[share]
comment = Shared Storage on server
path = /share
public = no
writeable = yes
write list = @users
valid users = @users
force group = users
create mask = 644
force create mode = 0644
security mask = 0644
force security mode = 0644
directory mask = 0770
force directory mode = 0770
directory security mask = 0770
force directory security mode = 0770
hope that helps and appreciate your time on this.
-
gurpal2000
- Newbie

- Posts: 8
- Joined: April 2nd, 2010, 4:47 am
Re: saving to network drive windows 7 - not working with actual or unc
BTW i installed sabnzbd on XP and accessing the same share is fine and it allows v:/
hmm....
hmm....
Re: saving to network drive windows 7 - not working with actual or unc
I just upgraded to SABnzb 0.6.2 (on Windows 7) Previously it was working with a mapped drive to a diskstation NAS, but now it suddenly can't handle it.
Windows has the mapping just fine.
It seems putting the full path in works where the drive letter no longer does.
\\diskstation1\a\sabnzbd\complete works
z:\sabnzbd\complete used to work, but no longer does.
Windows has the mapping just fine.
It seems putting the full path in works where the drive letter no longer does.
\\diskstation1\a\sabnzbd\complete works
z:\sabnzbd\complete used to work, but no longer does.
Last edited by gnomehole on May 30th, 2011, 9:27 am, edited 1 time in total.
