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

ASF GitHub Bot commented on THRIFT-3708:
----------------------------------------

GitHub user nsuke opened a pull request:

    https://github.com/apache/thrift/pull/920

    THRIFT-3708 NameError: global name 'TProtocol' is not defined

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nsuke/thrift THRIFT-3708

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/920.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #920
    
----
commit 826f2a9238d333f539dba7578400385f40ee31c9
Author: Nobuaki Sukegawa <[email protected]>
Date:   2016-03-04T18:54:51Z

    THRIFT-3708 NameError: global name 'TProtocol' is not defined

----


> NameError: global name 'TProtocol' is not defined
> -------------------------------------------------
>
>                 Key: THRIFT-3708
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3708
>             Project: Thrift
>          Issue Type: Bug
>          Components: Python - Compiler
>    Affects Versions: 1.0
>            Reporter: Chandler May
>
> In the generated ttypes.py file a TProtocol.TProtocolException is raised from 
> the validate method but TProtocol has not been imported.  This results in a 
> NameError when the validate method is invoked.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to