View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000615 | FreeCAD | Bug | public | 2012-02-28 23:56 | 2013-07-01 09:44 |
| Reporter | erikevenson | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | not fixable | ||
| Product Version | 0.12 | ||||
| Fixed in Version | 0.14 | ||||
| Summary | 0000615: Cannot Import Part Module from Command Line | ||||
| Description | FreeCAD is unable to import the Part module when run from the command line on Mac OS X 10.7.3. | ||||
| Additional Information | Monolith:Desktop eevenson$ /Applications/FreeCAD.app/Contents/MacOS/FreeCAD -c FreeCAD 0.13, Libs: 0.13RUnknown © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2011 ##### #### ### #### # # # # # # # ## #### #### # # # # # #### # # # # # # # ##### # # # # #### #### # # # # # # # # # # # # # # ## ## ## # # #### #### ### # # #### ## ## ## [FreeCAD Console mode <Use Ctrl-D (i.e. EOF) to exit.>] >>> import FreeCAD >>> import Part Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: dlopen(/Applications/FreeCAD.app/Contents/Mod/Part/Part.so, 2): Library not loaded: libTKernel.2.dylib Referenced from: /Applications/FreeCAD.app/Contents/Mod/Part/Part.so Reason: image not found >>> | ||||
| Tags | No tags attached. | ||||
| FreeCAD Information | |||||
|
|
Obviously you run a pretty recent version of FreeCAD under Mac. Did you build the binaries yourself or did you install a pre-built package? Please note, that nobody of the FreeCAD developers have a Mac and thus we cannot guarantee for the quality of such packages. It might be possible that the package builder forgot to include some modules or the Mac version it was built is different to yours. From the error description it seems that the Part module cannot load a file from the OpenCascade (OCC) library. So, please check if in the FreeCAD package you find this file somewhere. If not then you very like have to install also the OCC library. Since the OCE project is a fork of OCC and should still be binary compatible you can get a Mac version from here: https://github.com/tpaviot/oce/downloads |
|
|
I installed a pre-built package. I understand that the Mac packages are unsupported. I installed the OCE library and still have not been able to get things to work. Thanks for your help in any case -- I will probably try to run my scripts on a Linux VM instead. |
|
|
For Part.so you should check which other libraries this depends on. Under Mac the tool is "otool". Since it still doesn't find the OCC files you possibly have to set an environment variable. Under Linux this is LD_LIBRARY_PATH but I don't know what's the counterpart on Mac. |
|
|
Degrade to Minor severity because it doesn't seem to be a FreeCAD problem but how it was built by the package maintainer. Maybe we should even close it... |
|
|
sorry, but there is nothing we can do. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-02-28 23:56 | erikevenson | New Issue | |
| 2012-02-29 10:42 | wmayer | Note Added: 0001684 | |
| 2012-02-29 22:28 | erikevenson | Note Added: 0001691 | |
| 2012-03-01 08:26 | wmayer | Note Added: 0001692 | |
| 2012-05-05 18:01 | yorik | Status | new => feedback |
| 2013-03-03 13:32 | wmayer | Note Added: 0002962 | |
| 2013-03-03 13:32 | wmayer | Severity | block => minor |
| 2013-07-01 09:44 | wmayer | Note Added: 0003309 | |
| 2013-07-01 09:44 | wmayer | Status | feedback => closed |
| 2013-07-01 09:44 | wmayer | Resolution | open => not fixable |
| 2013-07-01 09:44 | wmayer | Fixed in Version | => 0.14 |
FreeCAD