"could not open Presents/profiles.csv" on Arch WB activation

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

"could not open Presents/profiles.csv" on Arch WB activation

Post by jmaustpc »

Hi all
If I start FreeCAD and switch to the Arch WB I get the following text message in report view
Could not open
freecad location
/data/Mod/Arch/Presets/profiles.csv
Arch workbench activated

OS: Ubuntu 12.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6205 (Git)
Build type: Debug
Branch: master
Hash: 89cb2479232ea949b368e849d90fd6ce563154c1
Python version: 2.7.3
Qt version: 4.8.2
Coin version: 3.1.3
OCC version: 6.9.1.oce-0.18-dev
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: "could not open Presents/profiles.csv" on Arch WB activation

Post by yorik »

this is a change I added 2 days ago... The presets of arch structures are now in a separate .csv file that gets copied to the "data" dir on install.
do you use FreeCAD from the build dir by chance?
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: "could not open Presents/profiles.csv" on Arch WB activation

Post by jmaustpc »

yorik wrote:this is a change I added 2 days ago... The presets of arch structures are now in a separate .csv file that gets copied to the "data" dir on install.
do you use FreeCAD from the build dir by chance?
Yes. I never install any of my FreeCADs except the ppa because they would clash...presumably. :)
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: "could not open Presents/profiles.csv" on Arch WB activation

Post by sgrogan »

jmaustpc wrote:Yes. I never install any of my FreeCADs
Neither do I.
Potential fix here:https://github.com/sgrogan/FreeCAD/comm ... ae33cb325d
"fight the good fight"
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: "could not open Presents/profiles.csv" on Arch WB activation

Post by yorik »

added your fix, thanks sgrogan! git commit 97aea8a
Post Reply