bbatch permission denied #194

Closed
opened 2024-01-08 07:52:34 +01:00 by Julio Cargnin Pereira · 3 comments

Hi Nick! I'm trying but getting an error:

cosmomidias@pop-os:~/blender-studio-pipeline/scripts/bbatch$ python3 -m bbatch /home/cosmomidias/Desktop/New\ Folder/ --purge --recursive --exec /home/cosmomidias/Downloads/blender-3.6.7-ACES/blender-3.6.7-stable+v36.cbd81f283d58-linux.x86_64-release/
Found: `/home/cosmomidias/Desktop/New Folder/untitled.blend`
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/cosmomidias/blender-studio-pipeline/scripts/bbatch/bbatch/__main__.py", line 288, in <module>
    main()
  File "/home/cosmomidias/blender-studio-pipeline/scripts/bbatch/bbatch/__main__.py", line 281, in main
    process = subprocess.Popen(cmd_list, shell=False)
  File "/usr/lib/python3.10/subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: '/home/cosmomidias/Downloads/blender-3.6.7-ACES/blender-3.6.7-stable+v36.cbd81f283d58-linux.x86_64-release'

I tried with sudo too... my version of blender is provided trough --exec. The bbatch is running directly from the folder.

Hi Nick! I'm trying but getting an error: ``` cosmomidias@pop-os:~/blender-studio-pipeline/scripts/bbatch$ python3 -m bbatch /home/cosmomidias/Desktop/New\ Folder/ --purge --recursive --exec /home/cosmomidias/Downloads/blender-3.6.7-ACES/blender-3.6.7-stable+v36.cbd81f283d58-linux.x86_64-release/ Found: `/home/cosmomidias/Desktop/New Folder/untitled.blend` Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/home/cosmomidias/blender-studio-pipeline/scripts/bbatch/bbatch/__main__.py", line 288, in <module> main() File "/home/cosmomidias/blender-studio-pipeline/scripts/bbatch/bbatch/__main__.py", line 281, in main process = subprocess.Popen(cmd_list, shell=False) File "/usr/lib/python3.10/subprocess.py", line 971, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) PermissionError: [Errno 13] Permission denied: '/home/cosmomidias/Downloads/blender-3.6.7-ACES/blender-3.6.7-stable+v36.cbd81f283d58-linux.x86_64-release' ``` I tried with sudo too... my version of blender is provided trough --exec. The bbatch is running directly from the folder.
Member

The executable path you linked is to the Blender directory

/home/cosmomidias/Downloads/blender-3.6.7-ACES/blender-3.6.7-stable+v36.cbd81f283d58-linux.x86_64-release/

You need to include the full path to the actual executable file

/home/cosmomidias/Downloads/blender-3.6.7-ACES/blender-3.6.7-stable+v36.cbd81f283d58-linux.x86_64-release/blender for example, please let me know if that resolves your issue.

The executable path you linked is to the Blender directory `/home/cosmomidias/Downloads/blender-3.6.7-ACES/blender-3.6.7-stable+v36.cbd81f283d58-linux.x86_64-release/` You need to include the full path to the actual executable file `/home/cosmomidias/Downloads/blender-3.6.7-ACES/blender-3.6.7-stable+v36.cbd81f283d58-linux.x86_64-release/blender` for example, please let me know if that resolves your issue.

Oh! It worked now! I missed that!
Thank you!

Oh! It worked now! I missed that! Thank you!
Member

Oh! It worked now! I missed that!
Thank you!

Glad your issue is resolved. Enjoy bbatch!

> Oh! It worked now! I missed that! > Thank you! Glad your issue is resolved. Enjoy bbatch!
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/blender-studio-tools#194
No description provided.