Status: New
Owner: ----
New issue 14 by
daniel...@gmail.com: AttributeError: BeatBoxXmlGenerator
instance has no attribute '_out'
http://code.google.com/p/salesforce-beatbox/issues/detail?id=14
What steps will reproduce the problem?
1. Deploy Ubuntu 13.04.
2. Deploy and import the beatbox library.
3. Attempt to login.
4. Observe error.
What is the expected output?
I expect to see a the login method for the client return a valid dictionary.
What do you see instead?
An error. Something similar to the following...
File "./script", line 52, in <module>
svc.login('
us...@salesforce.com', 'password123' + 'tokentokentoken')
File "/any/given/path/beatbox/python_client.py", line 73, in login
res = BaseClient.login(self, username, passwd)
File "/any/given/path/beatbox/_beatbox.py", line 60, in login
lr = LoginRequest(self.serverUrl, username, password).post()
File "/any/given/path/beatbox/_beatbox.py", line 309, in post
conn.request("POST", path, self.makeEnvelope(), headers)
File "/any/given/path/beatbox/_beatbox.py", line 266, in makeEnvelope
s = SoapWriter()
File "/any/given/path/beatbox/_beatbox.py", line 243, in __init__
self.startElement(_envNs, "Envelope")
File "/any/given/path/beatbox/_beatbox.py", line 177, in startElement
self.xg.startElementNS((namespace, name), name, attrs)
File "/any/given/path/beatbox/_beatbox.py", line 146, in startElementNS
self._out.write('<' + self.makeName(name))
AttributeError: BeatBoxXmlGenerator instance has no attribute '_out'
What version of the product are you using?
beatbox v20.
On what operating system?
Ubuntu 13.04
Please provide any additional information below.
It looks like on Sun, 10 Feb 2013 14:29:52 +0200 (2 months ago), Serhiy
Storchaka <
stor...@gmail.com> removed the reference to the _out property
of the XMLGenerator class. Here is there reference:
http://hg.python.org/cpython/diff/66f92f76b2ce/Lib/xml/sax/saxutils.py#l1.71
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings