[20.3] SVG import crash

Forums: [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)

[20.3] SVG import crash

Postby J.C » Wed Feb 19, 2020 12:59 pm

J.C Wed Feb 19, 2020 12:59 pm
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
J.C
Licensed Customer
Licensed Customer
 
Posts: 1721
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: [20.3] SVG import crash

Postby linograndiotoy » Thu Feb 20, 2020 9:08 am

linograndiotoy Thu Feb 20, 2020 9:08 am
Can you attach your SVG file reproducing the crash?
linograndiotoy
OctaneRender Team
OctaneRender Team
 
Posts: 1155
Joined: Thu Feb 01, 2018 7:10 pm

Re: [20.3] SVG import crash

Postby J.C » Fri Feb 21, 2020 10:14 am

J.C Fri Feb 21, 2020 10:14 am
linograndiotoy wrote:Can you attach your SVG file reproducing the crash?


Sure, here it is:
svg_sample.zip
(356 Bytes) Downloaded 165 times
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1721
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: [20.3] SVG import crash

Postby ChrisH » Fri Feb 21, 2020 4:31 pm

ChrisH Fri Feb 21, 2020 4:31 pm
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/
User avatar
ChrisH
Licensed Customer
Licensed Customer
 
Posts: 103
Joined: Sun Mar 06, 2011 12:13 am
Location: Lidköping, Sweden

Re: [20.3] SVG import crash

Postby linograndiotoy » Sun Feb 23, 2020 9:42 am

linograndiotoy Sun Feb 23, 2020 9:42 am
Yes, works fine here in 2.82.
linograndiotoy
OctaneRender Team
OctaneRender Team
 
Posts: 1155
Joined: Thu Feb 01, 2018 7:10 pm

Re: [20.3] SVG import crash

Postby J.C » Mon Feb 24, 2020 8:06 am

J.C Mon Feb 24, 2020 8:06 am
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
J.C
Licensed Customer
Licensed Customer
 
Posts: 1721
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: [20.3] SVG import crash

Postby linograndiotoy » Mon Feb 24, 2020 11:21 am

linograndiotoy Mon Feb 24, 2020 11:21 am
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.
linograndiotoy
OctaneRender Team
OctaneRender Team
 
Posts: 1155
Joined: Thu Feb 01, 2018 7:10 pm

Return to Bug Reports


Who is online

Users browsing this forum: No registered users and 3 guests

Fri Apr 19, 2024 10:55 am [ UTC ]