colin shuker wrote:I suppose I could get the error to be displayed in the gui, but a bit of hassle to do that.
Any ideas?
You need to see the error messages to find out what the problem is. At this point we still have almost no information about the problem, but my guess would be that your code is making an incorrect assumption about what the current working directory is. But really, fix your code so you can see the error messages. You could display them in the GUI or just write them to a file. (When defining this file use the full path name, not a relative path name.)