Author Topic: IPR and Corona scatter  (Read 20980 times)

2017-03-31, 02:10:59
Reply #30

burnin

  • Active Users
  • **
  • Posts: 1532
    • View Profile
same errors here
- everything is set accordingly
- noticed that windows changes permission on the specified folder, even if i create another one or on another disk, anywhere for that matter...
- using an external mesh/proxy(.obj), objects are flipped on Z (negative)
Code: [Select]
Traceback (most recent call last):
  File "C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\render_corona\engine.py", line 353, in render
    render_start( self, scene)
  File "C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\render_corona\engine.py", line 38, in render_start
    render_scene( engine, scene)
  File "C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\render_corona\engine.py", line 188, in render_scene
    bpy.ops.corona.export_scene()
  File "C:\programi\b278c\2.78\scripts\modules\bpy\ops.py", line 189, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: Something went wrong, unable to write .scn file. Check directory permissions of export directory.


location: <unknown location>:-1


2017-03-31, 02:19:26
Reply #31

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
Can you please tell me your export directory?

Victor I see yours is in c:\Program Files,  this is typically bad and Windows 8+ will cause issues with that.

2017-03-31, 02:40:52
Reply #32

burnin

  • Active Users
  • **
  • Posts: 1532
    • View Profile
tried a few
1. c:\Users\py\Desktop\ProxyCoronaTester\
2. d:\_Studies\Corona\BlenderSA\ProxyCoronaTester\
3. z:\ProxyCoronaTester\

all cause the same error
Code: [Select]
Traceback (most recent call last):
  File "C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\render_corona\engine.py", line 353, in render
    render_start( self, scene)
  File "C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\render_corona\engine.py", line 38, in render_start
    render_scene( engine, scene)
  File "C:\Users\py\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\render_corona\engine.py", line 188, in render_scene
    bpy.ops.corona.export_scene()
  File "C:\programi\b278c\2.78\scripts\modules\bpy\ops.py", line 189, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: Something went wrong, unable to write .scn file. Check directory permissions of export directory.


location: <unknown location>:-1


have attached the whole folder that i move around

PS
- proxyObject.blend is standard proxy scene (integrated within)
- proxyTesting.blend  is using External Object - which gets flipped on Z (*note: forgot to change the 'Instance' path ;))
« Last Edit: 2017-03-31, 02:53:06 by burnin »

2017-03-31, 02:46:23
Reply #33

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
So this only happens with recent releases?

2017-03-31, 02:54:41
Reply #34

burnin

  • Active Users
  • **
  • Posts: 1532
    • View Profile
Been away for a while, latest release (4.1.3) tested only

ps
Oh, it goes all the way back to v 3.0.0, in 3.x versions i get error even with External Object  :(

Ufuf... found it :) it breaks with 2.4.4 (19aed63),
+ just a note: in 2.10 (8ef7b62) first glitch appears, one of proxies (trunk) isn't respected, renders as a cube - objects get mixed?
« Last Edit: 2017-03-31, 03:44:31 by burnin »

2017-03-31, 04:03:22
Reply #35

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
Ok thanks, I will see what broke it and get a fix. Might take me a few hours though.

2017-03-31, 04:11:54
Reply #36

burnin

  • Active Users
  • **
  • Posts: 1532
    • View Profile
No problem... as long as it's been found, i hope :)

2017-03-31, 05:29:44
Reply #37

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
Victor and burnin

4.1.4 fixes the failing to export, burnin thanks for providing the .blend files that reproduce the problem it helps immensely!

2017-03-31, 09:40:46
Reply #38

lasse1309

  • Active Users
  • **
  • Posts: 70
    • View Profile
Victor and burnin

4.1.4 fixes the failing to export, burnin thanks for providing the .blend files that reproduce the problem it helps immensely!

you are awesome!

thanks a lot :D

2017-03-31, 09:41:48
Reply #39

Pixelatedvertex

  • Active Users
  • **
  • Posts: 35
    • View Profile
Hi guys,

