Closed gicking closed 1 year ago
Update:
I deinstalled the snap and
installed via apt-get
downloaded the AppImage from https://www.freecadweb.org
So either there were many bugfixes (including image import) between 0.20.1.29177 (Snap) and 0.20.1.29410 (AppImage), or there is an issue with the Snap package. I suspect the latter.
For now I will stick to the AppImage as it solves the initial problem.
In the future, you need to sign-up to the forum and create an issue. It saves you and everyone work primarily because development versions are way ahead of minor versions. Can you confirm with Snap 'edge' ?
snap refresh freecad --channel=latest/edge # switch to edge/nightly version
snap refresh freecad --channel=latest/stable # switch back to stable version
Edit: moving to FreeCAD-snap repo temporarily to declutter FreeCAD/FreeCAD issue queue
FYI, I see no test errors triggered in Test WB on
OS: Ubuntu Core 20 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.21.30500 (Git) Snap 329
Build type: Release
Branch: master
Hash: 3b4cbbb9430368205ccd5b11cd29b44e2c7925f4
Python 3.8.10, Qt 5.15.5, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods:
* TabBar
* ExtremeProDark 1.0.4
Hi luzpaz,
sorry for the late response! But I first wanted to finish my project before messing with the working AppImage installation.
Can you please explain what you mean by "sign up to the forum and create an issue"? Which forum, and why not this issue tracker? Thanks in advance!
Ok, I followed your instructions for the newest snap version: Here's what I did:
sudo snap refresh freecad --channel=latest/edge
--> freecad (edge) 0.21-g4904ab50freecad --run-test 0 &> test_output.txt
. Result see test_output.txtHere's the full version info:
[code]
OS: Ubuntu Core 20 (XFCE/xubuntu)
[test_output.txt](https://github.com/FreeCAD/FreeCAD-snap/files/9741049/test_output.txt)
Word size of FreeCAD: 64-bit
Version: 0.21.30599 (Git) Snap 344
Build type: Release
Branch: master
Hash: 4904ab503fc29e8636f50c91c71d5b3499a61c9e
Python 3.8.10, Qt 5.15.5, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.3
Locale: German/Germany (de_DE)
[/code]
Saw this in the log file:
Traceback (most recent call last):
File "/snap/freecad/344/usr/Mod/PartDesign/TestPartDesignGui.py", line 55, in __call__
self.test.assertIsNone(diag, "Dialog box could not be found")
File "/snap/freecad/344/usr/lib/python3.8/unittest/case.py", line 1322, in assertIsNone
self.fail(self._formatMessage(msg, standardMsg))
File "/snap/freecad/344/usr/lib/python3.8/unittest/case.py", line 753, in fail
raise self.failureException(msg)
AssertionError: <PySide2.QtWidgets.QMessageBox(0x556166856440) at 0x7f12f2adc400> is not None : Dialog box could not be found
I'll test my local version and confirm
Can't confirm test error on
OS: Ubuntu Core 20 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.21.30623 (Git) Snap 350
Build type: Release
Branch: master
Hash: 27f08f38b1658e419e20a153e13236eff1293b77
Python 3.8.10, Qt 5.15.5, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods:
* TabBar
* ExtremeProDark 2.2.0
So issue is fixed in development version. Thanks for testing and reporting. Closing ticket.
Is there an existing issue for this?
Forums discussion
Cannot import pictures
Version
0.20 (Release)
Full version info
Subproject(s) affected?
No response
Issue description
Hello,
first of all thanks a lot for developing and maintaining FreeCAD! Great job :-)
Unfortunately I have a problem importing images in the Image workbench. According to this or this tutorial video, I should be able to view or import pictures from the Image workbench without further preparation. But when I press the respective buttons, it has no effect. Namely, the commands show up in the Python console (see screenshot 1), but no file selection box opens. What am I missing?
I am using Xubuntu 20.04.5 (amd64) and FreeCAD 0.20.1 installed via system Snap-Store. So nothing funny there. If you need more information, just let me know.
Some more observations:
freecad --run-test 0 &> test_output.txt
) finds 39 errors (see screenshot 2 and attached output). I fail to find anything related to image import, but I may be wrongThanks again for your support and have a great day!
Georg
Anything else?
test_output.txt
Code of Conduct