inkscapeDimensions
inkscapeDimensions copied to clipboard
unable to draw linear dimensions
I installed the dimensions package with all dependencies and it worked for several days but I am now getting the following error when trying to apply linear dimensions:
ValueError: need more than 0 values to unpack
This is a screenshot of the full error:
have you tried the newest version?
A similiar error on my installation:
/usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import fnmatch, glob, traceback, errno, sys, atexit, locale, imp, stat
Traceback (most recent call last):
File "dimensions.py", line 903, in <module>
dimension.run()
File "/usr/share/inkscape/extensions/inkex/base.py", line 140, in run
self.save_raw(self.effect())
File "dimensions.py", line 258, in effect
dimPosition=so.ANGdimPosition, dimDistance=so.ANGannotationDistance)
File "dimensions.py", line 343, in drawAngDim
if auxElemType == '3points':
UnboundLocalError: local variable 'auxElemType' referenced before assignment
Ubuntu 18 Inkscape 1.0.2 Latest version of inkscapeDimensions
hansu,
for angular annotations you need a line segment with 3 or 4 points only. check if you have more.
Sorry I was in the wrong tab when coping the error message. I wanted a linear dimension. But this fails also:
I uploaded a new version yesterday that should fix this issue. Also check if your inkscapemadeeasy is updated.
Very nice, that works. Thanks!