> ImagePlug: "D:\Program
> Files\gsdl\collect\PAM\import\1936-PA-Tony-Zappone.jpg" contains a
> space. choking.
> ImagePlug: couldn't process "D:\Program
> This wouldn't have anytime to do with the fact that Greenstone is
> installed in the "Program Files" tree? It can't be that obvious.
I'm embarrassed to admit it, but it is exactly that obvious. ImagePlug
cannot handle spaces in the path or filename of imported files.
(As I recall, this restriction was a hack that either Stef or (more
likely) I added because of problems executing programs like convert when
there were spaces in the filenames. Since we all use Linux, and don't
encounter this problem often, we decided to avoid it rather than solving
it. We really should do something about it though...)
There are thre things you might do about this (in order of increasing
1. Move your source files (i.e. your "import" directory) to a new Folder
with no spaces in the path (e.g. c:\data) and tell Greenstone to import
thre files from here instead of the default location using the "importdir"
argument. You do this by adding a line that contains something like
"importdir c:\data" to your collect.cfg file (I've never done this under
windows, only linux, but I think that ought to work). You could at least
try it out pretty easily.
2. Re-install Greenstone somewhere with no spaces in the paths.
3. Fix the plugin (or convince someone else to do it -- if you email
Stefan and ask nicely he might put it on the to-do list for the next