QUOTE (sbeelis @ September 11, 2013 10:24 am) | ||
Ok, I just found
in the sqlite() help, so I'm able to trap the error and handle it myself. I also found out that the macro works perfectly, when FSG and the plugin are actually run. It only fails when using the Test button. |
That doesn't surprise me. The 'Test' environment is limited and doesn't have the same access as running the full routines. It does its best to emulate a full run, but quite a lot of data is not available to it.
I usually say that attaching databases in Plugins is not supported because, if the plugin doesn't tidy up after itself properly, it can leave the SQLite connection in a state where FSG itself can fail. If you are very careful, as you are being, then it should work, but you are on your own! Image may be NSFW.
Clik here to view.
