Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2514

Python generated "Service-remote" is in the wrong folder.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.9.1
    • Fix Version/s: None
    • Component/s: Python - Compiler
    • Labels:
      None

      Description

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

      ImportError: No module named service.Service
      

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alexanderblom Alexander Blom
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: