5

As I'd seen it recommended in How can I install software or packages without Internet (offline)? tried to install Keryx but I am not able to open it. When I run it in a terminal it prints these warnings:

(keryx:4127): Gtk-WARNING **: GModule (/usr/lib/gtk-2.0/2.10.0/i486-pc-linux-gnu/engines/libmurrine.so) initialization check failed: Gtk+ version too old (micro mismatch)

Fontconfig warning: "/etc/fonts/conf.d/11-lcd-filter-lcddefault.conf", line 9: invalid constant used : lcddefault
Fontconfig warning: "/etc/fonts/conf.d/53-monospace-lcd-filter.conf", line 17: invalid constant used : lcdlegacy
Traceback (most recent call last):
  File "<string>", line 132, in <module>
  File "keryx/build/pyi.linux2/keryx/outPYZ1.pyz/lib.wxkeryx", line 49, in Start
  File "keryx/build/pyi.linux2/keryx/outPYZ1.pyz/wx._core", line 7912, in __init__
  File "keryx/build/pyi.linux2/keryx/outPYZ1.pyz/wx._core", line 7487, in _BootstrapApp
  File "keryx/build/pyi.linux2/keryx/outPYZ1.pyz/lib.wxkeryx", line 27, in OnInit
  File "keryx/build/pyi.linux2/keryx/outPYZ1.pyz/lib.log", line 46, in info
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-8: ordinal not in range(128)

How can I solve this problem?

Zanna
  • 72,312
Bakhtiyor
  • 12,804

3 Answers3

8

Not knowing Keryx, from looking at the source it seems that the error occurs here, in an innocuous print statement.

AFAIK the _() function is used in localization to retrieve the translation of a given string based on you current locale. So the problem is most likely related to your non-English language environment. Try running

LANG=C ./keryx

from the terminal window. This runs the program in English. If this is indeed the problem, send a bug report to the developer.

crenshaw-dev
  • 32,852
loevborg
  • 7,414
0

The GTK library that you have is too old for the keryx software that you to installed. Check on the keryx website what the requirements for libraries are and see if you can find a .deb in either the Ubuntu archives or a PPA that meets this requirement.

Zanna
  • 72,312
txwikinger
  • 29,406
0

It is trying to interpret non-ASCII data as ASCII. This happens in the log function, so I'm guessing it is trying to log user-supplied data. The LANG=C trick is definitely worthwhile to try. What are you doing to make it crash? How do you start the application?

Zanna
  • 72,312