Posts Tagged ‘python’

JustRecord : a tool to record

Tuesday, November 27th, 2007

For many years, we’re using various tools to perform long recordings : record (from xawtools), an home-patched jack-record, arecord+split, rotter, etc.

To record Esperanzah lives or Forum PHP 2007 conferences, we used our ugly (but efficient) arecord+split script. But it’s really a tool which can be shared with other teams.

So we’ve just started a dedicated tool to perform long recordings : JustRecord. These few lines of python can record in loop via alsa, run as daemon, log with syslog and execute an external script when a file is ended, etc. Tiny but usefull ;-) And many features will follow.

Install a Trac plugin

Thursday, August 30th, 2007

It seems easy to install a Trac plugin … No idea why but I’ve experienced several difficulties before finding this procedure : I retrieve the python plugin source and create the egg file.

Most of time, the trac plugin source are available via subversion. A small checkout and you can find the setup.py file.

To create the egg file, execute python setup.py bdist_egg. You’ll find the egg file into the dist/ directory.

Take care to use the same python version than your trac server. An egg file created with python 2.4 will not work with python 2.3.

Copy the egg file into the trac plugin directory (/usr/share/trac/plugins under debian). Trac will make the end of work.

Python 2.5 not installable on Maemo 3.2007.10-7

Sunday, May 6th, 2007

Daniel Martín Yerga announces Maemo WordPy 0.3 … and no way to install python-2.5-runtime on my Nokia 800 :-( Since my .. forced upgrade .. to the last image (3.2007.10-7), I experienced few troubles with some packages. Python 2.5 runtime fails with dependencies on libglade2.0, libsdl-ttf and libgdm3 .. No python, no MaemoWordPy .. sadness ..

Update: I activated the RedPill mode this morning to install OpenSSH. I retried the python2.5-runtime installation this afternoon, the Application Manager has accepted the dependencies. Thanks to Daniel Martín Yerga for his mail. Maemo WordPy 0.3 is installed now :-)