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

TechDraw: "No default template found" error in weekly #13539

Closed
2 tasks done
FEA-eng opened this issue Apr 19, 2024 · 10 comments
Closed
2 tasks done

TechDraw: "No default template found" error in weekly #13539

FEA-eng opened this issue Apr 19, 2024 · 10 comments
Labels
Bug This issue or PR is related to a bug Regression Bugs describing a regression or PRs fixing one WB TechDraw Related to the TechDraw Workbench

Comments

@FEA-eng
Copy link
Contributor

FEA-eng commented Apr 19, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

I'm unable to use TechDraw in the newest Windows weekly. When I click the Insert Default Page button, I get the "No default template found" error and the following warning message appears in the report view:

15:16:36 Template File: E:\Program Files\FreeCAD_weekly-builds-36874-2024-04-17-conda-Windows-x86_64-py311\data\Mod/TechDraw/Templates/A4_LandscapeTD.svg is not readable

@WandererFan FYI

Full version info

OS: Windows 10 build 19045
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.36874 (Git)
Build type: Release
Branch: main
Hash: a4dd600ec6d5a53a9960cd9f8693d7d307b9e359
Python 3.11.8, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: Polish/Poland (pl_PL)

Subproject(s) affected?

Techdraw

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@dplanella
Copy link
Contributor

I'm not sure if this is related, but on #13368 I renamed the custom TD and m52 TechDraw templates to include an underscore for consistency. I could imagine that if you had your default template set to any of those, you'd run into this error.

@FEA-eng
Copy link
Contributor Author

FEA-eng commented Apr 19, 2024

I could imagine that if you had your default template set to any of those, you'd run into this error.

The thing is that I’m not using any custom templates, only the default one as available in fresh installation.

@dplanella
Copy link
Contributor

In that case, it might not be related. Although I must say I had the same issue as described here in a recent daily build. I assumed I had been using one of the custom templates.

@maxwxyz maxwxyz added Bug This issue or PR is related to a bug WB TechDraw Related to the TechDraw Workbench labels Apr 19, 2024
@WandererFan
Copy link
Contributor

I struggle with windows issues, but is the presence of both forward and backward slashes in the file path relevant?

What is in your preference for the default template?

@FEA-eng
Copy link
Contributor Author

FEA-eng commented Apr 20, 2024

The paths are empty:

templates

It was working normally in the previous weekly builds.

@luzpaz luzpaz added the Regression Bugs describing a regression or PRs fixing one label Apr 20, 2024
@maxwxyz
Copy link
Collaborator

maxwxyz commented Apr 30, 2024

can confirm, same behavior.
Discussion: https://forum.freecad.org/viewtopic.php?p=756351

OS: Windows 11 build 22631
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.36729 (Git)
Build type: Release
Branch: main
Hash: 6ca35709ddc7f95fb84eef4c24973dc489e5acde
Python 3.11.8, Qt 5.15.8, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: English/United States (en_US)
Installed mods: 
  * BIM 2021.12.0
  * CfdOF 1.25.11
  * Curves 0.6.35
  * dodo 1.0.1
  * fasteners 0.5.20
  * fcVM-WB
  * freecad.gears 1.2.0
  * OpenTheme 2024.4.20
  * sheetmetal 0.4.13

@maxwxyz
Copy link
Collaborator

maxwxyz commented May 1, 2024

I guess its related to this: #13539 (comment)
@WandererFan do you set a default template behind the scenes as fallback because my paths are now also blank? Maybe it there was an entry before, the rename of the one broke the path and cleared it?
image

@prokoudine
Copy link

It's the same on Linux (Ubuntu 23.10).

@WandererFan
Copy link
Contributor

fixed by #13784

@FEA-eng
Copy link
Contributor Author

FEA-eng commented May 18, 2024

fixed by #13784

Yes, but the default template is a blank page now so it’s kind of a regression. Do you plan to fix that? Should I create a new issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This issue or PR is related to a bug Regression Bugs describing a regression or PRs fixing one WB TechDraw Related to the TechDraw Workbench
Projects
None yet
Development

No branches or pull requests

6 participants