Skip to content

Python code missing in the packaging of STLIB (release versions) #72

Open

Description

@ChristianDuriez

Hi

Current packaging of STLIB is not working as the python code is not included in the packaging.
In some old version of this packaging v21.06.03, in STLIB/lib/ there was a folder "python3/site-packages" that included the python code...
Is it possible to put it back ?

Activity

  1. damienmarchal commented on Apr 9, 2022

    @damienmarchal
    Member

    Yes :)

  2. ozilxu commented on Jun 5, 2022

    @ozilxu

    Hi, I have encounter a similar problem when using the first step tutorial file. And I can not find the ShowGrid object in the directory.

    Here is my detailed log:

    [SofaPython3::SceneLoader] Unable to completely load the scene from file '/xxx/SOFA_robosoft2022_python-3.8_Linux/plugins/SoftRobots/docs/sofapython3/tutorials/FirstSteps/myproject/mystep1.py'.
    Python exception:
    ImportError: cannot import name 'ShowGrid' from 'stlib3.visuals' (/xxx/SOFA_robosoft2022_python-3.8_Linux/plugins/STLIB/lib/python3/site-packages/stlib3/visuals/init.py)

    At:
    mystep1.py(2):
    (219): _call_with_frames_removed
    (848): exec_module
    (609): _exec
    /usr/lib/python3.8/imp.py(169): load_source
    /usr/lib/python3.8/imp.py(234): load_module
    (3):

    Thanks! @damienmarchal

  3. damienmarchal commented on Jul 4, 2022

    @damienmarchal
    Member

    Hi all,

    Thank for reporting these issues. Normally all that should be fixed for the next 22.06 release of Sofa.
    If you have some time to help, you can currently download the pre-release to check that this error is fixed.
    Check the v22.06 files at this page (the one with beta3, beta4 in there filename.)
    https://github.com/SofaDefrost/DefrostSofaBundle/releases

  4. ozilxu commented on Jul 11, 2022

    @ozilxu

    Thanks a lot! @damienmarchal The new version has fixed this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions