Will the program inkscapec.exe be included in the Windows distribution of 0.47? http://kaioa.com/node/63 This would be useful for those who are tracking bugs in Windows.
As long as it will be useful for debugging only I would not recommend to include it into the "official" distribution. Instead I would include it into the Inkscape debug bundle.
Any reason why there is a need for a separate application? Can't this code be executed while running in non GUI mode on Windows?
Adib. ---
On Wed, May 20, 2009 at 12:11 PM, Alvin Penner <penner@...1856...> wrote:
Will the program inkscapec.exe be included in the Windows distribution of 0.47? http://kaioa.com/node/63 This would be useful for those who are tracking bugs in Windows.
-- View this message in context: http://www.nabble.com/include-inkscapec.exe---tp23632618p23632618.html Sent from the Inkscape - Dev mailing list archive at Nabble.com.
Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
the Adib wrote:
Any reason why there is a need for a separate application?
to the best of my knowledge, there is no other way of trapping error messages to the console in Windows. One can, of course, run the Python script by the same author (at http://kaioa.com/node/42), but this is not really suitable for 'most' users.
Alvin Penner wrote:
the Adib wrote:
Any reason why there is a need for a separate application?
to the best of my knowledge, there is no other way of trapping error messages to the console in Windows. One can, of course, run the Python script by the same author (at http://kaioa.com/node/42), but this is not really suitable for 'most' users.
What I've done is that I've modified my build.xml to output a console application instead of a GUI application. This hardly ever leads to conflicts (as these switches are usually left alone). I just have to make sure I don't commit my version of build.xml, but this is not a big problem.
Of course this is only interesting for developers, and I do think it makes sense to make the console messages more accessible in Inkscape, but perhaps just adding inkscapec.exe to Inkscape's directory would not be accessible enough. Perhaps a separate shortcut that would start inkscapec?
inkscape.exe can be used in command line, for a .bat file for example ?
2009/5/25 Jasper van de Gronde <th.v.d.gronde@...528...>
Alvin Penner wrote:
the Adib wrote:
Any reason why there is a need for a separate application?
to the best of my knowledge, there is no other way of trapping error messages to the console in Windows. One can, of course, run the Python script by the same author (at http://kaioa.com/node/42), but this is not really suitable for 'most' users.
What I've done is that I've modified my build.xml to output a console application instead of a GUI application. This hardly ever leads to conflicts (as these switches are usually left alone). I just have to make sure I don't commit my version of build.xml, but this is not a big problem.
Of course this is only interesting for developers, and I do think it makes sense to make the console messages more accessible in Inkscape, but perhaps just adding inkscapec.exe to Inkscape's directory would not be accessible enough. Perhaps a separate shortcut that would start inkscapec?
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Yann Papouin wrote:
inkscape.exe can be used in command line, for a .bat file for example ?
Yes, but that's not what this discussion was about (and you don't even have to compile it as a console application for that). The problem is that Inkscape prints debug messages to stdout. On Linux you can easily see these by starting Inkscape from a shell, but on Windows you won't see them, even if you start Inkscape from the commandline. This prevents most Windows users from using this potentially valuable debugging resource.
There are two things you can do to remedy the situation. One is to compile Inkscape as a console application. This doesn't change it's behaviour at all, except that Windows does attach a console to its stdout. The other is to run it through inkscapec.exe. The latter is much easier for non-developers.
Hi all, I'm new to this list. I'm a programmer and a every day user of Inkscape to build SVG files to use in my applications.
I think that having a inkscapec.exe is nicer, since most of the users might find strange to start inkscape and a console window pop-up. So if a user needs to get the output, then it would run inkscapec.exe. It seems a nice solution.
Another option is to redirect the output to a file. In this case it can be nice, since we would get a log file with out any effort. The log file could be saved on the program folder.
On Tue, May 26, 2009 at 9:35 PM, Jasper van de Gronde < th.v.d.gronde@...528...> wrote:
Yann Papouin wrote:
inkscape.exe can be used in command line, for a .bat file for example ?
Yes, but that's not what this discussion was about (and you don't even have to compile it as a console application for that). The problem is that Inkscape prints debug messages to stdout. On Linux you can easily see these by starting Inkscape from a shell, but on Windows you won't see them, even if you start Inkscape from the commandline. This prevents most Windows users from using this potentially valuable debugging resource.
There are two things you can do to remedy the situation. One is to compile Inkscape as a console application. This doesn't change it's behaviour at all, except that Windows does attach a console to its stdout. The other is to run it through inkscapec.exe. The latter is much easier for non-developers.
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
I'm not sure of that and tested with 0.46, I'm not able to do the same thing because the command line is not working (Win32)
my bat file /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @echo "PNG rendering" "C:\program files\inkscape\inkscape.exe" -f mypicture.svg -d 90 -e mypicture.png Pause ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
output with inkscape.exe:
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// "PNG rendering"
C:\Documents and Settings\yanapa\Mes documents\temp\DEC_Yann>"C:\program files\inkscape\inkscape.exe" -f mypicture.svg -d 90 -e mypicture.png
C:\Documents and Settings\yanapa\Mes documents\temp\DEC_Yann>Pause Appuyez sur une touche pour continuer... ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
output with inkscapec.exe:
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// "PNG rendering"
C:\Documents and Settings\yanapa\Mes documents\temp\DEC_Yann>"C:\program files\inkscape\inkscapec.exe" -f mypicture.svg -d 90 -e mypicture. png DPI: 90 Background RRGGBBAA: ffffff00 Area 0:0:195:120 exported to 195 x 120 pixels (90 dpi) Bitmap saved as: mypicture.png
C:\Documents and Settings\yanapa\Mes documents\temp\DEC_Yann>Pause Appuyez sur une touche pour continuer... ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2009/5/26 Jasper van de Gronde <th.v.d.gronde@...528...>
Yes, but that's not what this discussion was about (and you don't even have to compile it as a console application for that)
On Wed, May 27, 2009 at 4:19 AM, Yann Papouin <yann.papouin@...400...> wrote:
I'm not sure of that and tested with 0.46, I'm not able to do the same thing because the command line is not working (Win32)
actually it should output the file, just give no output:
http://wiki.inkscape.org/wiki/index.php/Inkscape_Wiki:FAQ#I.27m_on_Windows.2...
Yes you're right, I knew for the "no output" thing but not for need for full path. Thank you.
2009/5/27 bulia byak <buliabyak@...400...>
On Wed, May 27, 2009 at 4:19 AM, Yann Papouin <yann.papouin@...400...> wrote:
I'm not sure of that and tested with 0.46, I'm not able to do the same
thing
because the command line is not working (Win32)
actually it should output the file, just give no output:
http://wiki.inkscape.org/wiki/index.php/Inkscape_Wiki:FAQ#I.27m_on_Windows.2...
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org
On Wed, May 20, 2009 at 12:11 PM, Alvin Penner <penner@...1856...> wrote:
Will the program inkscapec.exe be included in the Windows distribution of 0.47? http://kaioa.com/node/63
" A few of you may know it as "inker.exe". Aaron Spike suggested "inkscapec.exe", which " is sort of along the lines of "java"/"javaw" or "python"/"pythonw"... just the other way around.
I would suggest following the other examples. Making the main application a console application seems to stop Windows from spawning new consoles for subprocesses.
Bug #215020: Win32 - DOS/Command window pops up when using python scripts https://bugs.launchpad.net/inkscape/+bug/215020
On Fri, May 29, 2009 at 10:11 AM, Ulf Erikson <ulferikson@...400...> wrote:
I would suggest following the other examples. Making the main application a console application seems to stop Windows from spawning new consoles for subprocesses.
But instead it makes Inkscape itself spawn a console window for itself, which is worse.
Last time I looked into it, if an extension launched from Inkscape-mwindows opens a console, you just need to make sure it has pythonw listed as interpreter in its .inx file. That fixed it for my custom extension on Windows, but it's not a portable fix, as there's no pythonw on other systems. The file src/extension/implementation/script.cpp has code which is supposed to replace python to pythonw automatically on Windows, but it looks like it does not work for some reason - if someone could investigate that it would be great.
On Sat, May 30, 2009 at 11:59 PM, bulia byak <buliabyak@...400...> wrote:
On Fri, May 29, 2009 at 10:11 AM, Ulf Erikson <ulferikson@...400...> wrote:
I would suggest following the other examples. Making the main application a console application seems to stop Windows from spawning new consoles for subprocesses.
But instead it makes Inkscape itself spawn a console window for itself, which is worse.
We are talking about a situation where you have two applications: one that gives console output and one that doesn't open a console window. This also means that one is the main application and the other just spawns the first: inkscape/inkscapec or inkscape/inkscapew
You started the wrong application. Try inkscapew instead :)
participants (7)
-
Alvin Penner
-
bulia byak
-
Jasper van de Gronde
-
the Adib
-
Tiago Correia
-
Ulf Erikson
-
Yann Papouin