halamalala / inkscape2tikz

Automatically exported from code.google.com/p/inkscape2tikz
Other
22 stars 2 forks source link

Can't Spawn!!! spawn returns: 8 #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using Inkscape 0.46
2. Under OpenBSD 4.7
3. Each time I use the extension (either through "save as" or 
"effects->export") I get the following text on the command line
"Can't Spawn!!! spawn returns: 8", with no other details in dialog boxes, etc

An output file is created but of size 0.

I looked for the meaning of the error, but the only thing I've been able to 
find is that it comes form:

    try {
        Glib::spawn_async_with_pipes(Glib::get_current_dir(), // working directory
                                     argv,  // arg v
                                     Glib::SPAWN_SEARCH_PATH /*| Glib::SPAWN_DO_NOT_REAP_CHILD*/,
                                     sigc::slot<void>(),
                                     &_pid,          // Pid
                                     NULL,           // STDIN
                                     &stdout_pipe,   // STDOUT
                                     &stderr_pipe);  // STDERR
    } catch (Glib::SpawnError e) {
        printf("Can't Spawn!!! spawn returns: %d\n", e.code());
        return 0;
    }

http://inkscape.sourcearchive.com/documentation/0.46-2.lenny1/script_8cpp-source
.html

But I don't know what is the external program called, what are its arguments 
and what is its output...

Original issue reported on code.google.com by sexxxena...@gmail.com on 3 Aug 2010 at 2:23

GoogleCodeExporter commented 8 years ago
It is hard to say what the problem could be. Does other extensions work?

Original comment by kjel...@gmail.com on 4 Aug 2010 at 7:35

GoogleCodeExporter commented 8 years ago
You're right, apparently, I get the same error ("Can't Spawn!!! spawn returns: 
8") whatever extension I use...

Seems that the way Inkscape extensions work do not comply why OpenBSD's 
security policy...

I'll try to investigate that more when I'll find some time

Original comment by sexxxena...@gmail.com on 13 Aug 2010 at 9:56

GoogleCodeExporter commented 8 years ago

Original comment by kjel...@gmail.com on 12 Jul 2012 at 8:49