Skip to content

April 2006

get kaa.metadata (mmpython) running on OS X

go into kaa/base and edit setup.py by changing (line 36) this extensions.append( Extension(‘shmmodule’, [‘src/extensions/shmmodule.c’]) ) to this #extensions.append( Extension(‘shmmodule’, [‘src/extensions/shmmodule.c’]) ) or use this diff: 36c36 < extensions.append( Extension(‘shmmodule’, [‘src/extensions/shmmodule.c’]) ) — > #extensions.append( Extension(‘shmmodule’, [‘src/extensions/shmmodule.c’]) ) until now the support for cdrom drives only works on Linux, so i disabled it on OS X. now go to kaa/metadata and edit setup.py: change this ext_modules = [ cdrom, ifoparser ] to #ext_modules = [ cdrom, ifoparser ] ext_modules = [ ifoparser ] and change this ext_modules = [ cdrom ] to #ext_modules = [ cdrom ] ext_modules = [ ] or use this diff: 58c58,59 < ext_modules = [ cdrom, ifoparser ] — > #ext_modules = [ cdrom, ifoparser ] > ext_modules = [ ifoparser ] 61c62,63 < ext_modules = [ cdrom ] — > #ext_modules = [ cdrom ] > ext_modules = [ ] now go back to kaa/base and install the kaa.base package: $ sudo python setup.py install now go to kaa/metadata and install the kaa.metadata package: $ sudo python setup.py install you may use a different python instance, like /opt/python24/bin/python or something else if you don’t wanna install kaa into the default python on OS X.

go into kaa/base and edit setup.py by changing (line 36) this extensions.append( Extension(‘shmmodule’, [‘src/extensions/shmmodule.c’]) ) to this #extensions.append( Extension(‘shmmodule’, [‘src/extensions/shmmodule.c’]) ) or use this diff: 36c36 < extensions.append( Extension(‘shmmodule’, [‘src/extensions/shmmodule.c’]) ) — > #extensions.append( Extension(‘shmmodule’, [‘src/extensions/shmmodule.c’]) ) until now the support for cdrom drives only works on Linux, so i disabled it on OS X. now go to kaa/metadata and edit setup.py: change this ext_modules = [ cdrom, ifoparser ] to #ext_modules = [ cdrom, ifoparser ] ext_modules = [ ifoparser ] and change this ext_modules = [ cdrom ] to #ext_modules = [ cdrom ] ext_modules = [ ] or use this diff: 58c58,59 < ext_modules = [ cdrom, ifoparser ] — > #ext_modules = [ cdrom, ifoparser ] > ext_modules = [ ifoparser ] 61c62,63 < ext_modules = [ cdrom ] — > #ext_modules = [ cdrom ] > ext_modules = [ ] now go back to kaa/base and install the kaa.base package: $ sudo python setup.py install now go to kaa/metadata and install the kaa.metadata package: $ sudo python setup.py install you may use a different python instance, like /opt/python24/bin/python or something else if you don’t wanna install kaa into the default python on OS X.

Text to speech

This is a very promising project that aims to build a open source text-to-speech system, based on a JAVA server client system with the ability to build webbased services…. But if you like to hear how text-to-speech works nowadays then head over to http://mary.dfki.de/online-demos/java-interface (you need java 1.5 web plugin) and select one of these voices: time-awb (English, male, limited) dfki-zeit (German, female, limited) dfki-bundesliga-excited (German, male, limited) dfki-bundesliga (German, male, limited) i never heard such emotional computer generated voices – that’s the right way!

kupu resize images

I always had the problem, that i could resize (drag with my mouse) images inside kupu, but when i save the document the image has its original size 🙁 Today i found the solution to this problem here To enable kupu to keep the resize information upon save you have to add width and height to the style whitelist in the kupu preferences in your site preferences.