Missing paths in AppImage (Hatch Pattern File, Line Group File, Welding Directory and PAT File)

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
M4x
Veteran
Posts: 1472
Joined: Sat Mar 11, 2017 9:23 am
Location: Germany

Missing paths in AppImage (Hatch Pattern File, Line Group File, Welding Directory and PAT File)

Post by M4x »

Hey,

I've a problem regarding the pathes to the Hatch Pattern File, Line Group File, Welding Directory and PAT File. I know this error message from using FreeCAD-AppImages in general:

Code: Select all

Line Group File: /tmp/.mount_FreeCAGpp7sd/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv is not readable
I think this used to happen when the AppImage used another temporary directory and the known path didn't update correctly. My solution was to delete the pathes and restart FreeCAD. Afterwards I've used to found the correct pathes and everything was okay.

Now I've another problem: The pathes are missing completely:
Preferences_002.png
Preferences_002.png (112.73 KiB) Viewed 1549 times

Code: Select all

OS: Ubuntu 20.04.4 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.28929 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 6f24fd3)
Hash: 6f24fd3053a89a5fb12ab765f9df93ec04deeac1
Python 3.9.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: English/United States (en_US)
Installed mods: 
  * LCInterlocking
  * kicadStepUpMod 10.12.4
  * Lithophane
  * lattice2 1.0.0
  * Defeaturing
  * Manipulator
  * fasteners 0.3.41
  * sheetmetal 0.2.49
  * Assembly4
  * Curves
  * POV-Ray-Rendering
  * 3DfindIT 1.2.0

Am I the only one? What should I do?

Thanks!
Last edited by M4x on Thu Jun 02, 2022 8:07 pm, edited 1 time in total.
User avatar
M4x
Veteran
Posts: 1472
Joined: Sat Mar 11, 2017 9:23 am
Location: Germany

Re: Missing pathes in AppImage (Hatch Pattern File, Line Group File, Welding Directory and PAT File)

Post by M4x »

I've made some further tests. I'm not sure if it's something TechDraw-specific. I tend to say no, it's not.

Error message when launching FreeCAD from the terminal (my usual user):

Code: Select all

Line Group File: /tmp/.mount_FreeCAlFyO9h/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv is not readable
This is how the permissions for the temporary directory look like:

Code: Select all

drwxr-xr-x  3 root root       0 Mai 26 14:27 .mount_FreeCAlFyO9h
I'm using FreeCAD as another user (non root). Launching FreeCAD as root works fine.

running AppImage as root
running AppImage as root
Preferences_003.png (119.06 KiB) Viewed 1429 times

And this is the temp directory from the 0.19 AppImage (non root user):

Code: Select all

drwxr-xr-x  3 root root       0 Dez 15 00:39 .mount_FreeCA5QEksA
After I was able to run 0.20 as root without an error message, I thought I have a permission error. But I don't have a problem using 0.19 as a non root user. The permissions for the temporary directories are identical for 0.19 and 0.20.
User avatar
kaktus
Veteran
Posts: 1174
Joined: Sun Aug 11, 2019 11:59 am
Location: opolskie
Contact:

Re: Missing pathes in AppImage (Hatch Pattern File, Line Group File, Welding Directory and PAT File)

Post by kaktus »

Hi.

I am using AppImage, after running this workbench at my place everything is ok.
.
TD_1.png
TD_1.png (159.38 KiB) Viewed 1319 times
.
however, this error message is not unfamiliar to me.
.
TD_2.png
TD_2.png (242.69 KiB) Viewed 1319 times
.

Code: Select all