sorry for barging in again with what's probably a stupid question, well... more like 2 questions regarding duplication. (I'm currently on exporter v. 4.1.3)
The first one I already have an answer to...
I am trying to render a parking lot with just a single car duplicated a few times, since it consists of multiple objects, rather than merging them, I parented them to a Null Object, added both the Null and it's children to a group and added instances of that group (SHIFT+A > Add Group Instance). When I tried to render, i got this in the system console:

Code: [Select]
debug:   Material debug BASE <bpy_struct, Object("Audi_Q7_PART3.011")> None MESH <bpy_struct, Mesh("Audi_Q7_PART3.011")>
debug:   Dupli obs [bpy.data.objects['bmw.011'], [Matrix(((0.14644736051559448, -0.9892184734344482, 0.0, 127181.59375),
        (0.9892184734344482, 0.14644736051559448, 0.0, 72025.203125),
        (0.0, 0.0, 1.0, -0.0003668330900836736),
        (0.0, 0.0, 0.0, 1.0)))], bpy.data.objects['BMWGRP']]
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\Corona_exporter_v3\outputs.py", line 1040, in write_scn
    name = name_compat(group.name) + '_' + name_compat(dupli.data.name)
AttributeError: 'NoneType' object has no attribute 'name'
Corona: Failed :(
Error: Something went wrong, unable to write .scn file. Check directory permissions of export directory.
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\Corona_exporter_v3\engine.py", line 353, in render
    render_start( self, scene)
  File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\Corona_exporter_v3\engine.py", line 38, in render_start
    render_scene( engine, scene)
  File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\addons\Corona_exporter_v3\engine.py", line 188, in render_scene
    bpy.ops.corona.export_scene()
  File "C:\Program Files\Blender Foundation\Blender\2.78\scripts\modules\bpy\ops.py", line 189, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: Something went wrong, unable to write .scn file. Check directory permissions of export directory.


location: <unknown location>:-1

location: <unknown location>:-1
<!> event has invalid window

Now removing the Null object from the group, therefore not duplicating it helped, and the render finally started, but now the dupligroup objects don't appear in the final image. Is this a bug, should I wait for 4.1.4. to become available, or should this work and is this just another case of the error being located somewhere between the keyboard and chair of my workspace?

Thanks very much in advance!

2017-03-31, 10:19:21
Reply #40

novena

  • Active Users
  • **
  • Posts: 30
    • View Profile
    • my online portfolio
Can you please tell me your export directory?

Victor I see yours is in c:\Program Files,  this is typically bad and Windows 8+ will cause issues with that.

Victor and burnin

4.1.4 fixes the failing to export, burnin thanks for providing the .blend files that reproduce the problem it helps immensely!

Hey Glen,

im in win 7, would it help to locate my export directory in an external hard drive, or just relocate to somewhere else in c:\  ?

I downloaded the exporter latest version, but I got the 4.1.3, have you released 4.1.4 yet?

would it help to provide you the .blend files to solve problems?

thanks again
Victor

2017-03-31, 23:21:49
Reply #41

blanchg

  • Moderator
  • Active Users
  • ***
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
Ah sorry I had a small issue pushing 4.1.4 there is a 4.1.5 release that fixes it.

If that doesn't help then providing a small .Blend is the fastest way for me to get a fix.

Thanks

2017-04-01, 00:01:14
Reply #42

novena

  • Active Users
  • **
  • Posts: 30
    • View Profile
    • my online portfolio
Ah sorry I had a small issue pushing 4.1.4 there is a 4.1.5 release that fixes it.

If that doesn't help then providing a small .Blend is the fastest way for me to get a fix.

Thanks

you are awesome Glen! 4.1.5 works like a charm! thanks a lot

best regards
Victor

2017-04-03, 11:17:38
Reply #43

novena

  • Active Users
  • **
  • Posts: 30
    • View Profile
    • my online portfolio
hello guys here comes a couple of test images using particles systems to scatter the vegetation... some textures sucks but hey it is just a test ;)

best
Victor

2017-04-03, 11:25:55
Reply #44

lasse1309

  • Active Users
  • **
  • Posts: 70
    • View Profile
looks like the scattering issue is solved :D
awesome, guys!
L