FreeCAD_AirPlaneDesign
FreeCAD_AirPlaneDesign copied to clipboard
No module named 'App.xfoil'
Hi, I just install AirPlaneDesign Workbench. when i selected the workbench, receive this error message.
anyone know how to solve this problem. i am working on windows 11, Freecad 0.20.1
here are errors show on report view:
No module named 'App.xfoil'
Traceback (most recent call last):
File "
Rocket workbench causes AirPlaneDesign workbench to fail
@davesrocketshop have you encountered this issue ?
Yes, and while I believe the installation of both applications is the cause, both are at fault. Much of the documentation describes App and Gui folders for workbenches and this is the core problem as it runs into naming conflicts. Early on I discovered the Gui conflict and renamed my package as Ui. The App folder showed no issues so I left it as is.
I tried renaming the App folder in the airplane design workbench and things worked fine. It's a straight up name space problem. I'll rename my folder in my next release, and the airplane design workbench should probably do the same.
Unfortunately renaming my App folder is a no go. When importing older models there is no way to migrate the old class and path to the new class and path without the old path existing. Which of course defeats the purpose. I'll raise this on the forum but I don't believe this can be fixed.
https://wiki.freecad.org/Scripted_objects_migration
And once again the forums pull through! https://forum.freecad.org/viewtopic.php?p=667207#p667207
I will be renaming my App folder in the next release. This workbench should do the same.
I've tested with my renamed folder and this workbench now works as expected.