
On Fri, 2007-06-29 at 08:09 -0700, Joshua A. Andler wrote:
Cross-compiled for win32 and fired up inkscape on the win32 box. The error I reported yesterday persisted (about not finding python25.dll). I manually moved the dll file from the main inkscape dir into the python subdirectory where python.exe resides. This solved problem of not being able to find the dll.
Good, I guess. You can override the place that Inkscape looks for python in your preferences, but we should get this right by default also.
I imagine that the way the path is searched changes slightly with the new function call. Before, I think the shell was doing it, but now I think GTK is doing it.
However, effects still do not work. When I try to run effects (interpolate is my example here) I now get output stating: "python: can't open file 'share\extensions\interp.py': [Errno 2] No such file or directory"
Please comment out the following lines in script.cpp:
907 /* 908 for (std::vectorstd::string::const_iterator i = argv.begin(); 909 i != argv.end(); i++) { 910 std::cout << *i << std::endl; 911 } 912 */
This will print out all the parameters being passed on execute. You should be able to see what exactly is being passed to python -- and give some good information there.
Also, you might try playing with:
917 Glib::spawn_async_with_pipes(Glib::get_tmp_dir(),
The call there is the working directory that things are called in. Perhaps on win32 that should be "C:\Program Files\Inkscape" or something?
--Ted