← Back to team overview

kicad-developers team mailing list archive

upload issues to cern s3cmd?

 

Hi folks!

Apologies if I should send this to someone else rather than the whole
list, but I have been getting this error for the past few days:

s3cmd put kicad-extras-20190422-020027.dmg
kicad-nightly-20190422-014543-53437fe36.dmg
kicad-unified-20190422-022513-3c0012449.dmg
s3://kicad-downloads/osx/nightly/
ERROR: Error parsing xml: syntax error: line 1, column 0
ERROR: b'Error 400: Bad Request\nClient sent malformed request'


Invoked as: /usr/local/Cellar/s3cmd/2.0.2_1/libexec/bin/s3cmd put
kicad-extras-20190422-020027.dmg
kicad-nightly-20190422-014543-53437fe36.dmg
kicad-unified-20190422-022513-3c0012449.dmg
s3://kicad-downloads/osx/nightly/
Problem: ParseError: syntax error: line 1, column 0
S3cmd:   2.0.2
python:   3.7.2 (default, Jan 13 2019, 12:51:54)
[Clang 9.0.0 (clang-900.0.39.2)]
Traceback (most recent call last):
File "/usr/local/Cellar/s3cmd/2.0.2_1/libexec/bin/s3cmd", line 3092, in <module>
     rc = main()
   File "/usr/local/Cellar/s3cmd/2.0.2_1/libexec/bin/s3cmd", line 3001, in main
     rc = cmd_func(args)
   File "/usr/local/Cellar/s3cmd/2.0.2_1/libexec/bin/s3cmd", line 421,
in cmd_object_put
     response = s3.object_put(full_name, uri_final, extra_headers,
extra_label = seq_label)
   File "/usr/local/Cellar/s3cmd/2.0.2_1/libexec/lib/python3.7/site-packages/S3/S3.py",
line 677, in object_put
     return self.send_file_multipart(src_stream, headers, uri, size,
extra_label)
   File "/usr/local/Cellar/s3cmd/2.0.2_1/libexec/lib/python3.7/site-packages/S3/S3.py",
line 1603, in send_file_multipart
     upload.upload_all_parts(extra_label)
   File "/usr/local/Cellar/s3cmd/2.0.2_1/libexec/lib/python3.7/site-packages/S3/MultiPart.py",
line 119, in upload_all_parts
     self.upload_part(seq, offset, current_chunk_size, labels,
remote_status = remote_statuses.get(seq))
   File "/usr/local/Cellar/s3cmd/2.0.2_1/libexec/lib/python3.7/site-packages/S3/MultiPart.py",
line 176, in upload_part
     response = self.s3.send_file(request, self.file_stream, labels,
buffer, offset = offset, chunk_size = chunk_size)
   File "/usr/local/Cellar/s3cmd/2.0.2_1/libexec/lib/python3.7/site-packages/S3/S3.py",
line 1531, in send_file
     self.send_file, request, stream, labels, buffer, offset = offset,
chunk_size = chunk_size, use_expect_continue = use_expect_continue)
   File "/usr/local/Cellar/s3cmd/2.0.2_1/libexec/lib/python3.7/site-packages/S3/S3.py",
line 1181, in _http_400_handler
     failureCode = getTextFromXml(response['data'], 'Code')
   File "/usr/local/Cellar/s3cmd/2.0.2_1/libexec/lib/python3.7/site-packages/S3/Utils.py",
line 142, in getTextFromXml
     tree = getTreeFromXml(xml)
   File "/usr/local/Cellar/s3cmd/2.0.2_1/libexec/lib/python3.7/site-packages/S3/Utils.py",
line 106, in getTreeFromXml
     tree = ET.fromstring(xml)
   File "/usr/local/Cellar/python/3.7.2_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/xml/etree/ElementTree.py",
line 1315, in XML
     parser.feed(text)
 xml.etree.ElementTree.ParseError: syntax error: line 1, column 0

I have tried a few times over a few days. It used to work for me.  Any thoughts?

Adam


Follow ups