inkex.errormsg(_("The JessyInk script is not installed in this SVG file or has a different version than the JessyInk extensions. Please select \"install/update...\" from the \"JessyInk\" sub-menu of the \"Extensions\" menu to install or update the JessyInk script.\n\n"))
rect = None
for id, node in self.selected.items():
if rect == None:
rect = node
else:
inkex.errormsg(_("More than one object selected. Please select only one object.\n"))
exit()
if rect == None:
inkex.errormsg(_("No object selected. Please select the object you want to assign a view to and then press apply.\n"))
exit()
if not self.options.removeView:
# Remove the view that currently has the requested order number.
for node in rect.xpath("ancestor::svg:g[@inkscape:groupmode='layer']/descendant::*[@jessyink:view]", namespaces=inkex.NSS):