Maniphest T72137

Import .svg file failed in Blender 2.81
Closed, Archived

Assigned To
Jean First (robbott)
Authored By
Leroy (Leroy)
Dec 3 2019, 9:06 AM
Tags
  • BF Blender
Subscribers
Jean First (robbott)
Leroy (Leroy)

Description

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 432.00

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-20 14:27, hash: rB26bd5ebd42e3
Worked: (optional)

Short description of error

The same svg file, it's can work in blender 2.80, but report error in 2.81. have tried in factory mode.

error info:

Traceback (most recent call last):
  File "D:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_curve_svg\__init__.py", line 59, in execute
    return import_svg.load(self, context, filepath=self.filepath)
  File "D:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_curve_svg\import_svg.py", line 1882, in load
    load_svg(context, filepath, do_colormanage)
  File "D:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_curve_svg\import_svg.py", line 1872, in load_svg
    loader.parse()
  File "D:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_curve_svg\import_svg.py", line 1085, in parse
    ob = parseAbstractNode(node, self._context)
  File "D:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_curve_svg\import_svg.py", line 1856, in parseAbstractNode
    ob.parse()
  File "D:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_curve_svg\import_svg.py", line 1085, in parse
    ob = parseAbstractNode(node, self._context)
  File "D:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_curve_svg\import_svg.py", line 1856, in parseAbstractNode
    ob.parse()
  File "D:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_curve_svg\import_svg.py", line 1134, in parse
    pathParser = SVGPathParser(d, self._styles['useFill'])
  File "D:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_curve_svg\import_svg.py", line 508, in __init__
    self._data = SVGPathData(d)
  File "D:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_curve_svg\import_svg.py", line 420, in __init__
    token, last_char = read_float(d, i)
  File "D:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\io_curve_svg\svg_util.py", line 88, in read_float
    raise Exception('Invalid float value near ' + text[start_index:start_index + 10])
Exception: Invalid float value near -.46-.95.2

location: <unknown location>:-1

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

you can download my .svg file form here:

Event Timeline

Leroy (Leroy) created this task.Dec 3 2019, 9:06 AM
Jean First (robbott) changed the task status from Unknown Status to Unknown Status.Dec 3 2019, 9:19 AM
Jean First (robbott) claimed this task.
Jean First (robbott) added a subscriber: Jean First (robbott).

duplicate of T71845

Jean First (robbott) added a comment.Dec 3 2019, 9:30 AM

rather duplicate of T71774