Announcement

Collapse
No announcement yet.

bug- error when rendering but second time sometimes work

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • bug- error when rendering but second time sometimes work

    Hello,
    I have encountered a bug in a few un-related files:
    the render doesn't work on the first time, there's an error reffering me to the log but when I render again, sometimes with a bit of camera shift it does work.

    Sometimes it will just crash.
    I tried to render parts: I copy-paste every single object in my model ( it's a heavy model: 30 mb) to another file and there it does work. but all the object together seem to cause a problem.

    I haven't assign any any v-ray textures yet and used every debugging tool there is and purged the model.

    the error log said:

    =========System Information=========
    platform = win32
    country = Israel
    language = Hebrew
    ====================================
    About to make our qapp
    after make qapp
    Made it after UIManager.initialize
    C:\ProgramData\ASGVIS\Python26\Lib\site-packages\Ft\Xml\InputSource.py:346: DeprecationWarning: functions overriding warnings.showwarning() must support the 'line' argument
    FtWarning, 2)
    FtWarning: Creation of InputSource without a URI
    Entering renderArchive
    About to start readArchive - C:\ProgramData/ASGVIS/VfS/current_skp.xml
    54.190000 seconds is how long it took to read C:\ProgramData/ASGVIS/VfS/current_skp.xml
    0.300000 seconds is how long it took us to correct the file paths for all external texture file references in the scene.
    (to ensure this process goes as quickly as possible, please be sure all references to external texture files are correct prior to rendering)
    Traceback (most recent call last):
    File "C:\ProgramData\ASGVIS\Python26\..\VfS\ASGVIS\vray plugin.py", line 215, in add_to_renderer
    vray_param = param.to_vray_param(renderer)
    File "C:\ProgramData\ASGVIS\Python26\..\VfS\ASGVIS\vray plugin.py", line 92, in to_vray_param
    return self.value.to_vray_param(self.name, renderer, final_gamma )
    File "C:\ProgramData\ASGVIS\Python26\..\VfS\ASGVIS\vray types.py", line 348, in to_vray_param
    return PyVRay.VUtils.DefStringParam(name, self.to_vray(renderer))
    TypeError: argument 2 of PyVRay.DefStringParam() has an invalid type

    Traceback (most recent call last):
    File "C:\ProgramData\ASGVIS\Python26\..\VfS\ASGVIS\vray render.py", line 328, in render
    self.addAssetsToRenderer( self )
    File "C:\ProgramData\ASGVIS\Python26\..\VfS\ASGVIS\vray render.py", line 102, in addAssetsToRenderer
    ref.plugin.add_to_renderer( self )
    File "C:\ProgramData\ASGVIS\Python26\..\VfS\ASGVIS\vray plugin.py", line 215, in add_to_renderer
    vray_param = param.to_vray_param(renderer)
    File "C:\ProgramData\ASGVIS\Python26\..\VfS\ASGVIS\vray plugin.py", line 92, in to_vray_param
    return self.value.to_vray_param(self.name, renderer, final_gamma )
    File "C:\ProgramData\ASGVIS\Python26\..\VfS\ASGVIS\vray types.py", line 348, in to_vray_param
    return PyVRay.VUtils.DefStringParam(name, self.to_vray(renderer))
    TypeError: argument 2 of PyVRay.DefStringParam() has an invalid type

    Traceback (most recent call last):
    File "C:\ProgramData\ASGVIS\Python26\..\VfS\ASGVIS\vray render.py", line 408, in renderArchive
    self.render()
    File "C:\ProgramData\ASGVIS\Python26\..\VfS\ASGVIS\vray render.py", line 328, in render
    self.addAssetsToRenderer( self )
    File "C:\ProgramData\ASGVIS\Python26\..\VfS\ASGVIS\vray render.py", line 102, in addAssetsToRenderer
    ref.plugin.add_to_renderer( self )
    File "C:\ProgramData\ASGVIS\Python26\..\VfS\ASGVIS\vray plugin.py", line 215, in add_to_renderer
    vray_param = param.to_vray_param(renderer)
    File "C:\ProgramData\ASGVIS\Python26\..\VfS\ASGVIS\vray plugin.py", line 92, in to_vray_param
    return self.value.to_vray_param(self.name, renderer, final_gamma )
    File "C:\ProgramData\ASGVIS\Python26\..\VfS\ASGVIS\vray types.py", line 348, in to_vray_param
    return PyVRay.VUtils.DefStringParam(name, self.to_vray(renderer))
    TypeError: argument 2 of PyVRay.DefStringParam() has an invalid type



    I would love any help- I can't seem to make it work

    btw- all the su textures are in English, I found that when written in Hebrew it doesn't show them and causes a bug.

  • #2
    Re: bug- error when rendering but second time sometimes work

    does the scene render if you enable "override materials" in the Global Switches section of your render options? If it does, then the issue is either with materials or textures. We have fixed a few of these types of issues in our latest beta if you would like to try it out, just head over here to sign up: http://forum.asgvis.com/index.php?topic=7679.0
    Best regards,
    Devin Kendig
    Developer

    Chaos Group

    Comment

    Working...
    X