Main (#1) - Update to 1236 no 3D (#26) - Message List

Update to 1236 no 3D
 unsolved

Hello,

I finally compile FreeCAD with OCE libs. (PythonOCC and FreeCAD installed in one system!)))

I updated openPLM to svn1236. Uncomment documment3D (restart services), and test it, celery log cat /var/log/celery/w1.log |grep document3D

[2012-06-21 18:45:39,802: INFO/MainProcess] Got task from broker: openPLM.document3D.models.handle_step_file[ee72f038-a086-4a9e-ad55-8ec6e6b21162]
[2012-06-21 18:45:43,267: ERROR/MainProcess] Task openPLM.document3D.models.handle_step_file[ee72f038-a086-4a9e-ad55-8ec6e6b21162] raised exception: ValueError('Error during the treatment of the file STEP',)

system Debian 7.0 arch i386

  • Message #89

    Hi,

    You can run the following commands

    cd path/to/openPLM
    python document3D/generate3D.py path/to/step/file.stp 1 media/3D/ thumbnail_1.png
    

    It should output a more complete traceback.

    There is a simple test file ( document3D/data_test/test2.stp ) which should be successfully read by openPLM. You can use it to test if there is an incompatibility between openPLM and your installation (or a bug in openPLM ;-)).

    Regards,

    Pierre

    • Message #91
      root@debian:/var/django/openPLM# python document3D/generate3D.py document3D/data_test/test2.stp /home/valber/new_form.png
      Traceback (most recent call last):
        File "document3D/generate3D.py", line 4, in <module>
          from STP_converter_WebGL import NEW_STEP_Import , MultiRoot_Error , OCC_ReadingStep_Error
        File "/var/django/openPLM/document3D/STP_converter_WebGL.py", line 21, in <module>
          from OCC.STEPCAFControl import STEPCAFControl_Reader
      ImportError: No module named OCC.STEPCAFControl
      

      Update libe-ocaf and re-install pythonOCC from here  https://launchpad.net/~hmeyer/+archive/3d/+build/3026061

      Now no 3D , and no output from command

      root@debian:/var/django/openPLM# python document3D/generate3D.py document3D/data_test/test2.stp /home/valber/new_form2.png
      

      /var/log/celery/w1.log

      [2012-06-22 19:53:59,325: INFO/MainProcess] Got task from broker: openPLM.document3D.models.handle_step_file[6d8dc3ff-2d44-42d7-85fe-7a5291b5376e]
      [2012-06-22 19:54:16,821: ERROR/MainProcess] Task openPLM.document3D.models.handle_step_file[6d8dc3ff-2d44-42d7-85fe-7a5291b5376e] raised exception: ValueError('Error during the treatment of the file STEP',)
      

      • Message #93

        Hi,

        Now no 3D , and no output from command

        root@debian:/var/django/openPLM# python document3D/generate3D.py document3D/data_test/test2.stp /home/valber/new_form2.png
        

        Two arguments are missing:

        python document3D/generate3D.py document3D/data_test/test2.stp 1 media/3D /home/valber/new_form2.png

        The first argument is an id, the second one is the output directory.

        /var/log/celery/w1.log

        [2012-06-22 19:53:59,325: INFO/MainProcess] Got task from broker: openPLM.document3D.models.handle_step_file[6d8dc3ff-2d44-42d7-85fe-7a5291b5376e]
        [2012-06-22 19:54:16,821: ERROR/MainProcess] Task openPLM.document3D.models.handle_step_file[6d8dc3ff-2d44-42d7-85fe-7a5291b5376e] raised exception: ValueError('Error during the treatment of the file STEP',)
        

        I've commit a new version ([1253]) that should log more information.

        Regards, Pierre

Attachments

No attachments created.