FluidProperties does not work now [SOLVED]

A subforum specific to the development of the OpenFoam-based workbenches ( Cfd https://github.com/qingfengxia/Cfd and CfdOF https://github.com/jaheyns/CfdOF )

Moderator: oliveroxtoby

Post Reply
ReneSci
Posts: 23
Joined: Thu Aug 18, 2022 4:30 pm

FluidProperties does not work now [SOLVED]

Post by ReneSci »

Just Updated to the most resent cfdOF workbench. When trying to go into the FluidProperties:

Code: Select all

13:57:16  Traceback (most recent call last):
  File "C:\Users\xxxxx\AppData\Roaming\FreeCAD\Mod\CfdOF\.\CfdOF\Solve\CfdFluidMaterial.py", line 149, in setEdit
    self.taskd = TaskPanelCfdFluidProperties.TaskPanelCfdFluidProperties(self.Object, physics_model)
  File "C:\Users\xxxx\AppData\Roaming\FreeCAD\Mod\CfdOF\.\CfdOF\Solve\TaskPanelCfdFluidProperties.py", line 77, in __init__
    self.form.saveButton.clicked.connect(self.saveCustomMaterial)
<class 'AttributeError'>: 'PySide2.QtWidgets.QWidget' object has no attribute 'saveButton'
Any clue ?

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: Danish/Denmark (da_DK)
Installed mods: 
  * A2plus 0.4.59d
  * ArchTextures
  * Assembly4 0.12.4
  * CfdOF 1.19.0
  * Defeaturing 1.2.0
  * Dracula 0.0.2
  * ExtremeProDark 2.2.0
  * IconThemes
  * lattice2 1.0.0
  * Manipulator 1.4.9
  * MeshRemodel 1.8919.0
  * parts_library
  * Plot 2022.4.17
  * sheetmetal 0.2.57
  * workfeature
Last edited by ReneSci on Tue Oct 04, 2022 12:38 pm, edited 1 time in total.
User avatar
oliveroxtoby
Posts: 812
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: FluidProperties does not work now

Post by oliveroxtoby »

ReneSci wrote: Mon Oct 03, 2022 12:01 pm Just Updated to the most resent cfdOF workbench. When trying to go into the FluidProperties:

Code: Select all

13:57:16  Traceback (most recent call last):
  File "C:\Users\xxxxx\AppData\Roaming\FreeCAD\Mod\CfdOF\.\CfdOF\Solve\CfdFluidMaterial.py", line 149, in setEdit
    self.taskd = TaskPanelCfdFluidProperties.TaskPanelCfdFluidProperties(self.Object, physics_model)
  File "C:\Users\xxxx\AppData\Roaming\FreeCAD\Mod\CfdOF\.\CfdOF\Solve\TaskPanelCfdFluidProperties.py", line 77, in __init__
    self.form.saveButton.clicked.connect(self.saveCustomMaterial)
<class 'AttributeError'>: 'PySide2.QtWidgets.QWidget' object has no attribute 'saveButton'
Any clue ?


Should be working now.
ReneSci
Posts: 23
Joined: Thu Aug 18, 2022 4:30 pm

Re: FluidProperties does not work now

Post by ReneSci »

Jeps :-)
ReneSci
Posts: 23
Joined: Thu Aug 18, 2022 4:30 pm

Re: FluidProperties does not work now

Post by ReneSci »

Could it be an idea just to delete a thread like this - reporting a temporary "bug" which was solved quickly - making it more easy to browse among the interesting and informative threads ?
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: FluidProperties does not work now

Post by adrianinsaval »

just edit the title of the first post and prepend [SOLVED] to it, no need to delete the thread.
Post Reply