inkscape loads extension even if the script specified in <command> doesn't exist
Bug #505920 reported by
Aurèle Duda
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
jazzynico |
Bug Description
if an .inx file contains a <command> element pointing to an inextisting script, the extension is loaded (with non report in extension-
So, when you launch the extension, inkscape complains about the python args.
The script used in <command> element should exist in <dependencies>
Related branches
Changed in inkscape: | |
assignee: | nobody → JazzyNico (jazzynico) |
importance: | Undecided → Low |
tags: | removed: python |
Changed in inkscape: | |
status: | Confirmed → Triaged |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
not reproduced with Inkscape 0.47 on OS X 10.5.8
$ grep command debug.inx "python" >debug. py</command>
<command reldir="extensions" interpreter=
$ mv debug.py debug-disabled.py
(launch Inkscape.app, menu entry is missing, quit)
$ cat ../extension- errors. log
Extension "Python module info" failed to load because a dependency was not met.
Dependency:
type: executable
location: extensions
string: debug.py
Please provide information about your OS and Inkscape version.