script output extension creates 0 size file
Bug #727113 reported by
luky
This bug report is a duplicate of:
Bug #652943: Aborted output extensions create an empty file.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
Script output extension doesn't allow cancellation of export from export script. So even in case when no output is generated inkscape creates 0 size file
It's caused by script.cpp save routine where you can find those lines of code:
file_listener fileout;
execute(
std::string lfilename = Glib::filename_
bool success = fileout.
execute function returns correctly 0 in case there is no output (stdout), but the return value is never checked and new file is always created.
To post a comment you must log in.
Already changed in Inkscape trunk, see revision 9815: bazaar. launchpad. net/~inkscape. dev/inkscape/ trunk/revision/ 9815>
<http://
Linking as duplicate to bug #652943 “Aborted output extensions create an empty file” /bugs.launchpad .net/inkscape/ +bug/652943>
<https:/
Please add a comment here and revert the duplicate status if you don't agree and think these are different issues.