View Issue Details

IDProjectCategoryView StatusLast Update
0001470FreeCADBugpublic2014-03-11 01:28
Reportersdavies Assigned Toyorik  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
OSLinuxOS VersionFedora 20 
Fixed in Version0.14 
Summary0001470: No module called pivy
DescriptionOS: Linux
Platform: 64-bit
Version: 0.14.3285 (Git)
Branch: master
Hash: 664c50b6b6b0c50a4825f52accc1921204c4f3b3
Python version: 2.7.5
Qt version: 4.8.5
Coin version: 3.1.3
SoQt version: 1.5.0

Traceback (most recent call last):
  File "/home/scldad/.FreeCAD/aerofoil.FCMacro", line 16, in <module>
    import FreeCAD, FreeCADGui, Draft
  File "/usr/local/Mod/Draft/Draft.py", line 4748, in <module>
    import DraftSnap
  File "/usr/local/Mod/Draft/DraftSnap.py", line 29, in <module>
    import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils
  File "/usr/local/Mod/Draft/DraftTrackers.py", line 30, in <module>
    from pivy import coin
<type 'exceptions.ImportError'>: No module named pivy
Steps To ReproduceFreeCAD built from scratch using embedded pivy.

Try to execute the aerofoil_import macro.

The weird thing is that it works if I run .../freecad-build/bin/FreeCAD but not if I run /usr/local/bin/FreeCAD.

Maybe something in the make install???

/usr/local/bin/pivy exists and contains coin.py.

(It also works with both executables at build 3202.)
TagsNo tags attached.
FreeCAD Information

Activities

sdavies

2014-03-10 06:16

reporter   ~0004402

Resolved.

It is necessary to invoke FreeCAD with a full path to enable it to find the pivy module.

Changing the invocation to /usr/local/bin/FreeCAD rather than just FreeCAD makes it work.

yorik

2014-03-11 01:28

administrator   ~0004409

Good, then I'll close the issue!

Issue History

Date Modified Username Field Change
2014-03-10 05:07 sdavies New Issue
2014-03-10 06:16 sdavies Note Added: 0004402
2014-03-11 01:28 yorik Note Added: 0004409
2014-03-11 01:28 yorik Status new => closed
2014-03-11 01:28 yorik Assigned To => yorik
2014-03-11 01:28 yorik Resolution open => no change required
2014-03-11 01:28 yorik Fixed in Version => 0.14