Page MenuHome

Freestyle SVG exporter
Closed, DuplicatePublic


System Information
Operating system and graphics card
OS: windows 8 64bit

Blender Version
Broken: (example: 2.69.7 4b206af, see splash screen)
Worked: (optional)

Broken 2.74.4 (465a5d2)

Short description of error
when viewport rendering is enabled (internal renderer) and the addon activated in the render tab then there are errors.

Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps

  1. enable freestyle

  1. enable viewport rendering

  1. enable the Freestyle SVG export

  1. see system console for errors:
Error executing Python script from PythonInterpreter::interpretText
Name: LineSet
Error: Traceback (most recent call last):
  File "\LineSet", line 1, in <module>
  File "D:\SVN\BlenderAddons\build\Blender_trunk_vs2013\bin\Release\2.74\scripts\freestyle\modules\",
 line 1221, in process
    fn(scene, layer, lineset)
  File "D:\SVN\BlenderAddons\build\Blender_trunk_vs2013\bin\Release\2.74\scripts\addons\", line 4
73, in lineset_post
  File "D:\SVN\BlenderAddons\build\Blender_trunk_vs2013\bin\Release\2.74\scripts\addons\", line 3
21, in write
    tree = et.parse(self.filepath)
  File "D:\SVN\BlenderAddons\build\Blender_trunk_vs2013\bin\Release\2.74\python\lib\xml\etree\", line 1187
, in parse
    tree.parse(source, parser)
  File "D:\SVN\BlenderAddons\build\Blender_trunk_vs2013\bin\Release\2.74\python\lib\xml\etree\", line 587,
 in parse
    source = open(source, "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\temp\\0001.svg'

location: <unknown location>:-1

Error: interpretation failed

this happens when the image is not first rendered with f12 and i think there should be a warning in this scenario that the image is missing instead of throwing errors in the system console which the normal user has not opened and wonders why nothing is rendered any more.

also when rendering blender crashes, heres a crashlog (this only seems to happen if frame step is set to 1, it runs through with 2 or 10 or whatever else i use)

# Blender 2.74 (sub 4), Commit date: 2015-04-10 18:20, Hash 465a5d2

# backtrace
27: PyInit_mathutils_noise_types - 0x792FE050
26: fftw_assertion_failed - 0x78D027F0
25: fftw_assertion_failed - 0x78D027F0
24: UnhandledExceptionFilter - 0x62A01AD0
23: memset - 0x65694D00
22: _C_specific_handler - 0x656823C0
21: _chkstk - 0x65693A30
20: RtlRaiseException - 0x656574A0
19: KiUserExceptionDispatcher - 0x65692C20
18: PyMapping_Length - 0x77C12B80
17: PyMapping_Length - 0x77C12B80
16: fftw_assertion_failed - 0x78D027F0
15: PyInit_mathutils_noise_types - 0x792FE050
14: PyInit_mathutils_noise_types - 0x792FE050
13: PyInit_mathutils_noise_types - 0x792FE050
12: fftw_assertion_failed - 0x78D027F0
11: fftw_assertion_failed - 0x78D027F0
10: fftw_assertion_failed - 0x78D027F0
9: fftw_assertion_failed - 0x78D027F0
8: fftw_assertion_failed - 0x78D027F0
7: fftw_assertion_failed - 0x78D027F0
6: fftw_assertion_failed - 0x78D027F0
5: fftw_assertion_failed - 0x78D027F0
4: sched_get_priority_max - 0x567B12FD
3: sched_get_priority_max - 0x567B12FD
2: sched_get_priority_max - 0x567B12FD
1: BaseThreadInitThunk - 0x64B813B0
0: RtlUserThreadStart - 0x6566E920



Event Timeline

dan grauer (kromar) set Type to Bug.
dan grauer (kromar) created this task.
dan grauer (kromar) raised the priority of this task from to Needs Triage by Developer.

So it only prints the error and nothing else, right? @Tamito Kajiyama (kjym3), think a warning should be fine here.

yes it only prints the error. i added a crash when rendering a animation which only seems to happen if the frame step is set to 1. but not sure its related to the addon or if its caused by something else.

Thank you for the detailed problem report. The SVG exporter needs to be disabled temporarily when the view port rendering is ongoing. A technical issue here is that there is no established way to detect if the view port rendering is taking place as described in a comment for T43300. I have proposed a solution and been waiting for feedback from core developers.

i added an other bug report because of thee crash T44404 it seems this is caused by the freestyle addon.