xdg-prefs icon indicating copy to clipboard operation
xdg-prefs copied to clipboard

KeyError: None

Open eater opened this issue 3 years ago • 0 comments

Just installed from the whl file and this is what I get:

$ xdg-prefs

[lots of "overwriting" messages]
.
.
.
MimeType inode/socket already in the database, overwriting!
MimeType inode/fifo already in the database, overwriting!
MimeType inode/directory already in the database, overwriting!
MimeType inode/blockdevice already in the database, overwriting!
Traceback (most recent call last):
  File "/home/eater/.local/bin/xdg-prefs", line 8, in <module>
    sys.exit(main())
  File "/home/eater/.local/lib/python3.6/site-packages/xdgprefs/__main__.py", line 14, in main
    window = MainWindow()
  File "/home/eater/.local/lib/python3.6/site-packages/xdgprefs/gui/main_window.py", line 22, in __init__
    self.appdb = AppDatabase()
  File "/home/eater/.local/lib/python3.6/site-packages/xdgprefs/core/app_database.py", line 40, in __init__
    self._build_db()
  File "/home/eater/.local/lib/python3.6/site-packages/xdgprefs/core/app_database.py", line 53, in _build_db
    app = parser.parse(filepath, _id)
  File "/home/eater/.local/lib/python3.6/site-packages/xdgprefs/core/desktop_entry_parser.py", line 146, in parse
    entry_groups[current_group].add_entry(entry)
KeyError: None

eater avatar May 25 '21 14:05 eater