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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

MacPorts
#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
Reply | Threaded
Open this post in threaded view
|

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

MacPorts
#56305: freecad:  runtime import exceptions,  no module named pivy
----------------------+-------------------------
  Reporter:  dbevans  |      Owner:  Schamschula
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  freecad  |
----------------------+-------------------------

Comment (by Schamschula):

 Thanks for letting me know about this. In my quick testing I did not run
 into this.

--
Ticket URL: <https://trac.macports.org/ticket/56305#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

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

MacPorts
In reply to this post by MacPorts
#56305: freecad:  runtime import exceptions,  no module named pivy
----------------------+-------------------------
  Reporter:  dbevans  |      Owner:  Schamschula
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:  fixed    |   Keywords:
      Port:  freecad  |
----------------------+-------------------------
Changes (by Schamschula):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 Closed by https://github.com/macports/macports-
 ports/commit/68d786a38ab3b3e17a7cf16128a1efa927233fcd

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