p2or/blender-loom

Octane - Batch Queue Blender 3.6.1

protovu opened this issue · 5 comments

I am a Blender/Octane user, and I Love Loom! It has been working great in 2.9x.
I am doing my My first render with 3.6.1 seems to be going, but initially I tried doing a Batch.
For the first few trials of Batch, I was having failures. Now....all of the sudden, Batch is working?? Or so good so far for the first file in the Batch...fingers crossed.
Thank you for this great Addon!

If helpful, I was seeing the following for the fails:

image
and this:


bpy.context.scene.frame_start = 653
Added CADHEARTregB3v - Copxxy.blend to the list
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 2142, in execute
    self.display_popup(context)
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 2093, in display_popup
    bpy.ops.loom.batch_render_dialog('INVOKE_DEFAULT')
  File "C:\Program Files\blender 3-2.17\BlenderOctane\3.6\scripts\modules\bpy\ops.py", line 111, in __call__
    ret = _op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)
RuntimeError: Error: Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Location: C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py:1823
"CADHEARTregB3v - Copxxy.blend" removed from list
Saved "CADHEARTregB3v - Copxxy.blend"
Added CADHEARTregB3v - Copxxy.blend to the list
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 2142, in execute
    self.display_popup(context)
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 2093, in display_popup
    bpy.ops.loom.batch_render_dialog('INVOKE_DEFAULT')
  File "C:\Program Files\blender 3-2.17\BlenderOctane\3.6\scripts\modules\bpy\ops.py", line 111, in __call__
    ret = _op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)
RuntimeError: Error: Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Location: C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py:1823
bpy.context.space_data.system_folders_active = 1
Added TransAortic2023Header.blend to the list
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 2142, in execute
    self.display_popup(context)
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 2093, in display_popup
    bpy.ops.loom.batch_render_dialog('INVOKE_DEFAULT')
  File "C:\Program Files\blender 3-2.17\BlenderOctane\3.6\scripts\modules\bpy\ops.py", line 111, in __call__
    ret = _op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)
RuntimeError: Error: Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Location: C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py:1823
bpy.ops.loom.batch_render_dialog(render_preset="")
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 1892, in draw
    if len(render_preset_callback(scn, context)) > 1:
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\loom.py", line 773, in render_preset_callback
    for f in os.listdir(context.preferences.addons[__name__].preferences.render_presets_path):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\User\\AppData\\Roaming\\Blender Foundation\\Blender\\3.6\\scripts\\presets\\loom\\render_presets'
p2or commented

Hi @protovu,

thanks for your report. Have you already tried to start Blender as administrator, as mentioned in my other answer to your previous issue? Please see: #59 (comment)

Please keep me posted and let me know if this helps.

Cheers,
Christian

Hi Christian,
Well, the Batch seemed work correctly despite the initial snags. Apparently, both Blender and Octane were not "running as admin".
A test this morning shows that following an initial quick cmd page which shows
image
Loom does actually proceed.
Upon "running as admin." the same "Warn" page presents, but again, things seem to work.
Thank you for the quick response again,
Rick

p2or commented

Hi @protovu,

great!

Well, the Batch seemed work correctly despite the initial snags.

Based on the provided errors, I guess you forgot to restart Blender. As mentioned in the documentation, you have to save your user preferences and restart Blender after the installation because the add-on is not yet activated at this point for the new instance of Blender which called via command line.

Since this issue has already been raised for the second time, I will try to add a warning in the next few days that Blender needs to be restarted.

A test this morning shows that following an initial quick cmd page which shows

These warnings come from Blender itself, there is nothing I can do. If you do a regular command line render, they will show up too.

Upon "running as admin." the same "Warn" page presents, but again, things seem to work.

Does this mean that Loom does the work without admin rights? Good to know, thanks.

Thank you for the quick response again

No problem, glad I could help.

Cheers,
Christian

Thank you, Christian. I thought I had restarted Blender. In fact, I rebooted the computer. Regardless, so glad things are working with Loom. It should be included with Blender, in my opinion.
Best regards,
Rick

p2or commented

Hi @protovu,

FYI: as of the latest commits you don't necessarily have to restart Blender after installing Loom anymore (not yet completely sure for all possible cases though).

Cheers,
Christian