Python API problem

Viewing 3 posts - 1 through 3 (of 3 total)
  • 14th June 2017 at 11:14 am #14578

    Hello,

    I’m trying to run ‘dump_templates.py’ but i receive a Segmentation fault plus this error:

    Traceback (most recent call last):
    File ““, line 1, in
    ImportError: No module named muster
    Loading templates from /prod/softprod/apps/muster/8.6.9/linux/templates

    Loading /prod/softprod/apps/muster/8.6.9/linux/templates/pp_mayapy_30004.py
    Segmentation fault (core dumped)

    All env variables are correctly set, i can run other examples without problems…
    I’m using python2.6 (on a Centos 6) and muster 8.6.9…

    I’ve recompile MClientAPI and MTemplateAPI for python2.6 without problem but
    when i try with those libraries, i get:

    Traceback (most recent call last):
    File “dump_templates.py”, line 19, in
    manager = MTemplateAPI.MManager.getUniqueClass()
    AttributeError: class MManager has no attribute ‘getUniqueClass’

    Can you help me ?
    Thanks.

    Sylvain

    17th June 2017 at 7:33 am #15284

    This forum is dead?
    Do i have to contact the support?

    19th February 2018 at 1:35 pm #16654

    Sorry for delaying the response but the forum are unmoderated until now, we’ll start to moderate the forums with the release of Muster 9
    I think you already have contacted the support for this topic by the way, it seems like your environment is not finding the Python extension for Muster, also you said that you’re using Python 2.6, the standard plugins we distribute are for version 2.7 so that’s why they are not loaded by your Python interpreter. I suggest you to switch to 2.7 or 3.3

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.