hou.PermissionError - how to fix it?

   1467   2   1
User Avatar
Member
147 posts
Joined: Aug. 2014
Offline
Hi there,

every time I do/did a "black boxed asset" and I have a file cache or a Dop I/O I can't execute the save cache. Why?



Houdini returns that error and I can't understand how to fix it. If I used HDA works fine.


return _hou.node(path)
hou.PermissionError: You don't have permissions to access that node in a compiled HDA.


thanks
Mat
User Avatar
Member
1 posts
Joined: Feb. 2021
Offline
Hi,

This also happens if you are trying to write a file, but your path is a folder.

This can happen easily by mistake.

To defend against that, use:

import os
User Avatar
Member
147 posts
Joined: Aug. 2014
Offline
danielcharles
Hi,

This also happens if you are trying to write a file, but your path is a folder.

This can happen easily by mistake.

To defend against that, use:

import os


Thanks this error is with the filecache Sops and inside the geo path, I write a simple expression like "$HIP/geo/$OS/v001/$OS.$F4.bgeo.sc".

always that problem with that sops:

File Cache
File
DOP I/O
...

Why if I used the HDA it's working and when I create a black-box doesn't works?


Matteo
  • Quick Links