Author Archive
Generating Faults in Pylons XMLRPCController
This might seem easy enough, but it took me a while to get it right since the Pylons documentation is a bit misleading here, really. It says you should use xmlrpc_fault from pylons.controllers.xmlrpc but that’s actually not working if you’re doing something like: from pylons.controllers.xmlrpc import xmlrpc_fault … return xmlrpc_fault( 101, “My Error” ) This [...]
Django on Windows
To more easily use Django on Windows, create a dos .bat file in Django’s bin directory named django-admin.bat with the following content: @%~dp0\..\..\..\..\python.exe %~dp0\django-admin.py %* and add Django’s bin directory to your PATH: set DJANGO_HOME=C:\Development\tools\Python25\Lib\site-packages\django set PATH=%DJANGO_HOME%\bin;%PATH% You can now use django-admin from anywhere without specifying the full path. (I kept getting ImportError: No module [...]
Multiple Many-to-Many in Grails
Creating many-to-many relationships in Grails is quite simple. It is also possible to have multiple many-to-many relationships in a single class, but for some reason I found little documentation on how to do this. It is actually quite simple once you know how to and pretty much comes down to syntactic sugar, so to speak. [...]
Connecting Apache2 and Tomcat6
If you ever need to serve Tomcat applications through Apache2, here is a quick guide on how to do this on Ubuntu.
Making Bugzilla run on Windows with XAMPP
I was struggling a bit with making Bugzilla 2.2 work on my Windows XAMPP. I kept getting error about child processes not being able to start. The logs said this: [Mon Jul 05 09:04:38 2010] [error] [client 127.0.0.1] (OS 3)The system cannot find the path specified. : couldn’t create child process: 720003: index.cgi [Mon Jul [...]
Installing Ubuntu 10.04 Server 64bit via USB Pendrive
After struggling with installing Ubuntu Server 10.04 from a bootable usb stick, here are some hints in case anyone else ever wants to do this. My problem was that the Server Installer kept trying to load files from the CD and could not find them, which made the installation fail. I actually wonder why it [...]
Flashing PR 1.2 to the N900 from Ubuntu 10.04 64bit
To install flasher, do sudo dpkg -i –force-architecture maemo_flasher-3.5_2.5.2.2_i386.deb afterwards, install ia32-libs from multiverse: sudo apt-get install ia32-libs Before installing ia32-libs flasher kept telling me this: ubuntu@ubuntu:~/Desktop$ flasher-3.5 bash: /usr/bin/flasher-3.5: No such file or directory Now, to flash PR1.2 and the vanilla eMMC content, issue the following two commands: sudo flasher-3.5 -F RX-51_2009SE_10.2010.19-1_PR_COMBINED_MR0_ARM.bin -f sudo [...]
Quote of the Month
On the Kite, the situation was being ‘workshopped’. This is the means by which people who don’t know anything get together to pool their ignorance. from: Terry Pratchett – The Last Hero – A Discworld Fable. … and so true
Des Christkinds liebste Gadgets
Da ja bald Weihnachten ist stelle ich an dieser Stelle einfach mal eine Liste der Must-Have-Gadgets für das diesjährige Weihnachtsgeschäft zusammen. Wer also noch passende Geschenke für den technikverliebten Geek sucht, wird hier wohl schon irgendwo fündig werden.
