Cannot measure any objects due to syntax error
Summary:
When trying to measure a path, I get a SyntaxError: invalid syntax
Steps to reproduce:
- open Inkscape
- open an Inkscape file
- select an object
- click Extensions > Visualize Path > Measure Path
- in the dialog, select any Measurement Type (does not make a difference)
- select Fixed Text
- leave all the values at their defaults (does not seem to make a difference)
What happened?
An error popup with the following content appears:
File "measure.py", line 282
node.transform = -node.getparent().composed_transform() @ node.transform
^
SyntaxError: invalid syntax
Remarks:
- The same also happens when clicking Live Preview in the dialog.
- I'm on Debian GNU/Linux 11 (bullseye).
- Installed Python version:
$ LC_ALL=C sudo update-alternatives --config python
There are 2 choices for the alternative python (providing /usr/local/bin/python).
Selection Path Priority Status
------------------------------------------------------------
0 /opt/python3.9/bin/python3 9999 auto mode
* 1 /opt/python3.9/bin/python3 9999 manual mode
2 /usr/bin/python2 9999 manual mode
What should have happened?
The measured value should have been added as text object.
Sample attachments:
Version info
1.2.2