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

A forum dedicated to the Draft, Arch and BIM workbenches development.
jmaustpc
Posts: 9277
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

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

Postby jmaustpc » Mon Jan 11, 2016 1:51 pm

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
Site Admin
Posts: 11145
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

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

Postby yorik » Mon Jan 11, 2016 2:45 pm

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
Posts: 9277
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

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

Postby jmaustpc » Mon Jan 11, 2016 4:24 pm

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
Posts: 5049
Joined: Wed Oct 22, 2014 5:02 pm

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

Postby sgrogan » Mon Jan 11, 2016 7:28 pm

jmaustpc wrote:Yes. I never install any of my FreeCADs
Neither do I.
Potential fix here:https://github.com/sgrogan/FreeCAD/comm ... ae33cb325d
User avatar
yorik
Site Admin
Posts: 11145
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

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

Postby yorik » Tue Jan 12, 2016 12:08 am

added your fix, thanks sgrogan! git commit 97aea8a