superfell / Beatbox

Beatbox is an easy to use Python Library for accessing the Salesforce.com API

Home Page:http://www.pocketsoap.com/beatbox/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AttributeError: BeatBoxXmlGenerator instance has no attribute '_out'

6farer opened this issue · comments

Error when trying to login.

Here is the issue on google code. Applying the recommended 'patch' does not seem to work.
https://code.google.com/p/salesforce-beatbox/issues/detail?id=14

fix for this:

Line 135:

class BeatBoxXmlGenerator(XMLGenerator):
    def __init__(self, destination, encoding):
        self._out = destination
        XMLGenerator.__init__(self, destination, encoding)

notice ' self._out = destination'

Please merge.

Thank you that worked for me.

For some reason it was working on a production server but not on my local machine.