Sunday, 20 May 2007

Installing Ubuntu 7.04 from ISO image

I decided to do a clean install of Ubuntu 7.04 on my old desktop. I'd downloaded the ISO image some time ago, but it was on my laptop so I used the laptop to burn the image to a CD. The burning went fine and the CD looked good, but the desktop would not boot from it. The desktop has a LITEON DVD burner and a LITEON CD burner, but the CD burner is not powered up.

It turns out the CD would not boot from the DVD drive, but if I put it in the CD drive, it would. I'm not sure why it would matter, since the DVD drive could read the disk, just not boot it.

Unfortunately, after getting the machine to boot and installing Ubuntu to disk, I end up with the same problem described here (an /sbin/modprobe abnormal exit resulting in the boot process hanging). I've got an old (2001?) Gigabyte GA-8SR533 F7d motherboard, and kernel 2.6.20-15 doesn't seem to like it.

Saturday, 12 May 2007

Grails and Eclipse

I've just been lead astray by a little problem with my Eclipse setup, while working on a Grails project. It's documented that when working on a Grails project and using the Groovy Eclipse plugin, you must turn off 'Enable Groovy Compiler Generating Classes' otherwise it will interfere with your Grails project.

While working on a Groovy project I had re-enabled this, and after switching back to my Grails project, I would get this exception when running grails run-app :

Server failed to start:
org.mortbay.util.MultiException
[org.codehaus.groovy.runtime.InvokerInvocationException:
groovy.lang.MissingMethodException:
No signature of method:
Note.save() is applicable for argument types: () values: {}]

(Note.groovy is my domain class)

When I noticed a bunch of Eclipse generated content in the root of my project I quickly remembered this issue.

Since the setting in question is a workspace setting, I think the best solution for me would be to have separate workspaces for Groovy and Grails projects.

Wednesday, 9 May 2007

ACEGI plugin for Grails

As part of my adventures with Grails, I thought I'd try the ACEGI plugin which is described here. If you try the download links though, you'll be a bit disappointed. They just seem to show a Yahoo advert which is in Japanese??

Instead of clicking on the download links, go here http://sky.geocities.jp/acegiongrails/ first and you'll get to a page where you can download them.

There doesn't seem to be anything wrong with the URLs - they are the same as the ones on the page that works, but somehow they behave differently.