You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Alexander Blom (JIRA)" <ji...@apache.org> on 2014/05/05 16:21:15 UTC

[jira] [Created] (THRIFT-2514) Python generated "Service-remote" is in the wrong folder.

Alexander Blom created THRIFT-2514:
--------------------------------------

             Summary: Python generated "Service-remote" is in the wrong folder.
                 Key: THRIFT-2514
                 URL: https://issues.apache.org/jira/browse/THRIFT-2514
             Project: Thrift
          Issue Type: Bug
          Components: Python - Compiler
    Affects Versions: 0.9.1
            Reporter: Alexander Blom
            Priority: Minor


When running the Service-Remote script (current folder doesn't matter) it will always fail to import the service in question.

{code}
ImportError: No module named service.Service
{code}

This is due to it being in the wrong folder, it needs to be top level inside gen-py for the imports to work correctly. Simply copying the script resolved the problem.



--
This message was sent by Atlassian JIRA
(v6.2#6252)