Noob asks, what is this: "ValueError: Empty group name"

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
casterle
Posts: 37
Joined: Tue Nov 08, 2022 7:49 pm

Noob asks, what is this: "ValueError: Empty group name"

Post by casterle »

I'm seeing lots of errors of the form:

Code: Select all

21:27:14  Traceback (most recent call last):
21:27:14    File "<string>", line 737, in applyShortcuts
21:27:14    File "<string>", line 245, in globalShortcuts
21:27:14  ValueError: Empty group name
in report view.

Can someone tell me why this is happening, and how to fix it?
User avatar
onekk
Veteran
Posts: 6205
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Noob asks, what is this: "ValueError: Empty group name"

Post by onekk »

Hello, please read and post required info:

http://forum.freecadweb.org/viewtopic.php?f=3&t=2264


Plus what you are doing when this appear, whith what file...

Your error report is telling nothing about it, so it is very hard to help you.

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
casterle
Posts: 37
Joined: Tue Nov 08, 2022 7:49 pm

Re: Noob asks, what is this: "ValueError: Empty group name"

Post by casterle »

Sorry, let me flesh this out a bit.

Win11 Pro x64, FreeCAD 0.20.1

Here are the actions needed to create the errors:

1) Create a new project
2) Enter Sketcher Workbench
3) Errors appeared:

Code: Select all

20:27:22  Traceback (most recent call last):
20:27:22    File "<string>", line 737, in applyShortcuts
20:27:22    File "<string>", line 243, in globalShortcuts
20:27:22  ValueError: Empty group name
While I was typing this, they appeared again:

Code: Select all

20:28:13  Traceback (most recent call last):
20:28:13    File "<string>", line 737, in applyShortcuts
20:28:13    File "<string>", line 243, in globalShortcuts
20:28:13  ValueError: Empty group name
And while copying the above, again:

Code: Select all

20:30:13  Traceback (most recent call last):
20:30:13    File "<string>", line 737, in applyShortcuts
20:30:13    File "<string>", line 243, in globalShortcuts
20:30:13  ValueError: Empty group name
It seems they appear whenever I click in the Report View!

The errors appear at other times, of course. My Report View is full of them!
User avatar
onekk
Veteran
Posts: 6205
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Noob asks, what is this: "ValueError: Empty group name"

Post by onekk »

FreeCAD version info is not what required, it is so hard to follow the link and post the real version info?

The "full version info" will report many other useful informations that could help to supply a solution.

Message is almost clear there are some shortcut not defined.

Sadly I'm not at my computer, but it reported elsewhere with solution. Searching "shortcut keys error" in the forum search bar probably will give you some hints.

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
casterle
Posts: 37
Joined: Tue Nov 08, 2022 7:49 pm

Re: Noob asks, what is this: "ValueError: Empty group name"

Post by casterle »

Sorry, I didn't see the 'Copy to clipboard' button.

