error "LineGroup.csv is not readable" after freecad upgrade
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
error "LineGroup.csv is not readable" after freecad upgrade
I have upgraded yesterday Freecad with chocolatey to version 24054. After that when I use any file with Techdraw, I am getting this error (multiple time) in the reporter:
21:51:40 Line Group File: C:/ProgramData/chocolatey/lib/freecad/tools/FreeCAD_0.19.24054-Win-Conda_vc14.x-x86_64/data/Mod/TechDraw/LineGroup/LineGroup.csv is not readable
When I open the abovementioned file in Excel, it could be opened without problems.
I tried to delete the whole drawing in Techdraw, open the new window and starting to work on a new view, but immediatelly after using Techdraw the errors above appeared multiple times.
Where is the problem?
21:51:40 Line Group File: C:/ProgramData/chocolatey/lib/freecad/tools/FreeCAD_0.19.24054-Win-Conda_vc14.x-x86_64/data/Mod/TechDraw/LineGroup/LineGroup.csv is not readable
When I open the abovementioned file in Excel, it could be opened without problems.
I tried to delete the whole drawing in Techdraw, open the new window and starting to work on a new view, but immediatelly after using Techdraw the errors above appeared multiple times.
Where is the problem?
Re: error "LineGroup.csv is not readable" after freecad upgrade
Similar problem here after moving from 19.24054 to 19.24212
Re: error "LineGroup.csv is not readable" after freecad upgrade
My guess would be you haven't got the preferences field completed as per screenshot:
Re: error "LineGroup.csv is not readable" after freecad upgrade
Thanks, the directories were mixed up by the installation. After pointing to right ones (with absolute link to directory of pre version of freecad )the errors disappeared. The only question is, after updating the version, if the links will change too.
Re: error "LineGroup.csv is not readable" after freecad upgrade
I'm having the same issues as OP after moving to 24789.
Line Group File: /tmp/.mount_FreeCA2mSmcl/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv is not readable
I can navigate to the file and it opens just fine. I checked the preference pane as suggested by Syres and the path listed for the line group file is
/tmp/.mount_FreeCADB3Olj/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv
The default template path listed has the same '.mount_FreeCADB3Olj' in it and it shows the same warning that the .SVG is not readable, but then it loads the default template in FreeCAD anyway. It appears that the paths are dynamic as the '.mount_xxxxxx' changes in the /tmp folder on every new instance of FreeCAD and the line group error shows the correct '.mount_xxxxxx' location for the current FreeCAD instance. I tried copying and pasting the actual path to the linegroup file into the preference pane path line, but it still throws the same warning.
OS: Ubuntu 20.04.2 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.24789 (Git) AppImage
Build type: Release
Branch: master
Hash: 31b0f25b6df1d1707fdf74135093831eec4f0281
Python version: 3.9.2
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.1
Locale: English/United States (en_US)
Line Group File: /tmp/.mount_FreeCA2mSmcl/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv is not readable
I can navigate to the file and it opens just fine. I checked the preference pane as suggested by Syres and the path listed for the line group file is
/tmp/.mount_FreeCADB3Olj/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv
The default template path listed has the same '.mount_FreeCADB3Olj' in it and it shows the same warning that the .SVG is not readable, but then it loads the default template in FreeCAD anyway. It appears that the paths are dynamic as the '.mount_xxxxxx' changes in the /tmp folder on every new instance of FreeCAD and the line group error shows the correct '.mount_xxxxxx' location for the current FreeCAD instance. I tried copying and pasting the actual path to the linegroup file into the preference pane path line, but it still throws the same warning.
OS: Ubuntu 20.04.2 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.24789 (Git) AppImage
Build type: Release
Branch: master
Hash: 31b0f25b6df1d1707fdf74135093831eec4f0281
Python version: 3.9.2
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.1
Locale: English/United States (en_US)
Re: error "LineGroup.csv is not readable" after freecad upgrade
I'm having the same issue as LSoltmann. I'm getting:
However, the file is readable:
In the preferences, the following path is used for “Line Group File”:
The ..mount_FreeCA… part seems to be auto-generated and incorrect. Is there a solution?
OS: Debian GNU/Linux 11 (bullseye) (X-Cinnamon/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.20.25645 (Git) AppImage
Build type: Release
Branch: master
Hash: 37d9757399b4c2ec30318eb88d7cd7c508246345
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: English/United Kingdom (en_GB)
Code: Select all
Line Group File: /tmp/.mount_FreeCAaavKVN/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv is not readable
Code: Select all
ls -l /tmp/.mount_FreeCAaavKVN/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv ~
-rw-rw-r-- 1 root root 1.1K 2021-09-05 11:33 /tmp/.mount_FreeCAaavKVN/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv
Code: Select all
/tmp/.mount_FreeCA5fokHj/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv
OS: Debian GNU/Linux 11 (bullseye) (X-Cinnamon/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.20.25645 (Git) AppImage
Build type: Release
Branch: master
Hash: 37d9757399b4c2ec30318eb88d7cd7c508246345
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: English/United Kingdom (en_GB)
Re: error "LineGroup.csv is not readable" after freecad upgrade
I think this problem only on Linux.
Im not have linux now but what is your path to Welding directory in Linux for example? Or template directory or hatch pattern directory?
Thats paths are work normal?
This string must be set initially automatically, but although it can be changed by user if desired.
I think needs a wide screenshot of this window in Linux so that all the paths can be seen. Perhaps this will somehow clarify the problem.
Im not have linux now but what is your path to Welding directory in Linux for example? Or template directory or hatch pattern directory?
Thats paths are work normal?
This string must be set initially automatically, but although it can be changed by user if desired.
I think needs a wide screenshot of this window in Linux so that all the paths can be seen. Perhaps this will somehow clarify the problem.
Re: error "LineGroup.csv is not readable" after freecad upgrade
Sure, the path is editable. But since it changes every time FC is launched, that's not a solution. The path is dynamically adjusted and there seems to be something wrong with that. Here's the screenshot:
Re: error "LineGroup.csv is not readable" after freecad upgrade
The beginning of the path for all folders is the same, which is good.
But yes i look paths is different in dialog and in console. This is strange.
Something method recreate temp folder, on FCPAT reading stage...
But yes i look paths is different in dialog and in console. This is strange.
Something method recreate temp folder, on FCPAT reading stage...