[ https://issues.apache.org/jira/browse/THRIFT-3708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15180365#comment-15180365 ]
Aki Sukegawa commented on THRIFT-3708: -------------------------------------- [~cjmay] thanks for catching this. I'll upload a fix soon. > 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)