You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Devin Bayer (JIRA)" <ji...@apache.org> on 2012/08/02 11:00:05 UTC

[jira] [Created] (THRIFT-1669) NameError: global name 'TApplicationException' is not defined

Devin Bayer created THRIFT-1669:
-----------------------------------

             Summary: NameError: global name 'TApplicationException' is not defined 
                 Key: THRIFT-1669
                 URL: https://issues.apache.org/jira/browse/THRIFT-1669
             Project: Thrift
          Issue Type: Bug
          Components: Python - Compiler
    Affects Versions: 0.8
            Reporter: Devin Bayer
            Priority: Blocker


Code generated from this command line:

   thrift -strict -out . --gen py:slots,new_style hbase-thrift2.spec

causes a python module to be created which references TApplicationException, however this class is never imported.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (THRIFT-1669) NameError: global name 'TApplicationException' is not defined

Posted by "Jake Farrell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jake Farrell closed THRIFT-1669.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9
         Assignee: Jake Farrell

Line 409 of current trunk has the correct import in place, added r1335325 2012-05-07 21:45:21 

string("from thrift.Thrift import TType, TMessageType, TException, TApplicationException");
                
> NameError: global name 'TApplicationException' is not defined 
> --------------------------------------------------------------
>
>                 Key: THRIFT-1669
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1669
>             Project: Thrift
>          Issue Type: Bug
>          Components: Python - Compiler
>    Affects Versions: 0.8
>            Reporter: Devin Bayer
>            Assignee: Jake Farrell
>            Priority: Blocker
>             Fix For: 0.9
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Code generated from this command line:
>    thrift -strict -out . --gen py:slots,new_style hbase-thrift2.spec
> causes a python module to be created which references TApplicationException, however this class is never imported.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira