|
From: | Kenneth Loafman |
Subject: | Re: [Duplicity-talk] BackendException: Boto requires a bucket name. |
Date: | Sun, 1 Feb 2015 09:23:46 -0600 |
or Ken's suggestion ;)..
@Ken: looks like bazaar already has it, but i can't see the commit for it. 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.
>
> ...Ken
>
> On 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 and
>> since 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'm
>> getting 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 = ""> >> 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 the
>> cause 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
[Prev in Thread] | Current Thread | [Next in Thread] |