Hi I have just installed duplicity, and have made this scipt for Amazon S3:
--- SCRIPT START --- #!/bin/sh cd ~ export PASSPHRASE=XXX export AWS_ACCESS_KEY_ID=XXX export AWS_SECRET_ACCESS_KEY=XXX kind=incremental if [ "$1" = "full" ] then kind=full fi duplicity $kind -v5 --num-retries 10 \ --include $HOME/work/ \ --include $HOME/workspace/ \ --include $HOME/Desktop/ \ --include $HOME/Documents/ \ --exclude '*' \ $HOME s3+http://work_doc export PASSPHRASE= export AWS_ACCESS_KEY_ID= export AWS_SECRET_ACCESS_KEY= cd - --- SCRIPT END --- But I keep getting this error: AsyncScheduler: running task synchronously (asynchronicity disabled) Traceback (most recent call last): File "/opt/local/bin/duplicity", line 583, in <module> with_tempdir(main) File "/opt/local/bin/duplicity", line 577, in with_tempdir fn() File "/opt/local/bin/duplicity", line 558, in main full_backup(col_stats) File "/opt/local/bin/duplicity", line 234, in full_backupbytes_written = write_multivol("full", tarblock_iter, globals.backend)
File "/opt/local/bin/duplicity", line 161, in write_multivol
(tdp, dest_filename)))
File "/opt/local/lib/python2.5/site-packages/duplicity/
asyncscheduler.py", line 146, in schedule_task
return self.__run_synchronously(fn, params)
File "/opt/local/lib/python2.5/site-packages/duplicity/
asyncscheduler.py", line 172, in __run_synchronously
ret = fn(*params)
File "/opt/local/bin/duplicity", line 160, in <lambda>
async_waiters.append(io_scheduler.schedule_task(lambda tdp,
dest_filename: put(tdp, dest_filename),
File "/opt/local/bin/duplicity", line 114, in put
backend.put(tdp, dest_filename)
File "/opt/local/lib/python2.5/site-packages/duplicity/backends/
botobackend.py", line 154, in put
self.bucket = self.conn.create_bucket(self.bucket_name)
File "/opt/local/lib/python2.5/site-packages/boto/s3/
connection.py", line 277, in create_bucket
data=data)
File "/opt/local/lib/python2.5/site-packages/boto/s3/
connection.py", line 305, in make_request
data, host, auth_path, sender)
File "/opt/local/lib/python2.5/site-packages/boto/connection.py",
line 324, in make_request
return self._mexe(method, path, data, headers, host, sender)
File "/opt/local/lib/python2.5/site-packages/boto/connection.py",
line 263, in _mexe
connection.request(method, path, data, headers)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/httplib.py", line 866, in request
self._send_request(method, url, body, headers)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/httplib.py", line 889, in _send_request
self.endheaders()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/httplib.py", line 860, in endheaders
self._send_output()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/httplib.py", line 732, in _send_output
self.send(msg)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/httplib.py", line 699, in send
self.connect()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/httplib.py", line 1135, in connect
ssl = socket.ssl(sock, self.key_file, self.cert_file)
AttributeError: 'module' object has no attribute 'ssl'
Any ideas?
Med venlig hilsen/Best regards
Søren Neigaard <[email protected]>
If I'd known computer science was going to be like this, I'd never
have given up being a rock 'n' roll star.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
