[20.3] SVG import crash

Sub forum for bug reports
Forum rules
Before posting a bug report, please check the following:
1. That the issue has not already been disclosed
2. That the issue is specific to this plugin, and not Octane in general (Try reproducing it in Standalone)
Bugs related to the Octane Engine itself should be posted into the Standalone Support sub-forum.


All bug reports should include the information below, along with a detailed description of the issue and steps to reproduce it.
A. Operating System, including version (i.e. Win 7, OSX 10.11.2, Ubuntu 14.04, etc.)
B. Graphics Card(s) model (i.e. GTX 580 - 3GB, TITAN, etc.)
C. RAM Capacity (i.e. 6 GB)
D. Nvidia driver version (i.e. 7.50, 7.5.22)
E. OctaneRender Standalone version, if installed (i.e. 2.24.2, 2.23, etc.)
F. OctaneRender plugin version (i.e. v2.25 - 2.21)
G. Host application version, including build number if available (i.e. 3ds Max 2016 Build 18.0)
Post Reply
J.C
Licensed Customer
Posts: 1857
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Importing an SVG file results in an error:

Code: Select all

bpy.ops.object.delete(use_global=False)
Deleted 1 object(s)
bpy.context.space_data.recent_folders_active = 1
bpy.context.space_data.recent_folders_active = 0
Traceback (most recent call last):
  File "C:\Program Files\BlenderOctane20_7\2.81\scripts\addons\io_curve_svg\__init__.py", line 59, in execute
    return import_svg.load(self, context, filepath=self.filepath)
  File "C:\Program Files\BlenderOctane20_7\2.81\scripts\addons\io_curve_svg\import_svg.py", line 1882, in load
    load_svg(context, filepath, do_colormanage)
  File "C:\Program Files\BlenderOctane20_7\2.81\scripts\addons\io_curve_svg\import_svg.py", line 1872, in load_svg
    loader.parse()
  File "C:\Program Files\BlenderOctane20_7\2.81\scripts\addons\io_curve_svg\import_svg.py", line 1085, in parse
    ob = parseAbstractNode(node, self._context)
  File "C:\Program Files\BlenderOctane20_7\2.81\scripts\addons\io_curve_svg\import_svg.py", line 1856, in parseAbstractNode
    ob.parse()
  File "C:\Program Files\BlenderOctane20_7\2.81\scripts\addons\io_curve_svg\import_svg.py", line 1085, in parse
    ob = parseAbstractNode(node, self._context)
  File "C:\Program Files\BlenderOctane20_7\2.81\scripts\addons\io_curve_svg\import_svg.py", line 1856, in parseAbstractNode
    ob.parse()
  File "C:\Program Files\BlenderOctane20_7\2.81\scripts\addons\io_curve_svg\import_svg.py", line 1085, in parse
    ob = parseAbstractNode(node, self._context)
  File "C:\Program Files\BlenderOctane20_7\2.81\scripts\addons\io_curve_svg\import_svg.py", line 1856, in parseAbstractNode
    ob.parse()
  File "C:\Program Files\BlenderOctane20_7\2.81\scripts\addons\io_curve_svg\import_svg.py", line 1085, in parse
    ob = parseAbstractNode(node, self._context)
  File "C:\Program Files\BlenderOctane20_7\2.81\scripts\addons\io_curve_svg\import_svg.py", line 1856, in parseAbstractNode
    ob.parse()
  File "C:\Program Files\BlenderOctane20_7\2.81\scripts\addons\io_curve_svg\import_svg.py", line 1134, in parse
    pathParser = SVGPathParser(d, self._styles['useFill'])
  File "C:\Program Files\BlenderOctane20_7\2.81\scripts\addons\io_curve_svg\import_svg.py", line 508, in __init__
    self._data = SVGPathData(d)
  File "C:\Program Files\BlenderOctane20_7\2.81\scripts\addons\io_curve_svg\import_svg.py", line 420, in __init__
    token, last_char = read_float(d, i)
  File "C:\Program Files\BlenderOctane20_7\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 .93,4.18,5

location: <unknown location>:-1
The same file is imported fine in official blender builds.
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
linograndiotoy
OctaneRender Team
Posts: 1355
Joined: Thu Feb 01, 2018 7:10 pm

Can you attach your SVG file reproducing the crash?
J.C
Licensed Customer
Posts: 1857
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

linograndiotoy wrote:Can you attach your SVG file reproducing the crash?
Sure, here it is:
svg_sample.zip
(356 Bytes) Downloaded 188 times
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
User avatar
ChrisH
Licensed Customer
Posts: 103
Joined: Sun Mar 06, 2011 12:13 am
Location: Lidköping, Sweden
Contact:

J.C. what Blender version(s) did you test with?

I tested with 2.80 and 2.82, both works. I downloaded 2.81 from blender.org, and then I couldn't import the SVG, so it could be specific to 2.81..
Windows 10 Pro - AMD Ryzen 7 2100X 8 core 3.70GHz - 32GB RAM - GeForce GTX 1080 8GB
Octane Prime - Blender Plugin user

Metal IOR values for Octane (with .blend library): https://chris.hindefjord.se/resources/rgb-ior-metals/
linograndiotoy
OctaneRender Team
Posts: 1355
Joined: Thu Feb 01, 2018 7:10 pm

Yes, works fine here in 2.82.
J.C
Licensed Customer
Posts: 1857
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

ChrisH wrote:J.C. what Blender version(s) did you test with?

I tested with 2.80 and 2.82, both works. I downloaded 2.81 from blender.org, and then I couldn't import the SVG, so it could be specific to 2.81..
I tested latest 2.81a and up. They import the SVG files without any issue.
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
linograndiotoy
OctaneRender Team
Posts: 1355
Joined: Thu Feb 01, 2018 7:10 pm

J.C wrote:
ChrisH wrote:J.C. what Blender version(s) did you test with?

I tested with 2.80 and 2.82, both works. I downloaded 2.81 from blender.org, and then I couldn't import the SVG, so it could be specific to 2.81..
I tested latest 2.81a and up. They import the SVG files without any issue.
Perfect then.
Post Reply

Return to “Bug Reports”