Coder Social home page Coder Social logo

Comments (13)

davesrocketshop avatar davesrocketshop commented on May 15, 2024 1

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 ~/.local/share/FreeCAD/Mod/Rocket/Ui/Commands/CmdFlutterAnalysis.py you'll have to change lines 34-48 to look like this:

# from Ui.DialogFinFlutter import DialogFinFlutter
from Ui.Commands.Command import Command

 def calcFinFlutter():

    # See if we have a fin selected
    for fin in FreeCADGui.Selection.getSelection():
        if fin.isDerivedFrom('Part::FeaturePython'):
            if hasattr(fin,"FinType"):
                # try:
                #     form = DialogFinFlutter(fin)
                #     form.exec_()
                # except TypeError as ex:
                #     QtGui.QMessageBox.information(None, "", str(ex))
                return

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.

from rocket.

davesrocketshop avatar davesrocketshop commented on May 15, 2024 1

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.

from rocket.

davesrocketshop avatar davesrocketshop commented on May 15, 2024 1

While this may not pertain to the current topic, I'd like to inquire about the most effective approach for initiating workbench development.

Start here:
https://wiki.freecad.org/Workbench_creation

Good ways to communicate more interactively are through twitter @davesrocketshop ro via the FreeCAD discord channel

from rocket.

davesrocketshop avatar davesrocketshop commented on May 15, 2024 1

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.

from rocket.

davesrocketshop avatar davesrocketshop commented on May 15, 2024

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

from rocket.

Jsevenh avatar Jsevenh commented on May 15, 2024

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.

from rocket.

davesrocketshop avatar davesrocketshop commented on May 15, 2024

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

from rocket.

Jsevenh avatar Jsevenh commented on May 15, 2024

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]
OS: Ubuntu Core 20 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.1.33668 +26 (Git) Snap 759
Build type: Release
Branch: tag: 0.21.1
Hash: f6708547a9bb3f71a4aaade12109f511a72c207c
Python 3.8.10, Qt 5.15.7, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods:

  • Rocket 3.2.1
  • A2plus 0.4.60n
  • Beltrami 1.0.8-alpha
  • CfdOF 1.24.5
  • lattice2 1.0.0
  • fasteners 0.4.66
  • Plot 2022.4.17
  • Curves 0.6.13
    [/code]

from rocket.

Jsevenh avatar Jsevenh commented on May 15, 2024

Thanks , I really appreciate the help .

from rocket.

Jsevenh avatar Jsevenh commented on May 15, 2024

While this may not pertain to the current topic, I'd like to inquire about the most effective approach for initiating workbench development.

from rocket.

Jsevenh avatar Jsevenh commented on May 15, 2024

Thanks ,

from rocket.

davesrocketshop avatar davesrocketshop commented on May 15, 2024

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

from rocket.

Jsevenh avatar Jsevenh commented on May 15, 2024

Your efforts are greatly appreciated

from rocket.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.