Opened 7 years ago
Closed 7 years ago
#56305 closed defect (fixed)
freecad: runtime import exceptions, no module named pivy
Reported by: | dbevans (David B. Evans) | Owned by: | Schamschula (Marius Schamschula) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | freecad |
Description
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 FreeCAD/pivy.
Change History (2)
comment:1 Changed 7 years ago by Schamschula (Marius Schamschula)
comment:2 Changed 7 years ago by Schamschula (Marius Schamschula)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Thanks for letting me know about this. In my quick testing I did not run into this.