duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] BackendException: Boto requires a bucket name.


From: edgar . soldin
Subject: Re: [Duplicity-talk] BackendException: Boto requires a bucket name.
Date: Sun, 01 Feb 2015 14:20:55 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

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 = 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 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
> 



reply via email to

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