Description of problem: Traceback (most recent call last): File "/usr/libexec/condor/hooks/hook_translate.py", line 301, in ? sys.exit(main()) File "/usr/libexec/condor/hooks/hook_translate.py", line 292, in main sqs_queue.write(message) File "/usr/lib/python2.3/site-packages/boto/sqs/queue.py", line 181, in write message.get_body_encoded()) File "/usr/lib/python2.3/site-packages/boto/sqs/message.py", line 117, in get_body_encoded return base64.b64encode(self.get_body()) AttributeError: 'module' object has no attribute 'b64encode' base64.encodestring(str).replace('\n','') seems a good substitute for b64encode Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This has been resolved, there were 3 issues: 1) b64encode(...) -> encodestring(...).replace('\n','') 2) sort(cmp=...) -> sort(...) 3) (most painful) extra Content-Length header introduce by boto/connection.py removed Please mark MODI once the new python-boto package is created
Changes are in python-boto-1.0a-2
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0036.html