My Korean cards are tripping me up because the default is too small
for me to make the hangul out, so I spent some time dealing with that
bug.
My current setup is that I keep the bzr repo in ~/bin. I occasionally
update as I did today, with
$ bzr pull && make clean && make setup && ./bin/easy_install cherrypy && make
I then have a symlink in $PATH pointing to
/home/gwern/bin/mnemosyne-proj/mnemosyne/bin/mnemosyne . I can then
run 'mnemosyne' and everything is good.
The problem comes when I try to set preferences: Settings->Configure
Mnemosyne yields in the terminal and as a popup:
Uncaught exception!
Traceback (innermost last):
File
"/home/gwern/bin/mnemosyne-proj/mnemosyne/mnemosyne/pyqt_ui/main_wdgt.py",
line 199, in configure
self.controller().show_configuration_dialog()
File
"/home/gwern/bin/mnemosyne-proj/mnemosyne/mnemosyne/libmnemosyne/controllers/default_controller.py",
line 613, in show_configuration_dialog
(self.component_manager).activate()
File
"/home/gwern/bin/mnemosyne-proj/mnemosyne/mnemosyne/pyqt_ui/configuration_dlg.py",
line 28, in __init__
widget = widget(self.component_manager, parent=self)
File
"/home/gwern/bin/mnemosyne-proj/mnemosyne/mnemosyne/pyqt_ui/configuration_wdgt_main.py",
line 55, in __init__
for language in self.translator().supported_languages():
File
"/home/gwern/bin/mnemosyne-proj/mnemosyne/mnemosyne/libmnemosyne/translators/gettext_translator.py",
line 23, in supported_languages
return [os.path.split(x)[1] for x in os.listdir(self.lang_path) \
OSError: [Errno 2] No such file or directory:
'/home/gwern/bin/mnemosyne-proj/mnemosyne/share/locale'
After a little pondering and use of 'find', I settled on this solution:
$ mkdir /home/gwern/bin/mnemosyne-proj/mnemosyne/share/ && ln -s
/home/gwern/bin/mnemosyne-proj/mnemosyne/mnemosyne/pyqt_ui/locale/
/home/gwern/bin/mnemosyne-proj/mnemosyne/share/locale
This seems to work: I can now open up the preferences dialogue without
issue and set the fonts and they seem to take in that session and
persist to the next sessions.
I don't know if this is a bug or a consequence of how I have Mnemosyne
2.x 'installed'.
--
gwern
http://www.gwern.net
--
You received this message because you are subscribed to the Google Groups
"mnemosyne-proj-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/mnemosyne-proj-users?hl=en.