[MacPorts] #56305: freecad: runtime import exceptions, no module named pivy

MacPorts noreply at macports.org
Mon Apr 16 15:52:59 UTC 2018


#56305: freecad:  runtime import exceptions,  no module named pivy
---------------------+-------------------------
 Reporter:  dbevans  |      Owner:  Schamschula
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  freecad
---------------------+-------------------------
 While not fatal, upon starting freecad and opening one of the packaged
 examples, the program throws multiple import exceptions similar to the
 following
 {{{
 Traceback (most recent call last):
   File "/opt/local/libexec/freecad/Mod/Draft/Draft.py", line 4271, in
 onChanged
     self.updateData(vobj.Object,"Start")
   File "/opt/local/libexec/freecad/Mod/Draft/Draft.py", line 4045, in
 updateData
     import DraftGui
   File "/opt/local/libexec/freecad/Mod/Draft/DraftGui.py", line 2276, in
 <module>
     import DraftSnap
   File "/opt/local/libexec/freecad/Mod/Draft/DraftSnap.py", line 36, in
 <module>
     import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers,
 DraftVecUtils, itertools
   File "/opt/local/libexec/freecad/Mod/Draft/DraftTrackers.py", line 38,
 in <module>
     from pivy import coin
 <type 'exceptions.ImportError'>: No module named pivy

 }}}

 Apparently a missing runtime dependency on module pivy which provides
 python bindings for Coin3D.

 Pivy is apparently not yet ported to MacPorts but a fork is available
 (with python3 compatibility fixes) on FreeCAD's github repository
 [https://github.com/FreeCAD/pivy FreeCAD/pivy].

-- 
Ticket URL: <https://trac.macports.org/ticket/56305>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list