Not able to assess where is yhe issue, (too) old Python lib maybe, something else... Any help will be much appreciated.
Note: these issues where not present with the previous freeCAD 0.18.x version I was using (which disappeared after the update).
- Have installed the 'freecad' package using 'apt' from the stable repository (reference at the bottom of this post).
- Regarding the python lib/pip, I do not know how to update them.
- I have both python 2.7.17 and 3.6.9 installed.
When loading the Draft WB I get the following report:
Code: Select all
04:58:06 Persistent toolbars: Snapper toolbar not managed.
04:58:06 Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
Possible C/C++ prototypes are:
SoMFString::setValue(SbString const &)
SoMFString::setValue(char const *)
SoMFString::setValue(SoMFString const *)
04:58:06 Traceback (most recent call last):
File "<string>", line 132, in Activated
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_snapper.py", line 1635, in show
self.setTrackers()
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_snapper.py", line 1679, in setTrackers
self.grid = trackers.gridTracker()
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_trackers.py", line 1039, in __init__
self.reset()
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_trackers.py", line 1174, in reset
self.update()
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_trackers.py", line 1104, in update
self.text1.string = txt
File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 4756, in __setattr__
field.setValue(value)
File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 32027, in setValue
return _coin.SoMFString_setValue(self, *args)
Code: Select all
05:38:03 Running the Python command 'Draft_ShapeString' failed:
Traceback (most recent call last):
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_shapestrings.py", line 75, in Activated
super(ShapeString, self).Activated(name)
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_base_original.py", line 290, in Activated
super(Creator, self).Activated(name, noplanesetup)
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_base_original.py", line 154, in Activated
Gui.Snapper.setTrackers()
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_snapper.py", line 1679, in setTrackers
self.grid = trackers.gridTracker()
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_trackers.py", line 1039, in __init__
self.reset()
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_trackers.py", line 1174, in reset
self.update()
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_trackers.py", line 1104, in update
self.text1.string = txt
File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 4756, in __setattr__
field.setValue(value)
File "/usr/lib/python2.7/dist-packages/pivy/coin.py", line 32027, in setValue
return _coin.SoMFString_setValue(self, *args)
Wrong number or type of arguments for overloaded function 'SoMFString_setValue'.
Possible C/C++ prototypes are:
SoMFString::setValue(SbString const &)
SoMFString::setValue(char const *)
SoMFString::setValue(SoMFString const *)
Code: Select all
Running the Python command 'Draft_Line' failed:
Traceback (most recent call last):
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_lines.py", line 69, in Activated
super(Line, self).Activated(name)
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_base_original.py", line 290, in Activated
super(Creator, self).Activated(name, noplanesetup)
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_base_original.py", line 117, in Activated
App.activeDraftCommand.finish()
File "/usr/share/freecad/Mod/Draft/draftguitools/gui_lines.py", line 141, in finish
if self.oldWP:
'Line' object has no attribute 'oldWP'
Currently installed 'freecad' version, OS and libs from the 'About' popup:
Code: Select all
OS: Ubuntu 18.04.5 LTS (i3/i3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: 7a9aa7edf2f44e3eb6a8e3e61c753368496b1399
Python version: 2.7.17
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.5.2
Locale: English/UnitedStates (en_US)