I have this problem in both 0.20.1 and 0.21 so I've included both:

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: English/United States (en_US)
Installed mods: 
  * 3DfindIT 1.2.0
  * 3D_Printing_Tools
  * A2plus 0.4.60e
  * AirPlaneDesign 0.4.0
  * AnimationFreeCAD 1.0.0
  * ArchTextures
  * Assembly3 0.11.4
  * Assembly4 0.12.4
  * BCFPlugin 1.0.0
  * Behave-Dark-Colors 0.1.1
  * Beltrami 1.0.8-alpha
  * BIM 2021.12.0
  * blinker-master
  * boltsfc 2022.11.5
  * CfdOF 1.20.4
  * CubeMenu
  * CurvedShapes 1.0.4
  * Curves 0.6.1
  * Defeaturing 1.2.0
  * DesignSPHysics 0.6.3(24-09-2022)
  * docutils-0.18
  * dodo 1.0.0
  * Dracula 0.0.2
  * EM
  * Estimate 0.1.2
  * ExplodedAssembly
  * ExtremeProDark 2.6.4
  * fasteners 0.4.24
  * FEMbyGEN 1.1.0
  * FEM_FrontISTR 0.1.0
  * frame 0.1.0
  * freecad.gears 1.0.0
  * Help 1.0.3
  * IconThemes
  * ImportNURBS 1.1.0
  * InventorLoader 1.3.0
  * lattice2 1.0.0
  * Launcher
  * Lithophane
  * MakerWorkbench
  * Manipulator 1.4.9
  * MeshRemodel 1.8919.0
  * ModernUI (Disabled)
  * nine-1.1.0
  * Nodes 0.1.16
  * nurbs
  * offline-documentation
  * ose-piping
  * parts_library
  * pcb
  * PieMenu 1.2.3
  * Plot 2022.4.17
  * POV-Ray-Rendering
  * ProDarkThemePreferencePack 1.0.0
  * Pyramids-and-Polyhedrons
  * Qt.py-master
  * QuickMeasure 2022.10.28
  * RemBench
  * Render 2022.3.0
  * Reporting
  * SelectorToolbar
  * sheetmetal 0.2.59
  * Ship 2022.4.11
  * ShortCuts
  * Silk 1.0.0
  * SlopedPlanesMacro
  * symbols_library
  * ThreadProfile 1.84.0
  * toSketch 1.0.1
  * workfeature
  * workfeature-macro

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.30922 (Git)
Build type: Release
Branch: master
Hash: 8ec1279ea8ee32a36fae683b42b5cfc5821734b5
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * 3DfindIT 1.2.0
  * 3D_Printing_Tools
  * A2plus 0.4.60e
  * AirPlaneDesign 0.4.0
  * AnimationFreeCAD 1.0.0
  * ArchTextures
  * Assembly3 0.11.4
  * Assembly4 0.12.4
  * BCFPlugin 1.0.0
  * Behave-Dark-Colors 0.1.1
  * Beltrami 1.0.8-alpha
  * BIM 2021.12.0
  * blinker-master
  * boltsfc 2022.11.5
  * CfdOF 1.20.4
  * CubeMenu
  * CurvedShapes 1.0.4
  * Curves 0.6.1
  * Defeaturing 1.2.0
  * DesignSPHysics 0.6.3(24-09-2022)
  * docutils-0.18
  * dodo 1.0.0
  * Dracula 0.0.2
  * EM
  * Estimate 0.1.2
  * ExplodedAssembly
  * ExtremeProDark 2.6.4
  * fasteners 0.4.24
  * FEMbyGEN 1.1.0
  * FEM_FrontISTR 0.1.0
  * frame 0.1.0
  * freecad.gears 1.0.0
  * Help 1.0.3
  * IconThemes
  * ImportNURBS 1.1.0
  * InventorLoader 1.3.0
  * lattice2 1.0.0
  * Launcher
  * Lithophane
  * MakerWorkbench
  * Manipulator 1.4.9
  * MeshRemodel 1.8919.0
  * ModernUI (Disabled)
  * nine-1.1.0
  * Nodes 0.1.16
  * nurbs
  * offline-documentation
  * ose-piping
  * parts_library
  * pcb
  * PieMenu 1.2.3
  * Plot 2022.4.17
  * POV-Ray-Rendering
  * ProDarkThemePreferencePack 1.0.0
  * Pyramids-and-Polyhedrons
  * Qt.py-master
  * QuickMeasure 2022.10.28
  * RemBench
  * Render 2022.3.0
  * Reporting
  * SelectorToolbar
  * sheetmetal 0.2.59
  * Ship 2022.4.11
  * ShortCuts
  * Silk 1.0.0
  * SlopedPlanesMacro
  * symbols_library
  * ThreadProfile 1.84.0
  * toSketch 1.0.1
  * workfeature
  * workfeature-macro
User avatar
onekk
Veteran
Posts: 6205
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Noob asks, what is this: "ValueError: Empty group name"

Post by onekk »

Probably is related to this thread.

[Solved] Shortcuts for Views: Key 'H' activates key 'R' as shortcut for same or random view


As error report is the same.

Or probably related to some Macro settings you will find in Preferences >> General >> Macro keyboard modifiers shortcut at bottom, sometimes is not defined and raise a similar error, (I have had it some time ago, and I'm using memory to recollect the solution, so don't trust at 100%)

Hope it helps

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
casterle
Posts: 37
Joined: Tue Nov 08, 2022 7:49 pm

Re: Noob asks, what is this: "ValueError: Empty group name"

Post by casterle »

onekk wrote: Mon Nov 28, 2022 9:12 am Probably is related to this thread.

[Solved] Shortcuts for Views: Key 'H' activates key 'R' as shortcut for same or random view


As error report is the same.

Or probably related to some Macro settings you will find in Preferences >> General >> Macro keyboard modifiers shortcut at bottom, sometimes is not defined and raise a similar error, (I have had it some time ago, and I'm using memory to recollect the solution, so don't trust at 100%)

Hope it helps

Regards

Carlo D.
Keyboard modifier is set to Ctrl+Shift+

Could you please provide a link to the thread? I don't understand the text you provided.
casterle
Posts: 37
Joined: Tue Nov 08, 2022 7:49 pm

Re: Noob asks, what is this: "ValueError: Empty group name"

Post by casterle »

The problem was apparently caused by the Shortcuts addon. After disabling it, the error messages no longer appeared.
Post Reply