Open stepheneb opened 3 years ago
Here is a pull request (approved but the travis build failed) for the Draft workbench that might fix this issue.
https://github.com/FreeCAD/FreeCAD/pull/4661
In the mean time if I open FC with none of my files that cause this issue loaded and then select the Draft workbench before opening one my files that use the ThreadProfile workbench this problem does not occur.
I am unable to recreate the error you mentioned. I am also using the same version of FreeCAD (except on windows instead of mac). I get the attachment engine warnings only, but not the other errors.
Try to open the python console and enter this:
from Draft import _ViewProviderWire
If you get an error like the one you mentioned, try this instead:
from draftviewproviders.view_wire import ViewProviderWire as _ViewProviderWire
and see if that is error free.
OS: Windows 10 (10.0) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.24267 (Git) Build type: Release Branch: master Hash: b2ca86d8d72b636011a73394bf9bcdedb3b109b7 Python version: 3.8.8 Qt version: 5.12.5 Coin version: 4.0.0 OCC version: 7.4.0 Locale: English/United States (en_US)
Interesting data ...
First tests by starting FC with without loading any of my files and running from Draft import _ViewProviderWire
in the python console, then quitting and trying a variation:
FC starts up with this workbench selected:
With FC not running if I load any of a number of similar files I get the errors listed above in the report window.
I'll see what is the minimal file I can make that generates this issue.
@stepheneb can you recreate this with FreeCAD v0.20 ?
FC: 0.19, ThreadProfile workbench 1.69 (more details at bottom)
May be related: https://forum.freecadweb.org/viewtopic.php?f=23&t=56711&p=490392#p490392
OS: macOS 10.16 Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.24267 (Git) Build type: Release Branch: master Hash: b2ca86d8d72b636011a73394bf9bcdedb3b109b7 Python version: 3.8.8 Qt version: 5.12.5 Coin version: 4.0.0 OCC version: 7.4.0 Locale: C/Default (C)