[ 
https://issues.apache.org/jira/browse/THRIFT-612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771074#action_12771074
 ] 

David Reiss commented on THRIFT-612:
------------------------------------

NP.  I know how the bug was introduced: I'm used to writing C++ code, and not 
needing a "self." for each method call.  I only tested this code in the context 
of a normal method call.

> readFrame being called out of scope
> -----------------------------------
>
>                 Key: THRIFT-612
>                 URL: https://issues.apache.org/jira/browse/THRIFT-612
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (Python)
>    Affects Versions: 0.1, 0.2
>            Reporter: Chris Goffinet
>             Fix For: 0.2
>
>         Attachments: 
> 0001-Added-self-so-that-readFrame-does-not-throw-an-error.patch
>
>
> ERROR:root:global name 'readFrame' is not defined
> Traceback (most recent call last):
>     fastbinary.decode_binary(self, iprot.trans, (self.__class__, 
> self.thrift_spec))
>   File "build/bdist.macosx-10.6-i386/egg/thrift/transport/TTransport.py", 
> line 301, in cstringio_refill
>     readFrame()
> NameError: global name 'readFrame' is not defined

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to