Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Templates not found with Techdraw workbench #125

Closed
jhaand opened this issue Aug 7, 2023 · 8 comments
Closed

Templates not found with Techdraw workbench #125

jhaand opened this issue Aug 7, 2023 · 8 comments

Comments

@jhaand
Copy link

jhaand commented Aug 7, 2023

Seen: 2023-08-07T13:13 UTC
FreeCAD version: 0.21.0 rev 33675
OS: Debian 12.1 Stable

Actions taken:
Create a new file.
Select the Techdraw workbench
Select Insert Page using Template

Expected: A file selector showing the available drawing templates in the FLatpak directory.

Observed: A file selector pointing to the directory where my project was saved.

Work around:
Find the templates by hand with:
find . -name Templates /var/lib/flatpak |grep TechDraw
Then navigate to that location.

@jhaand
Copy link
Author

jhaand commented Aug 22, 2023

Tested this issue on another system after coming home from vacation. insert page from template does point to the templates here.

Also since this hasn't been picked up after 2 weeks. I think this was just a one off incident.

Closing this now.

@jhaand jhaand closed this as completed Aug 22, 2023
@jhaand jhaand reopened this Apr 24, 2024
@jhaand
Copy link
Author

jhaand commented Apr 24, 2024

I have the same problem again. No easy pointer to the template directory.
A default of /var/lib/flatpak/app/org.freecadweb.FreeCAD/current/active/files/share/Mod/TechDraw/Templates would help in this case.

@hfiguiere
Copy link
Contributor

this path isn't stable. it won't work for a user install
or even the install is in a different location.

@jhaand
Copy link
Author

jhaand commented Apr 26, 2024

Would it be possible to add the path after installing or even pre-startup?

@adrianinsaval
Copy link
Collaborator

I can't reproduce this on flathub-beta version, is this still a problem for you? For me it directly opens to /app/share/Mod/TechDraw/Templates, I guess this would be a problem if freecad was using the portal file picker

@jhaand
Copy link
Author

jhaand commented Nov 9, 2024

I tried it with 0.21.2 and Techdraw refers to my local '~/.Documents' directory when I try to open a template.

@adrianinsaval
Copy link
Collaborator

please try the flathub-beta version

flatpak remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
flatpak install flathub-beta org.freecad.FreeCAD

@jhaand
Copy link
Author

jhaand commented Nov 11, 2024

With the flathub-beta with 1.0RC2 the templates appear.
Thank you for the extra pointers.
This issue can be closed.

@jhaand jhaand closed this as completed Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants