duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] a little bugfix


From: Daniel Hahler
Subject: Re: [Duplicity-talk] a little bugfix
Date: Fri, 11 Feb 2011 18:48:25 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Wolfgang,

I've applied your fix to the source, pushed it to Launchpad and
created a merge proposal at:

https://code.launchpad.net/~blueyed/duplicity/path-enodev-bugfix/+merge/49438


Thanks,
Daniel

Am 10.02.2011 05:00, schrieb Wolfgang Rohdewald:
> Hi,
> 
> 
> after trying rmdir on a samba share,
> 
> I got a nonkillable process and a
> 
> not-accessible /mnt:
> 
> 
> d????????? ? ? ? ? ? mnt/
> 
> 
> now duply dies when trying to backup such a
> 
> system. Which can easily be fixed by adding ENODEV
> 
> as an error to be catched here:
> 
> 
> --- oldpath 2011-02-10 04:57:57.000000000 +0100
> 
> +++ path.py 2011-02-10 04:52:23.000000000 +0100
> 
> @@ -491,7 +491,7 @@
> 
> self.stat = os.lstat(self.name)
> 
> except OSError, e:
> 
> err_string = errno.errorcode[e[0]]
> 
> - if err_string == "ENOENT" or err_string == "ENOTDIR" or err_string ==
> "ELOOP":
> 
> + if err_string == "ENOENT" or err_string == "ENOTDIR" or err_string ==
> "ELOOP" or err_string == "ENODEV":
> 
> self.stat, self.type = None, None # file doesn't exist
> 
> self.mode = None
> 
> else:
> 
> 
> 
> -- 
> 
> Wolfgang
> 
> 
> 
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/duplicity-talk


- -- 
http://daniel.hahler.de/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFNVXZlfAK/hT/mPgARAlnmAJ4pI6Yod8bokwyl+OoaYN2DKqTpeQCeO8+C
zNUJGJz3cWEU/qVU7EjTiHo=
=3YZB
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]