Merry Christmas!

jaux.net wishes you have a happy holiday!


SQLite3: Unable to Open Database File

Recently, I’m working on my Skypiea project which is powered by SQLite3 and Python (as CGI script). Yesterday I encountered a program: When the web server ran a CGI script which would update the database, I got an error message said “sqlite3.OperationalError: unable to open database file“.

I searched the web and Google told me I [...]


Simple Weather Script for Conky

Wanna Conky to show your local weather? You might had found tons of solutions already on the web, but here comes a simpler one: SimpleWeather.
Requirement:

Python >= 2.5

How to use it:

Download weather.py.
Edit the file, fill in required parameters (read CONFIGURATION first).
Add ${execi 3600 python the_path_to/weahter.py} to your .conkyrc.


I’m Back

jaux.net had a happy moving! This site is now powered by Wordpress 2.7 and is hosted on Slicehost!
As predicted in the previous post, moving and upgrading Wordpress was easy, fast and pleasant.
However, one thing hit me during the process was the memory consumption of Apache. Currently, my 256MB slice has only the OS, Apache and [...]


Moving and Upgrading

jaux.net is going down this weekend in order to move to Slicehost and upgrade to Wordpress 2.7. The process will not take too long, in theory.
See you next week!