extension "Visualize Path"/"Measure path..." fails
Bug #1641111 reported by
Carlos
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
jazzynico |
Bug Description
"Measure path" aborts with dialog error:
Traceback (most recent call last):
File "measure.py", line 270, in <module>
e.affect()
File "/usr/share/
self.effect()
File "measure.py", line 185, in effect
[viewx, viewy, vieww, viewh] = doc.get(
ValueError: too many values to unpack
How to reproduce: select a path, invoke extension, either click Apply or enable
live preview.
Environment: Fedora 24, Inkscape 0.91 r13725, python 2.7.12-6
Quick fix: at line 185 of measure.py, insert ".trim()" before ".split".
tags: | added: extensions-plugins |
Changed in inkscape: | |
assignee: | nobody → jazzynico (jazzynico) |
milestone: | 0.93 → 0.92 |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I recommend this change:
- [viewx, viewy, vieww, viewh] = doc.get( 'viewBox' ).split( ' ') 'viewBox' ).strip( ).split( ' ', 4)
+ (viewx, viewy, vieww, viewh) = doc.get(