So the error comes from:

        try:
            self.stat = os.lstat(self.name)
        except OSError, e:
            err_string = errno.errorcode[e[0]]
            if err_string == "ENOENT" or err_string == "ENOTDIR":
                self.stat, self.type = None, None # file doesn't exist
                self.mode = None
            else:
                raise

Kenneth already surmised that it looked like a Windows fs. Or at least,
it looks like it might be an SMB mounted file system. While I could
understand issues with symlinks, I would not expect lstat() to be broken
since if the target file system doesn't support symlinks lstat() should
just be equivalent to stat().

Can the original poster run "stat FILENAME" on some file on that mount?

One possible work-around, given that the path indicates it might be a
NAS box, is to ascertain whether it also supports e.g. FTP access and
use the FTP backend in duplicity rather than going over the local file
system interface.

-- 
duplicity crashed with OSError in setdata()
https://bugs.launchpad.net/bugs/205792
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to