duplicity-tracker
[Top][All Lists]
Advanced

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

[Duplicity-tracker] [bug #22354] Unhandled exception: boto.exception.S3R


From: Simon Mikkelsen
Subject: [Duplicity-tracker] [bug #22354] Unhandled exception: boto.exception.S3ResponseError: S3ResponseError: 500 Internal Server Error
Date: Mon, 18 Feb 2008 16:36:44 +0000
User-agent: Opera/9.25 (X11; Linux i686; U; en)

URL:
  <http://savannah.nongnu.org/bugs/?22354>

                 Summary: Unhandled exception:
boto.exception.S3ResponseError: S3ResponseError: 500 Internal Server Error
                 Project: duplicity
            Submitted by: tryl
            Submitted on: Monday 02/18/2008 at 16:36
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I have just had my computer spend almost 24 hours uploading 5 GB (3 GB left)
to Amazon S3 using duplicity, when I got this exception:

Uploading duplicity-full.2008-02-17T17:56:17+02:00.vol937.difftar.gpg to
Amazon S3
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 394, in <module>
    if __name__ == "__main__": main()
  File "/usr/bin/duplicity", line 387, in main
    if not sig_chain: full_backup(col_stats)
  File "/usr/bin/duplicity", line 146, in full_backup
    bytes_written = write_multivol("full", tarblock_iter, globals.backend)
  File "/usr/bin/duplicity", line 93, in write_multivol
    backend.put(tdp, dest_filename)
  File "/usr/lib/python2.5/site-packages/duplicity/backends.py", line 693, in
put
    {'Content-Type': 'application/octet-stream'})
  File "/var/lib/python-support/python2.5/boto/s3/key.py", line 245, in
set_contents_from_filename
    self.set_contents_from_file(fp, headers, replace, cb, num_cb)
  File "/var/lib/python-support/python2.5/boto/s3/key.py", line 234, in
set_contents_from_file
    self.send_file(fp, headers, cb, num_cb)
  File "/var/lib/python-support/python2.5/boto/s3/key.py", line 183, in
send_file
    raise S3ResponseError(response.status, response.reason, body)
boto.exception.S3ResponseError: S3ResponseError: 500 Internal Server Error
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>InternalError</Code><Message>We encountered an internal error.
Please try
again.</Message><RequestId>A...stuff...7</RequestId><HostId>N...more
stuff...R</HostId></Error>

The exception obviously originates in boto, and some might argue it should
only be handled (by retrying a number of times - in a case like this
preferable over a longer period of time time) there, but it would be nice if
duplicity would rely on 3rd party libraries being 100% perfect. After all,
having spend 24 hours and a few bucks uploading stuff really sucks :-) 

Keep up the good work!!

I'm using: duplicity version 0.4.3 running on linux2 on Ubuntu and
python2.4-boto, python2.5-boto installed too.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?22354>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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