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
selecting Thread Profile workbench: cannot import name '_ViewProviderWire' from 'Draft' #28
Comments
Here is a pull request (approved but the travis build failed) for the Draft workbench that might fix this issue. 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) |
Interesting data ... First tests by starting FC with without loading any of my files and running 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)
The text was updated successfully, but these errors were encountered: