|
[S3tools-bugs] Bug when using regexp
From: Davide Ferrari <davide.ferrari@at...> - 2009-09-17 10:35
|
./s3cmd sync --rexclude="buttons/.*png" -P /var/static-content/images/ s3://s.atrapalo.com/images/ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! An unexpected error has occurred. Please report the following lines to: s3tools-bugs@... !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Problem: ExpatError: reference to invalid character number: line 2, column 15007 S3cmd: 0.9.9 Python: 2.5 (release25-maint, Jul 23 2008, 18:15:29) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] Traceback (most recent call last): File "./s3cmd", line 1562, in <module> main() File "./s3cmd", line 1542, in main cmd_func(args) File "./s3cmd", line 1018, in cmd_sync return cmd_sync_local2remote(args) File "./s3cmd", line 919, in cmd_sync_local2remote remote_list = fetch_remote_list(destination_base, recursive = True, require_attribs = True) File "./s3cmd", line 239, in fetch_remote_list objectlist = _get_filelist_remote(uri) File "./s3cmd", line 630, in _get_filelist_remote response = s3.bucket_list(remote_uri.bucket(), prefix = remote_uri.object(), recursive = recursive) File "/tmp/s3cmd-0.9.9/S3/S3.py", line 140, in bucket_list list += _get_contents(response["data"]) File "/tmp/s3cmd-0.9.9/S3/S3.py", line 120, in _get_contents return getListFromXml(data, "Contents") File "/tmp/s3cmd-0.9.9/S3/Utils.py", line 63, in getListFromXml tree = getTreeFromXml(xml) File "/tmp/s3cmd-0.9.9/S3/Utils.py", line 57, in getTreeFromXml tree = ET.fromstring(xml) File "xml/etree/ElementTree.py", line 963, in XML File "xml/etree/ElementTree.py", line 1245, in feed ExpatError: reference to invalid character number: line 2, column 15007 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! An unexpected error has occurred. Please report the above lines to: s3tools-bugs@... !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -- Davide Ferrari Atrapalo.com System Administrator |
| Thread | Author | Date |
|---|---|---|
| [S3tools-bugs] Bug when using regexp | Davide Ferrari <davide.ferrari@at...> |