18:06:54  flag
18:22:29  LineGroup error: no group found in file /home/kaktus/.FreeCAD/usr/share/Mod/TechDraw/LineGroup/
18:26:39  LineGroup: the LineGroup file has only 0 entries but entry number -1 is set
18:26:39  LineGroup::invalid entry in /home/kaktus/.FreeCAD/usr/share/Mod/TechDraw/LineGroup/
18:26:39  LineGroup: the LineGroup file has only 0 entries but entry number -1 is set
18:26:39  LineGroup::invalid entry in /home/kaktus/.FreeCAD/usr/share/Mod/TechDraw/LineGroup/
18:26:39  LineGroup: the LineGroup file has only 0 entries but entry number -1 is set
18:26:39  LineGroup::invalid entry in /home/kaktus/.FreeCAD/usr/share/Mod/TechDraw/LineGroup/
18:26:39  LineGroup: the LineGroup file has only 0 entries but entry number -1 is set
18:26:39  LineGroup::invalid entry in /home/kaktus/.FreeCAD/usr/share/Mod/TechDraw/LineGroup/
18:26:39  LineGroup: the LineGroup file has only 0 entries but entry number -1 is set
18:26:39  LineGroup::invalid entry in /home/kaktus/.FreeCAD/usr/share/Mod/TechDraw/LineGroup/
18:26:39  LineGroup: the LineGroup file has only 0 entries but entry number -1 is set
18:26:39  LineGroup::invalid entry in /home/kaktus/.FreeCAD/usr/share/Mod/TechDraw/LineGroup/

Code: Select all

OS: Debian GNU/Linux bookworm/sid (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.28945 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0fb7cd9)
Hash: 0fb7cd9758d850f536d571cc094c9833fee18fff
Python 3.9.13, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: Polish/Poland (pl_PL)
Installed mods: 
...
Twórca polskiej wersji Wiki dla FreeCAD, współwórca polskiej wersji GUI.
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
User avatar
wandererfan
Veteran
Posts: 6265
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Missing pathes in AppImage (Hatch Pattern File, Line Group File, Welding Directory and PAT File)

Post by wandererfan »

kaktus wrote: Mon May 30, 2022 4:31 pm however, this error message is not unfamiliar to me.
18:22:29 LineGroup error: no group found in file /home/kaktus/.FreeCAD/usr/share/Mod/TechDraw/LineGroup/
18:26:39 LineGroup: the LineGroup file has only 0 entries but entry number -1 is set
I've never seen this message except in testing. I can make the first message appear by removing all the group entries from the LineGroup.csv file. Have not been able to generate the second message yet.

Can you post your LineGroup.csv file? What is your setting for the group name (Preferencja>Adnotacja>Szerokosc kinii w grupie)?
User avatar
kaktus
Veteran
Posts: 1174
Joined: Sun Aug 11, 2019 11:59 am
Location: opolskie
Contact:

Re: Missing pathes in AppImage (Hatch Pattern File, Line Group File, Welding Directory and PAT File)

Post by kaktus »

All settings are default.
I did not prepare additional files. :roll: This model has been modified many times, is it possible for something to break by itself :?:

I will send you a test file.
This way you will be able to check everything yourself.

If there's anything else I can help with I'm around. :idea:
Attachments
szablon_przyciskow.FCStd
(36.27 KiB) Downloaded 24 times
Twórca polskiej wersji Wiki dla FreeCAD, współwórca polskiej wersji GUI.
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
User avatar
kaktus
Veteran
Posts: 1174
Joined: Sun Aug 11, 2019 11:59 am
Location: opolskie
Contact:

Re: Missing pathes in AppImage (Hatch Pattern File, Line Group File, Welding Directory and PAT File)

Post by kaktus »

okay
I found the file you asked about.
;)
Attachments
LineGroup.csv
(1.05 KiB) Downloaded 26 times
Twórca polskiej wersji Wiki dla FreeCAD, współwórca polskiej wersji GUI.
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
User avatar
kaktus
Veteran
Posts: 1174
Joined: Sun Aug 11, 2019 11:59 am
Location: opolskie
Contact:

Re: Missing pathes in AppImage (Hatch Pattern File, Line Group File, Welding Directory and PAT File)

Post by kaktus »

Default settings.

