|
From: | mailinglist |
Subject: | Re: [Duplicity-talk] BackendException: Boto requires a bucket name. |
Date: | Sun, 01 Feb 2015 15:20:00 +0100 |
User-agent: | Roundcube Webmail/1.0.1 |
2015.02.01 15:16 időpontban address@hidden ezt írta:
there is supposed to be an error message after 'BackendException:', what does it say? ..ede/duply.net On 01.02.2015 15:05, address@hidden wrote:Thanks for the quick reply Edgar and Ken!I've first tried Edgar's solution, but my problem seems a bit deeper because using Ken's suggestion (--s3-european-buckets --s3-use-new-style s3://s3-eu-west-1.amazonaws.com/[bucket_name], or with the stable version of duplicity) I get the same, following error:Backend error detail: Traceback (most recent call last): File "/usr/local/bin/duplicity", line 1500, in <module> with_tempdir(main) File "/usr/local/bin/duplicity", line 1494, in with_tempdir fn() File "/usr/local/bin/duplicity", line 1327, in main action = commandline.ProcessCommandLine(sys.argv[1:])File "/usr/local/lib/python2.7/site-packages/duplicity/commandline.py", line 1047, in ProcessCommandLineglobals.backend = backend.get_backend(args[0])File "/usr/local/lib/python2.7/site-packages/duplicity/backend.py", line 221, in get_backendobj = get_backend_object(url_string)File "/usr/local/lib/python2.7/site-packages/duplicity/backend.py", line 207, in get_backend_objectreturn factory(pu)File "/usr/local/lib/python2.7/site-packages/duplicity/backends/_boto_single.py", line 161, in __init__self.resetConnection()File "/usr/local/lib/python2.7/site-packages/duplicity/backends/_boto_single.py", line 187, in resetConnectionraise BackendException(err.message) BackendException BackendException:Although duplicity waits about 30 seconds before giving this error. I thought it might be a network related problem, but I've opened up the firewall for outgoing traffic but still no success.Best regards, Mate 2015.02.01 14:20 időpontban address@hidden ezt írta:or Ken's suggestion ;)..@Ken: looks like bazaar already has it, but i can't see the commit forit. can you explain? ..ede/duply.net On 01.02.2015 14:11, Kenneth Loafman wrote:This problem was fixed in bug 1411803 which is going to be release soon as part of 0.7.02. It's in the trunk now if you want to install from there.If not, the fix is extremely simple. On your system, as root, edit the last line (#34) of the file */usr/local/lib/python2.7/site-packages/duplicity/backends/botobackend.py* as root. Simply change: duplicity.backend.uses_netloc.extend([ 'gs', 's3', 's3+http' ]) to duplicity.backend.uses_netloc.extend([ 's3' ]) and things should work. ...KenOn Sun, Feb 1, 2015 at 6:24 AM, <address@hidden> wrote:Dear List,I was running duplicity 0.6.24 with S3 fine for quite some time now on FreeBSD 8.4. I think I've upgraded py-boto and python a few weeks ago andsince then I cannot make duplicity working again.Now I have py-boto 2.35.1, python 2.7.9 and duplicity 0.7.01 and I'mgetting the following error with the following connection setting: "--s3-european-buckets --s3-use-new-style s3+http://[bucket_name]". Backend error detail: Traceback (most recent call last): File "/usr/local/bin/duplicity", line 1500, in <module> with_tempdir(main) File "/usr/local/bin/duplicity", line 1494, in with_tempdir fn() File "/usr/local/bin/duplicity", line 1327, in main action = commandline.ProcessCommandLine(sys.argv[1:])File "/usr/local/lib/python2.7/site-packages/duplicity/commandline.py",line 1047, in ProcessCommandLine globals.backend = backend.get_backend(args[0])File "/usr/local/lib/python2.7/site-packages/duplicity/backend.py",line 221, in get_backend obj = get_backend_object(url_string)File "/usr/local/lib/python2.7/site-packages/duplicity/backend.py",line 207, in get_backend_object return factory(pu)File "/usr/local/lib/python2.7/site-packages/duplicity/backends/_boto_single.py",line 145, in __init__ raise BackendException('Boto requires a bucket name.') BackendException: Boto requires a bucket name. BackendException: Boto requires a bucket name.According to the documentation this URL format is valid. What could be thecause of this problem? Best regards, Mate _______________________________________________ Duplicity-talk mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/duplicity-talk_______________________________________________ Duplicity-talk mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/duplicity-talk_______________________________________________ Duplicity-talk mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/duplicity-talk_______________________________________________ Duplicity-talk mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/duplicity-talk_______________________________________________ Duplicity-talk mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/duplicity-talk
Screen Shot 2015-02-01 at 15.19.03.png
Description: PNG image
[Prev in Thread] | Current Thread | [Next in Thread] |