Extensions not working

Asked by Robert

Windows 8.1 Pro Inkscape 0.91 r13725 (Also tried on same machine running Fedora 22 got the same error)

Ran Extensions>Render>Hersey a few times and it worked great. Then started producing error messages and no output. Rebooted machine and still had errors, rebooted into Linux and tried the same thing and got the same error. Back in Windows tried other render extensions an received same error.

Started getting the following error:
Inkscape has received additional data from the script executed. The script did not return an error, but this may indicate the results will not be as expected.

Traceback (most recent call last):
  File "hershey.py", line 110, in <module>
    e.affect()
  File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 265, in affect
    self.getposinlayer()
  File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 207, in getposinlayer
    x = self.unittouu( xattr[0] + 'px' )
  File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 351, in unittouu
    return retval * (self.__uuconv[u.string[u.start():u.end()]] / self.__uuconv[self.getDocumentUnit()])
  File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 326, in getDocumentUnit
    svgunitfactor = self.__uuconv[svgwidthunit] * width / viewboxwidth
ZeroDivisionError: float division

Question information

Language:
English Edit question
Status:
Expired
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Hachmann (marenhachmann) said :
#1

This shouldn't happen ;)

Could you make this a bug report? I couldn't find one that describes your problem (also in the 'Fix Committed' ones). Please also upload your svg file.

To repair the problem in your specific case:

Did you change anything in the document units or its width / height before the error occurred? Can you change it back?
It seems the viewbox value the program finds is zero width... ?

Regards,
 Maren

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.