Menu

No output files when rendering files which have linked assets only JPG' file with 0 kb is produced

Support
harsh
2016-09-17
2018-04-18
1 2 > >> (Page 1 of 2)
  • harsh

    harsh - 2016-09-17

    Hi,
    First of all thanks for making such a wonderful software.

    There seems to be a problem when i render the .blend file which has a scene with linked assets the rendering process completes taking time to render frames and in the end shows that the process is complete but a file with .jpg' extension is created with zero kb file size as an output. please help

     
  • Jafix

    Jafix - 2016-10-05

    Hey, in the "getting started" document i saw the following: "In Blender, get your blend file EXACTLY like you want it, as if you were about to render it in the GUI. Make sure all your project files are packed in the blend file and save."

    To archive this i found http://blender.stackexchange.com/a/45841/11217 (In blender: Hit space - type "Pack Blender Libraries" - hit enter - save)

    Perhaps it helps, hope so. :)

     
  • Jafix

    Jafix - 2016-10-06

    Ok, now i got the same issue. I'm sorry but I think my suggestion dosen't work... Does anyone else have an other idea / solution?

     
  • Jafix

    Jafix - 2016-10-06

    OK, found it! You need to use blender (for linux) in a version of 2.76 max. The error (zero size images and a ' after the file suffix) occurs from blender version 2.77 upwards.

     
  • Daniel Petersen

    Daniel Petersen - 2016-10-06

    Hey guys/gals, I'm the developer. Sorry this is happening; This may be due to a change in the latest blender version's stdout output vs what Loki is expecting.

    This project isn't high on my priority list right now, but if anyone has basic programming skills, it should be a very easy fix, so if any of you want to dive into a little Java and send me the fixed file, I'll happily push a new version onto SF. Actually ,I think this guy has already found the fix, see here:

    https://blenderartists.org/forum/showthread.php?353911-Loki-Render-0-7-0-released!&p=3071082&viewfull=1#post3071082

    If you want to verify that his fix works, and tell me which files were modified, I can take a look.

     
  • Jafix

    Jafix - 2016-10-07

    Thanks Daniel for the hint...

    My last Java contact was during my studies 10years+ ago - but i tried to implement / fix it.
    ( ...forgive them because they don't know what they are doing... :) )
    You can find the change (1-liner) here: https://git.greth.me/Blender/loki-render/commit/03e3f8034d9f06d3280f0ffd0a4edf419d785889

    For all the others: I compiled a jar file with this fix - download it here: https://git.greth.me/Blender/loki-render/raw/4b0f11df81159911958ba836862ccc136018d92d/loki/dist/loki3.jar

    For me it works with the actual blender (v2.78)

    Update:
    Tried now a more complex scene in a "Loki-Network" with Win10 (Master+Grunt) and Ubuntu (Grunts) machines and my fixed jar file - and what should i say: It really works! :) :) :)

     

    Last edit: Jafix 2016-10-07
    • Daniel Petersen

      Daniel Petersen - 2016-11-21

      Awesome! Good gravy I'm slow on this; just moved so things are crazy but I
      look at this eventually and push it into the main release if it looks good.

      On Fri, Oct 7, 2016 at 2:27 AM, Jafix jafix@users.sf.net wrote:

      Thanks Daniel for the hint...
      My last Java contact was during my studies 10years+ ago - but i tried to
      implement / fix it.
      ( ...forgive them because they don't know what they are doing... :) )
      You can find the change (1-liner) here: https://git.greth.me/Blender/
      loki-render/commit/03e3f8034d9f06d3280f0ffd0a4edf419d785889

      For all the others: I compiled a jar file with this fix - download it
      here: https://git.greth.me/Blender/loki-render/raw/
      4b0f11df81159911958ba836862ccc136018d92d/loki/dist/loki3.jar

      For me it works with the actual blender (v2.78)

      No output files when rendering files which have linked assets only JPG'
      file with 0 kb is produced
      https://sourceforge.net/p/loki-render/discussion/support/thread/402e7356/?limit=25#d39a


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/loki-render/discussion/support/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
      • Mike

        Mike - 2017-07-14

        I came here looking for this very fix and it seems that patched version is no longer available for download. I have some java experience so I may be able to simply fork it for you until you pull the fix in (big maybe lol).

        But in the meantime might I suggest it may be more "future proof" to use command line options to render the frame to a temporary file, then transfer that temporary file directly, avoiding Stdout altogether.

        EDIT: Whoops, thought we were on github. I have no idea how to fork here, or if it's allowed.

         

        Last edit: Mike 2017-07-14
        • Mike

          Mike - 2017-07-16

          Update: I downloaded the code and added my own fix. I have just emailed the original author Daniel in the hopes of getting his blessing to fork the fix over to github, so everyone can enjoy this still-great piece of software. Hopefully you're still around, Daniel !

           
  • raven

    raven - 2017-04-16

    hi..im a new user of loki..after the latter fix the naming problem is gone and if we renders simple files..it will work but the images goes to black again if we try to do a texture packed files ..also packed into blend files so no issue of missing texture here.any solution to this?thx..

     
  • foodi

    foodi - 2018-04-16

    I'm using the updated Loki Render, output files are coming out fine. Also, libraries and textures are all packed into my .blend file.

    Everything works as expected, EXCEPT, textures appear to be missing in the rendered output for linked assets. Packing the textures in the linked .blend file doesn't help.

    So, to be clear, in the master .blend, i've packed textures and libraries. In the linked .blend, i've also packed libraries and textures. The rendered result in Loki shows the linked asset as expected, except with missing textures.

    Short of making the linked asset local, is there a fix for this?

     
  • Rodney Wild

    Rodney Wild - 2018-04-16

    Sorry which one Hafiz, the one that I posted? Can you link the textures instead of packing them and see if that works? Also can you post a copy of the log file that is on the master from the frame that is rendered. Thanx.

     

    Last edit: Rodney Wild 2018-04-16
  • foodi

    foodi - 2018-04-18

    I'm using loki3.jar, the one posted by jafix

    I'll upload the log file for you ASAP.

     
  • foodi

    foodi - 2018-04-18

    I tried loki-render-R0.7.3.014. I'm getting the same result: textures in the linked asset are missing.

    I'm seeing the new folder structure, but bizarrely, there is no log file being outputted in this new version.

    A file called loki.lok.0 appears in the .loki folder, but it's an empty 0kb file.

     
  • Rodney Wild

    Rodney Wild - 2018-04-18

    I am talking about the frame render log, not the loki render log. If you right click on the job and select details you will see the job details window, If you then click on a frame in the right hand pane you will see frame render log that should look something like:

    found bundled python: C:\Program Files\Blender Foundation\Blender\2.79\python
    Read blend: C:\Users\rodney.wild.CSMG.loki\grunt\fileCache\Blender2-splash279\splash279\splash279.blend
    Info: Read library: 'C:\Users\rodney.wild.CSMG.loki\grunt\fileCache\Blender2-splash279\splash279\lib\props\hairdryer.blend', '//lib/props/hairdryer.blend', parent '<direct>'
    Info: Read library: 'C:\Users\rodney.wild.CSMG.loki\grunt\fileCache\Blender2-splash279\splash279\lib\props\barbershop_pole.blend', '//lib/props/barbershop_pole.blend', parent '<direct>'
    Info: Read library: 'C:\Users\rodney.wild.CSMG.loki\grunt\fileCache\Blender2-splash279\splash279\tools\camera_rig.blend', '//tools/camera_rig.blend', parent '<direct>'
    Info: Read library: 'C:\Users\rodney.wild.CSMG.loki\grunt\fileCache\Blender2-splash279\splash279\lib\chars\agent.blend', '//lib/chars/agent.blend', parent '<direct>'
    Info: Read library: 'C:\Users\rodney.wild.CSMG.loki\grunt\fileCache\Blender2-splash279\splash279\lib\nodes\nodes_shaders.blend', '//lib/nodes/nodes_shaders.blend', parent '<direct>'
    Info: Read library: 'C:\Users\rodney.wild.CSMG.loki\grunt\fileCache\Blender2-splash279\splash279\lib\chars\pigeon.blend', '//lib/chars/pigeon.blend', parent '<direct>'
    Dependency cycle detected:
    RIG-hairdryer depends on hairdryer_proxy through Proxy.
    hairdryer_proxy depends on RIG-hairdryer through Driver.

    This will tell you a lot about what happend during the render cycle for that frame. If somethign did not render for some reason you will more than likly see it here. That is what I am looking for to see what happend as to why something did not render.

    Rod

     
  • foodi

    foodi - 2018-04-18

    Read prefs: C:\Users\fouadhafiz\AppData\Roaming\Blender Foundation\Blender\2.79\config\userpref.blend
    found bundled python: C:\Program Files\Blender Foundation\Blender\2.79\python
    Read blend: C:\Users\fouadhafiz.loki\grunt\fileCache\Apartment_10_kuri.blend
    Info: Read packed library: '//KuriOnly_02.blend', parent '<direct>'
    Fra:1 Mem:173.99M (0.00M, Peak 245.82M) | Time:00:00.23 | Mem:0.00M, Peak:0.00M | apt, KuriAndDock | Synchronizing object | Camera Parent
    Fra:1 Mem:173.99M (0.00M, Peak 245.82M) | Time:00:00.23 | Mem:0.00M, Peak:0.00M | apt, KuriAndDock | Synchronizing object | Camera

    ...

    Fra:1 Mem:173.99M (0.00M, Peak 245.82M) | Time:00:00.23 | Mem:0.00M, Peak:0.00M | apt,
    Fra:1 Mem:247.96M (0.00M, Peak 258.38M) | Time:00:00.86 | Mem:0.00M, Peak:0.00M | apt, KuriAndDock | Synchronizing object | Lamp house
    Fra:1 Mem:247.96M (0.00M, Peak 258.38M) | Time:00:00.86 | Mem:0.00M, Peak:0.00M | apt, KuriAndDock | Initializing
    Fra:1 Mem:247.96M (0.00M, Peak 258.38M) | Time:00:00.86 | Mem:0.00M, Peak:0.00M | apt, KuriAndDock | Loading render kernels (may take a few minutes the first time)
    Fra:1 Mem:247.96M (0.00M, Peak 258.38M) | Time:00:00.87 | Mem:0.00M, Peak:0.00M | apt, KuriAndDock | Waiting for render to start
    Fra:1 Mem:247.96M (0.00M, Peak 258.38M) | Time:00:00.87 | Mem:0.00M, Peak:0.00M | apt, KuriAndDock | Updating Scene
    Fra:1 Mem:247.96M (0.00M, Peak 258.38M) | Time:00:00.87 | Mem:0.00M, Peak:0.00M | apt, KuriAndDock | Updating Shaders
    Fra:1 Mem:262.93M (0.00M, Peak 268.62M) | Time:00:00.93 | Mem:0.01M, Peak:0.01M | apt, KuriAndDock | Updating Background
    Fra:1 Mem:262.93M (0.00M, Peak 268.62M) | Time:00:00.93 | Mem:0.01M, Peak:0.01M | apt, KuriAndDock | Updating Camera
    Fra:1 Mem:262.93M (0.00M, Peak 268.62M) | Time:00:00.93 | Mem:0.01M, Peak:0.01M | apt, KuriAndDock | Updating Meshes Flags
    Fra:1 Mem:262.93M (0.00M, Peak 268.62M) | Time:00:00.93 | Mem:0.01M, Peak:0.01M | apt, KuriAndDock | Updating Objects
    Fra:1 Mem:262.93M (0.00M, Peak 268.62M) | Time:00:00.93 | Mem:0.01M, Peak:0.01M | apt, KuriAndDock | Updating Objects | Copying Transformations to device
    Fra:1 Mem:262.96M (0.00M, Peak 268.62M) | Time:00:00.94 | Mem:0.04M, Peak:0.04M | apt, KuriAndDock | Updating Objects | Applying Static Transformations
    Fra:1 Mem:262.96M (0.00M, Peak 268.62M) | Time:00:00.94 | Mem:0.04M, Peak:0.04M | apt, KuriAndDock | Updating Meshes
    Fra:1 Mem:279.69M (0.00M, Peak 279.69M) | Time:00:00.97 | Mem:0.04M, Peak:0.04M | apt, KuriAndDock | Updating Mesh | Computing attributes
    Fra:1 Mem:300.96M (0.00M, Peak 300.96M) | Time:00:00.98 | Mem:0.09M, Peak:0.09M | apt, KuriAndDock | Updating Mesh | Copying Attributes to device
    Fra:1 Mem:300.93M (0.00M, Peak 322.14M) | Time:00:01.00 | Mem:21.27M, Peak:21.27M | apt, KuriAndDock | Updating Scene BVH | Building
    Fra:1 Mem:300.93M (0.00M, Peak 322.14M) | Time:00:01.00 | Mem:21.27M, Peak:21.27M | apt, KuriAndDock | Updating Scene BVH | Building BVH
    Fra:1 Mem:363.66M (0.00M, Peak 363.66M) | Time:00:01.36 | Mem:21.27M, Peak:21.27M | apt, KuriAndDock | Updating Scene BVH | Building BVH 6%, duplicates 0%
    Fra:1 Mem:363.66M (0.00M, Peak 363.66M) | Time:00:01.71 | Mem:21.27M, Peak:21.27M | apt, KuriAndDock | Updating Scene BVH | Building BVH 35%, duplicates 0%
    Fra:1 Mem:363.66M (0.00M, Peak 363.66M) | Time:00:01.96 | Mem:21.27M, Peak:21.27M | apt, KuriAndDock | Updating Scene BVH | Building BVH 88%, duplicates 0%
    Fra:1 Mem:363.66M (0.00M, Peak 363.66M) | Time:00:02.00 | Mem:21.27M, Peak:21.27M | apt, KuriAndDock | Updating Scene BVH | Packing BVH triangles and strands
    Fra:1 Mem:422.22M (0.00M, Peak 422.22M) | Time:00:02.04 | Mem:21.27M, Peak:21.27M | apt, KuriAndDock | Updating Scene BVH | Packing BVH nodes
    Fra:1 Mem:388.62M (0.00M, Peak 438.81M) | Time:00:02.11 | Mem:21.27M, Peak:21.27M | apt, KuriAndDock | Updating Scene BVH | Copying BVH to device
    Fra:1 Mem:392.80M (0.00M, Peak 438.81M) | Time:00:02.14 | Mem:108.97M, Peak:108.97M | apt, KuriAndDock | Updating Mesh | Computing normals
    Fra:1 Mem:435.07M (0.00M, Peak 438.81M) | Time:00:02.16 | Mem:108.97M, Peak:108.97M | apt, KuriAndDock | Updating Mesh | Copying Mesh to device
    Fra:1 Mem:430.88M (0.00M, Peak 438.81M) | Time:00:02.18 | Mem:151.23M, Peak:151.23M | apt, KuriAndDock | Updating Objects Flags

    Fra:1 Mem:430.88M (0.00M, Peak 438.81M) | Time:00:02.18 | Mem:151.23M, Peak:151.23M | apt, KuriAndDock | Updating Images
    Fra:1 Mem:430.88M (0.00M, Peak 438.81M) | Time:00:02.18 | Mem:151.23M, Peak:151.23M | apt, KuriAndDock | Updating Images | Loading slit.png@0
    Fra:1 Mem:430.88M (0.00M, Peak 438.81M) | Time:00:02.18 | Mem:151.23M, Peak:151.23M | apt, KuriAndDock | Updating Images | Loading Label.png@0
    Fra:1 Mem:431.26M (0.00M, Peak 438.81M) | Time:00:02.18 | Mem:151.23M, Peak:151.23M | apt, KuriAndDock | Updating Images | Loading power switch.png@0

    Fra:1 Mem:430.84M (0.00M, Peak 459.71M) | Time:00:02.19 | Mem:165.64M, Peak:165.64M | apt, KuriAndDock | Updating Camera Volume
    Fra:1 Mem:430.84M (0.00M, Peak 459.71M) | Time:00:02.19 | Mem:165.64M, Peak:165.64M | apt, KuriAndDock | Updating Hair Systems
    Fra:1 Mem:430.84M (0.00M, Peak 459.71M) | Time:00:02.19 | Mem:165.64M, Peak:165.64M | apt, KuriAndDock | Updating Hair settings | Copying Hair settings to device
    Fra:1 Mem:430.84M (0.00M, Peak 459.71M) | Time:00:02.19 | Mem:165.64M, Peak:165.64M | apt, KuriAndDock | Updating Lookup Tables
    Fra:1 Mem:430.84M (0.00M, Peak 459.71M) | Time:00:02.19 | Mem:165.89M, Peak:165.89M | apt, KuriAndDock | Updating Lights
    Fra:1 Mem:430.84M (0.00M, Peak 459.71M) | Time:00:02.19 | Mem:165.89M, Peak:165.89M | apt, KuriAndDock | Updating Lights | Computing distribution
    Fra:1 Mem:430.90M (0.00M, Peak 459.71M) | Time:00:02.19 | Mem:165.96M, Peak:165.96M | apt, KuriAndDock | Updating Particle Systems
    Fra:1 Mem:430.90M (0.00M, Peak 459.71M) | Time:00:02.19 | Mem:165.96M, Peak:165.96M | apt, KuriAndDock | Updating Particle Systems | Copying Particles to device
    Fra:1 Mem:430.90M (0.00M, Peak 459.71M) | Time:00:02.19 | Mem:165.96M, Peak:165.96M | apt, KuriAndDock | Updating Integrator
    Fra:1 Mem:430.93M (0.00M, Peak 459.71M) | Time:00:02.19 | Mem:165.99M, Peak:165.99M | apt, KuriAndDock | Updating Film
    Fra:1 Mem:430.94M (0.00M, Peak 459.71M) | Time:00:02.19 | Mem:165.99M, Peak:165.99M | apt, KuriAndDock | Updating Lookup Tables
    Fra:1 Mem:430.94M (0.00M, Peak 459.71M) | Time:00:02.19 | Mem:165.99M, Peak:165.99M | apt, KuriAndDock | Updating Baking
    Fra:1 Mem:430.94M (0.00M, Peak 459.71M) | Time:00:02.19 | Mem:165.99M, Peak:165.99M | apt, KuriAndDock | Updating Device | Writing constant memory
    Fra:1 Mem:430.94M (0.00M, Peak 459.71M) | Time:00:02.19 | Mem:165.99M, Peak:165.99M | apt, KuriAndDock | Path Tracing Tile 0/15, Sample 0/256, Denoised 0 tiles
    Fra:1 Mem:439.19M (0.00M, Peak 459.71M) | Time:00:03.20 | Remaining:00:34.27 | Mem:174.24M, Peak:174.24M | apt, KuriAndDock | Path Tracing Tile 0/15, Sample 73/256, Denoised 0 tiles
    Fra:1 Mem:439.19M (0.00M, Peak 459.71M) | Time:00:04.21 | Remaining:00:32.55 | Mem:174.24M, Peak:174.24M | apt, KuriAndDock | Path Tracing Tile 0/15, Sample 149/256, Denoised 0 tiles

    ...

    Fra:1 Mem:479.34M (0.00M, Peak 483.01M) | Time:00:19.70 | Remaining:00:00.04 | Mem:214.39M, Peak:577.04M | apt, KuriAndDock | Path Tracing Tile 14/15, Sample 256/256, Denoised 11 tiles
    Fra:1 Mem:479.49M (0.00M, Peak 483.01M) | Time:00:19.72 | Remaining:00:00.01 | Mem:214.54M, Peak:577.04M | apt, KuriAndDock | Path Tracing Tile 15/15, Denoised 11 tiles
    Fra:1 Mem:471.24M (0.00M, Peak 483.01M) | Time:00:19.88 | Remaining:00:00.00 | Mem:206.29M, Peak:577.04M | apt, KuriAndDock | Path Tracing Tile 15/15, Denoised 12 tiles
    Fra:1 Mem:462.83M (0.00M, Peak 483.01M) | Time:00:19.90 | Remaining:00:00.00 | Mem:197.88M, Peak:577.04M | apt, KuriAndDock | Path Tracing Tile 15/15, Denoised 13 tiles
    Fra:1 Mem:447.04M (0.00M, Peak 483.01M) | Time:00:20.05 | Remaining:00:00.00 | Mem:182.09M, Peak:577.04M | apt, KuriAndDock | Path Tracing Tile 15/15, Denoised 14 tiles
    Fra:1 Mem:430.94M (0.00M, Peak 483.01M) | Time:00:20.07 | Mem:165.99M, Peak:577.04M | apt, KuriAndDock | Path Tracing Tile 15/15, Denoised 15 tiles
    Fra:1 Mem:430.94M (0.00M, Peak 483.01M) | Time:00:20.07 | Mem:165.99M, Peak:577.04M | apt, KuriAndDock | Finished
    Fra:1 Mem:241.88M (0.00M, Peak 483.01M) | Time:00:20.13 | Sce: apt Ve:0 Fa:0 La:0
    Saved: 'C:\Users\fouadhafiz.loki\grunt\renderFolder\0001.png'
    Time: 00:21.17 (Saving: 00:01.04)

    addon not found: 'yavne-master'
    addon not found: 'nothing-is-3D-tools'
    No addon key configuration space found, so no custom hotkeys added.

    Blender quit

     

    Last edit: foodi 2018-04-18
  • foodi

    foodi - 2018-04-18

    Sorry for the massive log. The texture which is failing to load is called PowerOutlet.png. It doesn't seem to be mentioned in the log.

     
  • Rodney Wild

    Rodney Wild - 2018-04-18

    Is this a texture that is packed into the .blend file or a linked one? I would note that two plugins are missing although it does not look like they are needed for rendering and should not be an issue.

     

    Last edit: Rodney Wild 2018-04-18
  • foodi

    foodi - 2018-04-18

    it's packed into the KuriOnly_02.blend file.

    edit: Yes, those two plugins are unimportant.

     

    Last edit: foodi 2018-04-18
  • foodi

    foodi - 2018-04-18

    Interesting. Some textures are loading, but not all of them..

     
  • foodi

    foodi - 2018-04-18

    Anyway, if i open up the Apartment_10_kuri.blend file, and hit render frame, all textures are present. But not when Loki renders the same frame.

    If i've already packed textures into a .blend file, how do i unpack them?

     

    Last edit: foodi 2018-04-18
  • Rodney Wild

    Rodney Wild - 2018-04-18

    I would suggest keeping the assest out of the .blend file if possible and then create a zip file of the project and all its assets using relative paths. Linked blend files was why we created the ability to submit ziped jobs.

    To unpack a .blend file, open up blender, load the project, then go to file, external data, and select "unpack all into files"

     
  • foodi

    foodi - 2018-04-18

    Thanks for your help. I'll try that!

     
  • foodi

    foodi - 2018-04-18

    is there a tutorial online on how to submit zipped jobs to loki render?

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.