Preference window of kupfer doesn't open
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kupfer |
In Progress
|
Undecided
|
Unassigned |
Bug Description
I could not get to the preference window and only get the following error when I started kupfer from a terminal:
kupfer
Kupfer: A free software (GPLv3+) launcher
Copyright © 2007--2011 Ulrik Sverdrup with others
http://
[kupfer.
Traceback (most recent call last):
File "/usr/share/
_icon_
File "/usr/share/
renderer_dict = setctl.
File "/usr/share/
alternatives = self._alternati
KeyError: 'icon_renderer'
/usr/share/
self.
/usr/share/
requisition.
** (kupfer.py:9616): CRITICAL **: cr_parser_
** (kupfer.py:9616): CRITICAL **: cr_parser_
(kupfer.py:9616): librsvg-WARNING **: Error setting CSS SAC handler
** (kupfer.py:9616): CRITICAL **: cr_parser_destroy: assertion `a_this && PRIVATE (a_this)' failed
[kupfer.ui.browser] WindowController: Trying to register <Super>space to spawn kupfer.. success
** (kupfer.py:9616): CRITICAL **: cr_parser_
** (kupfer.py:9616): CRITICAL **: cr_parser_
(kupfer.py:9616): librsvg-WARNING **: Error setting CSS SAC handler
** (kupfer.py:9616): CRITICAL **: cr_parser_destroy: assertion `a_this && PRIVATE (a_this)' failed
** (kupfer.py:9616): CRITICAL **: cr_parser_
** (kupfer.py:9616): CRITICAL **: cr_parser_
(kupfer.py:9616): librsvg-WARNING **: Error setting CSS SAC handler
** (kupfer.py:9616): CRITICAL **: cr_parser_destroy: assertion `a_this && PRIVATE (a_this)' failed
Traceback (most recent call last):
File "/usr/share/
callback(
File "/usr/share/
win = preferences.
File "/usr/share/
_preference
File "/usr/share/
self.
File "/usr/share/
setctl.
File "/usr/share/
seq = seq if isinstance(seq, list) else list(seq)
File "/usr/share/
validator = self._alternati
KeyError: 'terminal'
Don't know if this is probably already reported but I didn't find the exact error message.
This is a guess as I'm not familiar with the code there, but it sounds like Kupfer couldn't find any candidates for a terminal emulator on your system. What do you use for a terminal?
This will probably work as a workaround: kupfer/ kupfer/ core/settings. py, add the following line at line 396 (the line right after the """s for get_valid_ alternative_ ids):
in file /usr/share/
if not category_key in self._alternati ve_validators: return
The equivalent patch is attached, although this doesn't address the issue that Kupfer wasn't able to find a terminal. You'll have to configure it yourself using the Custom Terminal plugin.