-
Notifications
You must be signed in to change notification settings - Fork 12
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
Work bench fails to launch #63
Comments
Due to licensing issues, the dependency is not automatically included in the Linux versions of FreeCAD. I'll be removing this dependency in a future release. In the meantime you can manually add it to your system. On ubuntu and likely most Debian derived systems you can do this with: $ sudo apt install python3-pyqt5.qtchart |
Thank you for your response. In addition to your suggestion of using 'sudo apt install python3-pyqt5.qtchart,' I've also attempted to resolve the issue by running 'pip install PySide2.' Unfortunately, I'm still encountering the same error. |
Well, let's start from the beginning. From the FreeCAD menu bar, select "Help"->"About FreeCAD". The dialog will show some information, including a button saying "Copy to clipboard". Push the button, and then paste here |
[code]
|
Ok, problem identified. You're running FreeCAD from a snap. The key feature of the snap is that the program is packaged with its own dependencies, meaning it's not reliant on the packages installed by the OS. The other side of that coin is that installing missing packages on your OS will not be seen by the snap. So we're all out of luck there. Plan B is to remove flutter analysis, and that will involve editing some lines of code. in the file
Unfortunately it's a bit of a project to replace this code and it's going to be a while before I can get to it. |
Thanks , I really appreciate the help . |
While this may not pertain to the current topic, I'd like to inquire about the most effective approach for initiating workbench development. |
I've just created a new release that handles the missing QtCharts module more gracefully. You still won't be able to use the flutter analysis dialog without it, but all other functionality will be unaffected. |
Start here: Good ways to communicate more interactively are through twitter @davesrocketshop ro via the FreeCAD discord channel |
Thanks , |
I'm going to leave this issue open. The last release allows for graceful failure, but it is still failure not a fix. The fix is to remove the requirement for QtCharts |
Fixed in v3.2.3. The dependence on QtCharts has been removed, and the flutter dialog uses matplotlib instead. This package is part of the FreeCAD install and should be available on all supported platforms. You should have full functionality with no need for any work arounds. |
Your efforts are greatly appreciated |
rocket work bench version 3.2.1 master branch

I'm getting the above error while loading the workbench on freecad version 0.21.1
This is the report view output
// report view
09:26:21 No module named 'PySide2.QtCharts'
09:26:21 Traceback (most recent call last):
File "<"string">", line 49, in Initialize
File "$HOME/snap/freecad/common/Mod/Rocket/./RocketGui.py", line 59, in
from Ui.Commands.CmdFlutterAnalysis import CmdFinFlutter
File "$HOME/snap/freecad/common/Mod/Rocket/./Ui/Commands/CmdFlutterAnalysis.py", line 34, in
from Ui.DialogFinFlutter import DialogFinFlutter
File "$HOME/snap/freecad/common/Mod/Rocket/./Ui/DialogFinFlutter.py", line 35, in
from PySide2.QtCharts import QtCharts
The text was updated successfully, but these errors were encountered: