I've just gotten around (as of a few minutes ago) to updating the current version of the exporter in cvs (been meaning to do that for ages). So your code might need some changing to match the new version.
It's a fairly substantial change. I didn't want to release anything until it worked up to the standard I wanted, which caused it to be dragged on and on.
The main exporter part is pretty much rewritten. It doesn't yet include my scene exporting, but it does do stuff like handle distorted textures about 99.999% correctly (2 giant test models are still slightly wrong on a couple of faces), which took many months of experimenting, several "I'm never touching this program again!" moments (sketchup's api causes MANY of those) and guesswork.
The config file format has changed (now a module instead of global variables). There's no longer a need for hand editing, there's now a config dialog with loading/saving of options:

(Which also caused numerous "I'm never touching this program again!" moments)
You can now select to export front and or back faces, (doing both will generate a lot of triangles).
Hopefully it works.
For an idea of the fun this api gives you, I spent a couple of hours last night trying to work out why normals weren't being smoothed. In sketchup the car I was testing looked smooth, in ogre it was flat shaded. Turns out that the sketchup api only exports smoothed normals if the face is inside of at least one group, but will always render them smooth. So what's on screen isn't always what it gives you through the api! If I selected the entire scene, grouped it, then it gave me the right data. GRRR
Also, it doesn't help that Sketchup doesn't like my geforce 8800gts512:

Painful to test models when they look like that.
I apologise to anybody who has been waiting for updates. I've been pretty slack with it.