```
``
Issue
cinnamon-menu-editor does not start
Steps to reproduce
[xxxxxxxx ~]$ cinnamon-menu-editor
Traceback (most recent call last):
File "/usr/bin/cinnamon-menu-editor", line 29, in
main()
File "/usr/bin/cinnamon-menu-editor", line 24, in main
app.run()
File "/usr/share/cinnamon/cinnamon-menu-editor/cme/MainWindow.py", line 66, in run
self.loadMenus()
File "/usr/share/cinnamon/cinnamon-menu-editor/cme/MainWindow.py", line 201, in loadMenus
self.loadMenu({ None: None })
File "/usr/share/cinnamon/cinnamon-menu-editor/cme/MainWindow.py", line 212, in loadMenu
name = cgi.escape(menu.get_name())
AttributeError: module 'cgi' has no attribute 'escape'
Expected behaviour
cinnamon editor should open
Other information
@msjr65 what happens when you run cinnamon-menu-editor?
This is what I have shown under steps to reproduce. It is ending up with error AttributeError: module 'cgi' has no attribute 'escape'
what version of Python are you running?
@claudiux is this related to Python 3.2 deprecating cgi.escape() for html.escape() ?
@icarter09 It seems to be that.
@claudiux is this related to Python 3.2 deprecating
cgi.escape()forhtml.escape()?8959
Python Version is 3.8. Upgraded from 3.7 through regular pacman update on November 15 and indeed I have the impression that since then the issue started occuring.
@eli-schwartz
This is fixed by 058e3a1e7dd26eca4bacb37b7c20c1e9d430de6a, which is not yet tagged and released.
Thank you @eli-schwartz
Fixed this myself for the time being by adjusting the .py files as outlined in 058e3a1