OpenERP - Timesheet module - Hours encoding error

When trying to encode new hours in one's timesheet in OpenERP, the following error might appear:
ERROR:  null value in column "journal_id" violates not-null constraint insert into "account_analytic_line" (id,perm_id,"user_id","account_id","general_account_id","product_uom_id","journal_id","name","to_invoice","amount","unit_amount","date","product_id",create_uid,create_date) values (4,NULL,'4','6','634','4',NULL,'Analysis of AIM development project',NULL,-40.000000,2.000000,'2008-08-14','1',4,now())
The error code is not clear, but the problem in this case comes from t

MySQL slow queries in Dokeos 1.8.5 - Huge campus

I'm currently reviewing quickly the slow queries occuring in MySQL when querying the database of a Dokeos 1.8.5 campus with 200.000 users. Of course, the number of users influences largely the execution time of a query, MySQL being known (to me at least, from experience with Dokeos and Avanquest) to be behaving particularly badly from 1M records in a single table upwards. Of course also, as you might have guessed already, most of the queries that lag the most are those related directly to users, and particularly relations between the users table and a log table or a registration table. Here

Flash 10 Beta 2 for Linux will support V4L2

Wow... this is great news for us. Mike Melanson, the developer of the Linux version of the Flash plugin, just announced on his blog that Flash plugin 10 beta 2 will start supporting V4L2! For Dokeos, this means that we will now be able to use the video recording of our little webcams directly from Linux. This is probably the great news of the day...

2008-10-11 update

I'm just finishing an hour of testing here.

Upgrading campus.dokeos.com to 1.8.5

Tonight I'm upgrading campus.dokeos.com to dokeos 1.8.5. One of the things that is difficult to put in a human mind is the number of users and courses on this portal and the implication it has on upgrade time. Over the last 5 days, 600 new users have registered on this portal, which made it pass the 200K users for the very first time. The portal still works nicely. It's now on a single cuad-core server, but it used to work on a Pentium 4 for 125K users. That's the beauty of Dokeos. However, upgrades to newer versions are always a difficult task.