View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001981 | FreeCAD | Bug | public | 2015-02-26 16:53 | 2017-07-11 20:12 |
| Reporter | ned | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Mac | OS | Mac OS X | OS Version | 10.10 (Yosemite) |
| Product Version | 0.14 | ||||
| Summary | 0001981: Some workbenches only work if FreeCAD is installed in /Applications | ||||
| Description | FreeCAD modules only work if installed in /Applications. The Mac has a user-specific directory for apps installed by that user, in my case /Users/john/Applications. The nice thing is that installing apps in the user's Applications folder does not require administrator privileges. If I install FreeCAD in /Users/john/Applications, then activating some workbenches fails with a pop up that says something like "must be string, not None". FreeCAD's modules ought to work from my Downloads folder. | ||||
| Steps To Reproduce | 1. Download FreeCAD and unzip it but leave it in the Downloads directory. 2. Optionally move it to /Users/myname/Applications. 3. Activate workbench (for example) Arch. (Some workbenches do not show this message) Notice the error message: 'NoneType' object has no attribute 'file' Also: 1. Download and unzip CadQuery. 2. Drag the CadQuery folder into the /Users/john/Applications/FreeCAD.app/Contents/Mod folder. 3. Activate workbench CadQuery. Notice the error message: "must be string, not None" Note that running FreeCAD from the terminal does NOT reproduce this problem for the Arch workbench. However, for the CadQuery module, it does: $ cd /Users/john/Applications/FreeCAD.app/Contents/bin $ ./FreeCAD -l FreeCAD 0.14, Libs: 0.14R3703 (Git) © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2011 ##### #### ### #### # # # # # # # ## #### #### # # # # # #### # # # # # # # ##### # # # # #### #### # # # # # # # # # # # # # # ## ## ## # # #### #### ### # # #### ## ## ## Arch workbench activated Arch workbench deactivated must be string, not None 2015-02-26 08:38:02.285 FreeCAD[41907:8721345] modalSession has been exited prematurely - check for a reentrant call to endModalSession: In the above log, you can see that no error message was generated when activating Arch. The error message "must be string, not None" was generated when I activated CadQuery. | ||||
| Additional Information | In general, Mac applications ought to be runnable directly from the Downloads (or any other folder) in which the user has permissions. FreeCad is runnable but some add on modules do not seem to work. OS: Mac OS X Word size: 64-bit Version: 0.14.3703 (Git) Branch: releases/FreeCAD-0-14 Hash: c6edd47334a3e6f209e493773093db2b9b4f0e40 Python version: 2.7.5 Qt version: 4.8.6 Coin version: 3.1.3 SoQt version: 1.5.0 OCC version: 6.7.0 | ||||
| Tags | macOS | ||||
| FreeCAD Information | |||||
|
|
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=10&t=20062 |
|
|
@ned please retest current stable 0.16 Thank you. |
|
|
This is OBE. We build an Application bundle for macOS that includes all dependencies and is relocatable (i.e. can be run from anywhere it is placed). This can safely be closed. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-02-26 16:53 | ned | New Issue | |
| 2017-01-10 13:56 | Kunda1 | Tag Attached: MacOSX | |
| 2017-01-19 19:52 | Kunda1 | Note Added: 0007887 | |
| 2017-01-19 19:55 | Kunda1 | Note Added: 0007888 | |
| 2017-01-19 19:55 | Kunda1 | Status | new => feedback |
| 2017-01-19 19:55 | Kunda1 | Tag Attached: #pending | |
| 2017-01-19 19:55 | Kunda1 | Tag Attached: #tobeclosed | |
| 2017-01-19 20:02 | blacey | Note Added: 0007889 | |
| 2017-01-19 20:03 | Kunda1 | Tag Detached: #pending | |
| 2017-01-19 20:03 | Kunda1 | Status | feedback => closed |
| 2017-01-19 20:03 | Kunda1 | Resolution | open => fixed |
| 2017-01-19 20:04 | Kunda1 | Relationship added | related to 0002006 |
| 2017-07-11 20:12 | Kunda1 | Tag Detached: #tobeclosed | |
| 2020-11-13 14:08 | Kunda1 | Tag Renamed | MacOSX => macOS |
FreeCAD