The option you are asking about does not have a value in the checkbox.
.
Screenshot_20220530_201743.png
Screenshot_20220530_201743.png (136.44 KiB) Viewed 1265 times
.

Edit:

My clicking on this checkbox does not have any effect. :roll:
The options are not available.
Twórca polskiej wersji Wiki dla FreeCAD, współwórca polskiej wersji GUI.
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
User avatar
M4x
Veteran
Posts: 1472
Joined: Sat Mar 11, 2017 9:23 am
Location: Germany

Re: Missing pathes in AppImage (Hatch Pattern File, Line Group File, Welding Directory and PAT File)

Post by M4x »

It's working with default config files (= deleted user and system.cfg) :oops: Because I've seen this "update path error" several times using AppImages, I've thought that it would be something else. Sorry, I should've known better to delete my config first.

Now I'll have a look at my settings to "recreate" them. By the way: Is there a better way than going through the GUI?

I'm not going to mark this thread solved yet, because we're currently discussing the issue of user @kaktus
User avatar
kaktus
Veteran
Posts: 1174
Joined: Sun Aug 11, 2019 11:59 am
Location: opolskie
Contact:

Re: Missing pathes in AppImage (Hatch Pattern File, Line Group File, Welding Directory and PAT File)

Post by kaktus »

@wandererfan

Does your silence on the subject mean that my problem is only localized to me :?:

Warm greetings.

edit:

I did not make any changes. Today after opening the test file I get different messages.

Code: Select all

07:46:20  flag
07:47:41  Line Group File: /tmp/.mount_FreeCAOGxou4/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv is not readable
07:47:41  LineGroup: the LineGroup file has only 7 entries but entry number -1 is set
07:47:41  LineGroup::invalid entry in /tmp/.mount_FreeCAOGxou4/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv
07:47:41  Line Group File: /tmp/.mount_FreeCAOGxou4/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv is not readable
07:47:41  LineGroup: the LineGroup file has only 7 entries but entry number -1 is set
07:47:41  LineGroup::invalid entry in /tmp/.mount_FreeCAOGxou4/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv
07:47:41  Line Group File: /tmp/.mount_FreeCAOGxou4/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv is not readable
07:47:41  LineGroup: the LineGroup file has only 7 entries but entry number -1 is set
07:47:41  LineGroup::invalid entry in /tmp/.mount_FreeCAOGxou4/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv
07:47:41  Line Group File: /tmp/.mount_FreeCAOGxou4/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv is not readable
07:47:41  LineGroup: the LineGroup file has only 7 entries but entry number -1 is set
07:47:41  LineGroup::invalid entry in /tmp/.mount_FreeCAOGxou4/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv
07:47:41  Line Group File: /tmp/.mount_FreeCAOGxou4/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv is not readable
07:47:41  LineGroup: the LineGroup file has only 7 entries but entry number -1 is set
07:47:41  LineGroup::invalid entry in /tmp/.mount_FreeCAOGxou4/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv
07:47:41  Line Group File: /tmp/.mount_FreeCAOGxou4/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv is not readable
07:47:41  LineGroup: the LineGroup file has only 7 entries but entry number -1 is set
07:47:41  LineGroup::invalid entry in /tmp/.mount_FreeCAOGxou4/usr/share/Mod/TechDraw/LineGroup/LineGroup.csv
Twórca polskiej wersji Wiki dla FreeCAD, współwórca polskiej wersji GUI.
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
User avatar
kaktus
Veteran
Posts: 1174
Joined: Sun Aug 11, 2019 11:59 am
Location: opolskie
Contact:

Re: Missing pathes in AppImage (Hatch Pattern File, Line Group File, Welding Directory and PAT File)

Post by kaktus »

:roll:
All in all, I removed the TechDraw folder from the location:

Code: Select all

~/.FreeCAD/usr/share/Mod/
I forgot about it. I've been doing too many things at once lately.
Twórca polskiej wersji Wiki dla FreeCAD, współwórca polskiej wersji GUI.
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
Post Reply