duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] error with duplicity


From: Shawn
Subject: Re: [Duplicity-talk] error with duplicity
Date: Tue, 21 Dec 2010 10:18:57 -0500

Miguel,

I tried exporting the keys getting around the same error ->

duplicity backup/* s3+http://jumpbox/
Traceback (most recent call last):
  File "/usr/local/bin/duplicity", line 1245, in <module>
    with_tempdir(main)
  File "/usr/local/bin/duplicity", line 1238, in with_tempdir
    fn()
  File "/usr/local/bin/duplicity", line 1124, in main
    action = "">   File "/usr/local/lib/python2.6/dist-packages/duplicity/commandline.py", line 927, in ProcessCommandLine
    backup, local_pathname = set_backend(args[0], args[1])
  File "/usr/local/lib/python2.6/dist-packages/duplicity/commandline.py", line 820, in set_backend
    globals.backend = backend.get_backend(bend)
  File "/usr/local/lib/python2.6/dist-packages/duplicity/backend.py", line 153, in get_backend
    return _backends[pu.scheme](pu)
  File "/usr/local/lib/python2.6/dist-packages/duplicity/backends/botobackend.py", line 45, in __init__
    from boto.s3.key import Key
  File "/usr/lib/pymodules/python2.6/boto/__init__.py", line 29, in <module>
    config = Config()
  File "/usr/lib/pymodules/python2.6/boto/pyami/config.py", line 47, in __init__
    self.read(BotoConfigLocations)
  File "/usr/lib/python2.6/ConfigParser.py", line 286, in read
    self._read(fp, filename)
  File "/usr/lib/python2.6/ConfigParser.py", line 482, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
MissingSectionHeaderError: File contains no section headers.
file: /etc/boto.cfg, line: 1
'aws_access_key_id: 'mykey/n'


Thanks



On Tue, Dec 21, 2010 at 1:29 AM, address@hidden <address@hidden> wrote:
I just realized something. You're Miguel of Aegir fame, aren't you?

We always talk in my Lab about how you Development Seed folks are taking over the world. Looks like we're right again.

:-D


On Tue, Dec 21, 2010 at 1:25 AM, Miguel Jacq <address@hidden> wrote:
Hi,


On Tue, Dec 21, 2010 at 4:09 PM, Shawn <address@hidden> wrote:
> >     self.hmac = hmac.new(self.aws_secret_access_key, digestmod=sha)
> AttributeError: S3Connection instance has no attribute
> 'aws_secret_access_key'
>
>
> Can anyone help me troubleshoot this?

You may need to install python-boto, but more likely, your Amazon AWS
Key ID and secret key aren't accessible from your environment.

Since you are running this direct from the command line, did you
export your AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY first?

Miguel

_______________________________________________
Duplicity-talk mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/duplicity-talk


_______________________________________________
Duplicity-talk mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/duplicity-talk



reply via email to

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