Traceback (most recent call last):


 "site-packages\calibre\utils\formatter.py", line 375, in safe_format


 "site-packages\calibre\utils\formatter.py", line 340, in evaluate


 "site-packages\calibre\utils\formatter.py", line 264, in _eval_program


 "site-packages\calibre\utils\formatter.py", line 106, in program


 "site-packages\calibre\utils\formatter.py", line 113, in statement


 "site-packages\calibre\utils\formatter.py", line 157, in expr


 "site-packages\calibre\utils\formatter.py", line 113, in statement


 "site-packages\calibre\utils\formatter.py", line 157, in expr


 "site-packages\calibre\utils\formatter.py", line 113, in statement


 "site-packages\calibre\utils\formatter.py", line 157, in expr


 "site-packages\calibre\utils\formatter.py", line 113, in statement


 "site-packages\calibre\utils\formatter.py", line 169, in expr


 "site-packages\calibre\utils\formatter_functions.py", line 132, in eval_


 "site-packages\calibre\utils\formatter_functions.py", line 359, in evaluate


 "site-packages\calibre\ebooks\metadata\book\formatter.py", line 32, in get_value
ValueError: Value: unknown field #genre

Traceback (most recent call last):


 "/home/user/.local/bin/wsl-windows-toolbar", line 8, in <module>

sys.exit(cli())


 "/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__

return self.main(*args, **kwargs)


 "/usr/lib/python3/dist-packages/click/core.py", line 717, in main

rv = self.invoke(ctx)


 "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/home/user/.local/lib/python3.8/site-packages/wsl_windows_toolbar/wsl_windows_toolbar.py", line 237, in cli

menu = xdg.Menu.parse(menu_file.name)


 "/home/user/.local/lib/python3.8/site-packages/xdg/Menu.py", line 1128, in parse

return XMLMenuBuilder(debug).parse(filename)


 "/home/user/.local/lib/python3.8/site-packages/xdg/Menu.py", line 632, in parse

menu = self.parse_menu(tree.getroot(), filename)


 "/home/user/.local/lib/python3.8/site-packages/xdg/Menu.py", line 650, in parse_menu

self.parse_node(node, filename, menu)


 "/home/user/.local/lib/python3.8/site-packages/xdg/Menu.py", line 659, in parse_node

menu = self.parse_menu(child, filename)


 "/home/user/.local/lib/python3.8/site-packages/xdg/Menu.py", line 650, in parse_menu

self.parse_node(node, filename, menu)


 "/home/user/.local/lib/python3.8/site-packages/xdg/Menu.py", line 682, in parse_node

parent.Rules.append(self.parse_rule(child))


 "/home/user/.local/lib/python3.8/site-packages/xdg/Menu.py", line 759, in parse_rule

return Rule(type, tree)


 "/home/user/.local/lib/python3.8/site-packages/xdg/Menu.py", line 421, in __init__

self.code = compile(self.expression, '<compiled-menu-rule>', 'eval')
ValueError: Name node can't be used with 'True' constant
