[Feature] Constraint Diagnostics for troubleshooting A2+ constraints.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: [Feature] Constraint Diagnostics for troubleshooting A2+ constraints.
I get the same error message as Kunda1 when I try to select the A2plus V0.4.55a workbench.
(Error message is "No module named 'PySide2.QtUiTools'").
I've installed freecad on Ubuntu via Snap. Details of the installation are:
OS: Ubuntu Core 20 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.28580 (Git)
Build type: Release
Branch: master
Hash: 8ccaac7264742da9e58a8238cc4d9d973bb57e98
Python 3.8.10, Qt 5.15.3, Coin 4.0.0, OCC 7.6.1
Locale: English/United States (en_US)
Installed mods:
* BIM 2021.12.0
* fasteners 0.3.40
* Assembly4 0.11.10
* parts_library
* A2plus 0.4.55a
* ExplodedAssembly
* BOLTSFC
Any idea how to fix the problem?
(Error message is "No module named 'PySide2.QtUiTools'").
I've installed freecad on Ubuntu via Snap. Details of the installation are:
OS: Ubuntu Core 20 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.28580 (Git)
Build type: Release
Branch: master
Hash: 8ccaac7264742da9e58a8238cc4d9d973bb57e98
Python 3.8.10, Qt 5.15.3, Coin 4.0.0, OCC 7.6.1
Locale: English/United States (en_US)
Installed mods:
* BIM 2021.12.0
* fasteners 0.3.40
* Assembly4 0.11.10
* parts_library
* A2plus 0.4.55a
* ExplodedAssembly
* BOLTSFC
Any idea how to fix the problem?
Re: [Feature] Constraint Diagnostics for troubleshooting A2+ constraints.
Can't reproduce on dan-miel's branch in A2plus
Code: Select all
OS: Ubuntu Core 20 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.28580 (Git)
Build type: Release
Branch: master
Hash: 8ccaac7264742da9e58a8238cc4d9d973bb57e98
Python 3.8.10, Qt 5.15.3, Coin 4.0.0, OCC 7.6.1
Locale: English/United States (en_US)
Installed mods:
* ToolbarStyle
* Assembly4 0.11.10
* stickframe
* sheetmetal 0.2.49
* pinger
* Assembly3 0.11.1
* Behave-Dark-Colors 0.0.1
* Curves 0.3.0
* Ship
* BIM 2021.12.0
* A2plus 0.4.54b
But when I switch to the master branch I see the issue
Code: Select all
21:04:24 No module named 'PySide2.QtUiTools'
21:04:24 Traceback (most recent call last):
File "<string>", line 82, in Initialize
File "/home/beast/snap/freecad-ppd/common/Mod/A2plus/./CD_A2plusupdater.py", line 30, in <module>
from PySide import QtUiTools
File "/snap/freecad-ppd/214/usr/Ext/PySide/QtUiTools.py", line 1, in <module>
from PySide2.QtUiTools import *
Code: Select all
OS: Ubuntu Core 20 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.28580 (Git)
Build type: Release
Branch: master
Hash: 8ccaac7264742da9e58a8238cc4d9d973bb57e98
Python 3.8.10, Qt 5.15.3, Coin 4.0.0, OCC 7.6.1
Locale: English/United States (en_US)
Installed mods:
* ToolbarStyle
* Assembly4 0.11.10
* stickframe
* sheetmetal 0.2.49
* pinger
* Assembly3 0.11.1
* Behave-Dark-Colors 0.0.1
* Curves 0.3.0
* Ship
* BIM 2021.12.0
* A2plus 0.4.55a
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: [Feature] Constraint Diagnostics for troubleshooting A2+ constraints.
Actually, this may be an issue with the Snap itself it may not have QtUiTools installed
Edit: Opened a ticket on the snap repo
Code: Select all
$ freecad-ppd.cmd
FreeCAD 0.20, Libs: 0.20R28580 (Git)
.
.
.
[FreeCAD Console mode <Use Ctrl-D (i.e. EOF) to exit.>]
>>> from PySide2 import QtUiTools
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'QtUiTools' from 'PySide2' (/snap/freecad-ppd/214/usr/lib/python3/dist-packages/PySide2/__init__.py)
Edit: Opened a ticket on the snap repo
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: [Feature] Constraint Diagnostics for troubleshooting A2+ constraints.
Next available edge and stable snaps will provide PySide2.QtUiTools
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: [Feature] Constraint Diagnostics for troubleshooting A2+ constraints.
@dan-miel any idea why when I invoke A2plus wb i see this warning in my report:
Code: Select all
14:00:30 languagePath of A2plus Workbench is: /home/foo/snap/freecad-ppd/common/Mod/A2plus/./translations
14:00:30 Loading Spreadsheet module... done
14:00:30 Cannot open file '/home/foo/icons/ConstraintDiagnostics.svg', because: No such file or directory
14:00:30 Cannot open file '/home/foo/icons/ConstraintDiagnostics.svg', because: No such file or directory
Code: Select all
OS: Ubuntu Core 20 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.28601 (Git)
Build type: Release
Branch: master
Hash: 9500706d6f2a98a3543a441083ceba475b7cfd86
Python 3.8.10, Qt 5.15.3, Coin 4.0.0, OCC 7.6.1
Locale: English/United States (en_US)
Installed mods:
* ToolbarStyle
* Assembly4 0.11.10
* stickframe
* sheetmetal 0.2.49
* pinger
* Assembly3 0.11.1
* Behave-Dark-Colors 0.0.1
* Curves 0.3.0
* Ship
* BIM 2021.12.0
* A2plus 0.4.55a
Code: Select all
OS: Manjaro Linux (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.28567 (Git) AppImage
Build type: Release
Branch: (HEAD detached at eb65256)
Hash: eb652569c1bc905b9ece89598ce99e2a2549acae
Python 3.9.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: English/United States (en_US)
Installed mods:
* Behave-Dark-Colors 0.0.1
* A2plus 0.4.55a
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: [Feature] Constraint Diagnostics for troubleshooting A2+ constraints.
I have seen that error sometimes but ConstraintDiagnostics.svg is in the icon folder.
I thought maybe the home meant the default FreeCAD directory. Other wise I don't know what causes the error.
Dan
OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24267 +99 (Git)
Build type: Release
Branch: Branch_0.19.3
Hash: 6530e364184ce05ccff39501e175cf2237e6ee4b
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: English/United States (en_US)
Re: [Feature] Constraint Diagnostics for troubleshooting A2+ constraints.
@dan-miel why are you still using v0.19.x ?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: [Feature] Constraint Diagnostics for troubleshooting A2+ constraints.
Lazy? I have a newer one but just happened to be using 19. This error came up when I started .20?
Code: Select all
14:17:37 languagePath of A2plus Workbench is: C:\Users\dan-m\AppData\Roaming\FreeCAD\Mod\A2plus\.\translations
14:17:37 Cannot open file 'C:/FreeCAD 20/FreeCAD_weekly-builds-27809-Win-Conda_vc14.x-x86_64/bin/icons/ConstraintDiagnostics.svg', because: The system cannot find the path specified.
14:17:37 Cannot open file 'C:/FreeCAD 20/FreeCAD_weekly-builds-27809-Win-Conda_vc14.x-x86_64/bin/icons/ConstraintDiagnostics.svg', because: The system cannot find the path specified.
Dan
OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.27809 (Git)
Build type: Release
Python 3.8.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: English/United States (en_US)
Installed mods:
* A2plus 0.4.55a
Re: [Feature] Constraint Diagnostics for troubleshooting A2+ constraints.
Right. Is there something up with how CD_checkconstraints.py or CD_ConstraintDiagnostics.py are looking for:
ConstraintDiagnostics.svg ?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs