Description of problem: There are syntax errors in this code, and when fixed the code still won't execute. The syntax errors are: 1) "replyTo = "ReplyTo:" + base64.urlsafe_b64encode.(session.session_id)" - has extra period (.) after b64encode which shouldn't be there. 2) session.session_id isn't defined anywhere 3) Need to import base64 Issue #2 may actually be linked back to: http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/1.0/html/Messaging_Tutorial/sect-Messaging_Tutorial-Using_RHM_with_Python-Creating_and_Closing_Clients_and_Sessions.html Version-Release number of selected component (if applicable): How reproducible: Try to run the code in the tutorial. Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Is this based on Beta 4? This seems to be text from the old tutorial. Jonathan
No, this was based on the tutorial that existed before Beta 4.
I believe this is fixed in the new documentation. Please reopen if I'm wrong, with more details. Jonathan