When I create new shelf first time, houdini give me this error
and in Houdini Console, it display
I/O error : Permission denied
error : xmlNewTextWriterFilename : cannot open uri
what is the problem? and how can I fix that, thx
Could not save some of the shelf elements to their definition files
11612 19 6- andyvfx
- Member
- 20 posts
- Joined: Nov. 2015
- Offline
- jsmack
- Member
- 7809 posts
- Joined: Sept. 2011
- Offline
- NNois
- Member
- 174 posts
- Joined: March 2014
- Offline
- Alexander Bailey
- Member
- 13 posts
- Joined: March 2016
- Offline
- madrenderman
- Member
- 129 posts
- Joined: June 2016
- Offline
- Alexander Bailey
- Member
- 13 posts
- Joined: March 2016
- Offline
- Alexander Bailey
- Member
- 13 posts
- Joined: March 2016
- Offline
- eglaubauf
- Member
- 11 posts
- Joined: March 2016
- Offline
- bonsak
- Member
- 459 posts
- Joined: Oct. 2011
- Offline
- Marek_Netzel
- Member
- 6 posts
- Joined: Oct. 2008
- Offline
Hey Guys, I was struggling with the same problem and I tried few times to find the reason. The walk around of course as suggested by Madrenderman is to run Houdini as Administrator just to make a shelf or remove it and I was doing the same.
Lowering UAC works but it is not a quite secure advice, especially in some more organised facilities.
Today I finally got completely annoyed by it and started digging. With the help of https://docs.microsoft.com/en-gb/sysinternals/downloads/procmon [docs.microsoft.com] I quickly found what is going on…
So the problem lies in Houdini trying to access this file:
“C:\Program Files\Side Effects Software\Houdini 16.5.496\houdini\toolbar\ShelfDefinitions.shelf”
and to write something to it or create one. I doubt it actually do something there but the requests are clearly there whenever you want to mess around with you shelf.
So just change permissions of this file and it will work as it should.
Cheers!
Marek
Lowering UAC works but it is not a quite secure advice, especially in some more organised facilities.
Today I finally got completely annoyed by it and started digging. With the help of https://docs.microsoft.com/en-gb/sysinternals/downloads/procmon [docs.microsoft.com] I quickly found what is going on…
So the problem lies in Houdini trying to access this file:
“C:\Program Files\Side Effects Software\Houdini 16.5.496\houdini\toolbar\ShelfDefinitions.shelf”
and to write something to it or create one. I doubt it actually do something there but the requests are clearly there whenever you want to mess around with you shelf.
So just change permissions of this file and it will work as it should.
Cheers!
Marek
- bonsak
- Member
- 459 posts
- Joined: Oct. 2011
- Offline
- jsmack
- Member
- 7809 posts
- Joined: Sept. 2011
- Offline
bonsak
Houdini actually modifies this file when i add shelve tabs. That cant be right.
Houdini never needs to write to program files. Disabling write protection/changing permissions may result in corrupting the program files.
Modified shelves go in your home directory. Giving write access to the install directory will cause modifications to be saved there instead and become permanent, but also lost when updating to a new version.
There is probably a problem with your home directory permissions or a software bug that is causing these errors in the first place.
Try deleting your home houdini folder and installing a more recent version of houdini.
- bonsak
- Member
- 459 posts
- Joined: Oct. 2011
- Offline
This is a win10 thing that a lot of people struggle with. Im pretty sure it has noting to do with H actually. I finally managed to fix this by uninstalling and reinstalling H for the Nth time. Have no idea what fixed it this time as ive tried this before. Permissions in my home dir is hunky dory but win10 still messes things up. What i find a little weird is that H wants to write to $HFS even if i havnt told it to. Kind of like a fallback when its not allowed to write to $HOME/documents …
-b
-b
- pirator
- Member
- 13 posts
- Joined: Nov. 2015
- Offline
- Mark Wallman
- Member
- 658 posts
- Joined: Aug. 2013
- Offline
Hi.
So the two things we do are:
-redirect Houdini prefs using windows Environment variables
Name: HOUDINI_USER_PREF_DIR
Value: C:\Docs\houdini__HVER__
-And then use packages to also redirect all the shelf out of the program folder with this package file. If you have a look at our file it should make sense. This means no screwing around with admin rights or anything else.
the package file lives here with us:
C:\Docs\houdini18.0\packages
Best Mark
So the two things we do are:
-redirect Houdini prefs using windows Environment variables
Name: HOUDINI_USER_PREF_DIR
Value: C:\Docs\houdini__HVER__
-And then use packages to also redirect all the shelf out of the program folder with this package file. If you have a look at our file it should make sense. This means no screwing around with admin rights or anything else.
the package file lives here with us:
C:\Docs\houdini18.0\packages
Best Mark
Edited by Mark Wallman - July 1, 2020 04:37:38
- paranoidx
- Member
- 31 posts
- Joined: Feb. 2018
- Offline
Piotr Stopniak
I think this solved it for me:
just copy the ShelfDefinitions.shelf from
C:\Program Files\Side Effects Software\Houdini 16.5.496\houdini\toolbar\ShelfDefinitions.shelf
to
C:\Users\USERNAME\Documents\houdini18.0\toolbar
..I assume this way your local one supersedes the system template.
This solved my problem. 18.5
Then I copied default.shelf from previous Houdini to this Toolbar folder, everything works just fine as before.
Thank you,
- matt_barker
- Member
- 13 posts
- Joined: April 2019
- Offline
piratorAlso fixed for me, THANKS! this has been bugging me for a year at least.
I think this solved it for me:
just copy the ShelfDefinitions.shelf from
C:\Program Files\Side Effects Software\Houdini 16.5.496\houdini\toolbar\ShelfDefinitions.shelf
to
C:\Users\USERNAME\Documents\houdini18.0\toolbar
..I assume this way your local one supersedes the system template.
- dedz
- Member
- 2 posts
- Joined: June 2021
- Offline
I've got a really odd issue, I've tried this
It was working for a bit but I like to switch Desktops between a custom one and the Solaris pre-made one, everything is fine when I'm in my default custom desktop but the second I switch to Solaris I get the same error, I've double checked the permissions on the Program Files dir & the Documents folder toolbar folder. Not sure where to go next. Do desktops modify the Houdini env variables?
19.5.604
Win 10 Pro Version 10.0.19045 Build 19045
paranoidxPiotr Stopniak
I think this solved it for me:
just copy the ShelfDefinitions.shelf from
C:\Program Files\Side Effects Software\Houdini 16.5.496\houdini\toolbar\ShelfDefinitions.shelf
to
C:\Users\USERNAME\Documents\houdini18.0\toolbar
..I assume this way your local one supersedes the system template.
This solved my problem. 18.5
Then I copied default.shelf from previous Houdini to this Toolbar folder, everything works just fine as before.
Thank you,
It was working for a bit but I like to switch Desktops between a custom one and the Solaris pre-made one, everything is fine when I'm in my default custom desktop but the second I switch to Solaris I get the same error, I've double checked the permissions on the Program Files dir & the Documents folder toolbar folder. Not sure where to go next. Do desktops modify the Houdini env variables?
19.5.604
Win 10 Pro Version 10.0.19045 Build 19045
- tcourtois3
- Member
- 1 posts
- Joined: Nov. 2021
- Offline
dedz
I've got a really odd issue, I've tried thisparanoidxPiotr Stopniak
I think this solved it for me:
just copy the ShelfDefinitions.shelf from
C:\Program Files\Side Effects Software\Houdini 16.5.496\houdini\toolbar\ShelfDefinitions.shelf
to
C:\Users\USERNAME\Documents\houdini18.0\toolbar
..I assume this way your local one supersedes the system template.
This solved my problem. 18.5
Then I copied default.shelf from previous Houdini to this Toolbar folder, everything works just fine as before.
Thank you,
It was working for a bit but I like to switch Desktops between a custom one and the Solaris pre-made one, everything is fine when I'm in my default custom desktop but the second I switch to Solaris I get the same error, I've double checked the permissions on the Program Files dir & the Documents folder toolbar folder. Not sure where to go next. Do desktops modify the Houdini env variables?
19.5.604
Win 10 Pro Version 10.0.19045 Build 19045
Hey, I'm currently solving the issue. I found that when I disable paths for arnold and redshift plugins in the .env file, by adding ## in front of each line, it resolve the issue.
Thanks everyone for helping !
- olivetty
- Member
- 20 posts
- Joined: Feb. 2016
- Offline
tcourtois3dedz
I've got a really odd issue, I've tried thisparanoidxPiotr Stopniak
I think this solved it for me:
just copy the ShelfDefinitions.shelf from
C:\Program Files\Side Effects Software\Houdini 16.5.496\houdini\toolbar\ShelfDefinitions.shelf
to
C:\Users\USERNAME\Documents\houdini18.0\toolbar
..I assume this way your local one supersedes the system template.
This solved my problem. 18.5
Then I copied default.shelf from previous Houdini to this Toolbar folder, everything works just fine as before.
Thank you,
It was working for a bit but I like to switch Desktops between a custom one and the Solaris pre-made one, everything is fine when I'm in my default custom desktop but the second I switch to Solaris I get the same error, I've double checked the permissions on the Program Files dir & the Documents folder toolbar folder. Not sure where to go next. Do desktops modify the Houdini env variables?
19.5.604
Win 10 Pro Version 10.0.19045 Build 19045
Hey, I'm currently solving the issue. I found that when I disable paths for arnold and redshift plugins in the .env file, by adding ## in front of each line, it resolve the issue.
Thanks everyone for helping !
Damn, this actually works, with the obvious downside that when I then enable them again, my defaults are gone...this is so fricking annoying, I want my sphere to be the POLYGON one and not the POLYGON MESH one....such a small thing but damn frustrating! One step closer to a solution though!
Mage level 2
www.headofoliver.com
www.headofoliver.com
-
- Quick Links