Glass icon indicating copy to clipboard operation
Glass copied to clipboard

AttributeError: 'NoneType' object has no attribute 'toggleViewAction'

Open alexcg1 opened this issue 2 years ago • 1 comments

Just installed Glass on FreeCAD 0.20.2 on Arch Linux and having this issue. Transparency isn't happening and Report view is showing errors

image

Here's the error message:

18:16:05  Traceback (most recent call last):
18:16:05    File "/home/alexcg/.local/share/FreeCAD/Mod/Glass/GlassGui.py", line 211, in onStart
18:16:05      setMode() # activate Glass mode
18:16:05    File "/home/alexcg/.local/share/FreeCAD/Mod/Glass/GlassGui.py", line 163, in setMode
18:16:05      dock.setParent(mdi)
18:16:05  AttributeError: 'NoneType' object has no attribute 'setParent'

alexcg1 avatar Mar 10 '23 17:03 alexcg1

Check your setting for Edit->Preferences->General->Tree view mode. I ran into this and found that it works if that is set to "Both".

darrellenns avatar Apr 08 '23 16:04 darrellenns