Could not save some of the shelf elements to their definition files

   11479   19   6
User Avatar
Member
20 posts
Joined: Nov. 2015
Offline
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


User Avatar
Member
7733 posts
Joined: Sept. 2011
Offline
Do you have write permissions to your home folder?
User Avatar
Member
174 posts
Joined: March 2014
Offline
Hi Andy,
I've the same problem and I do have the right permission sets obviously. Do you solved your problem ?
Edited by NNois - July 7, 2017 04:15:36
User Avatar
Member
13 posts
Joined: March 2016
Offline
I am having the same problem and I cannot fix it. SideFX please direct me in the right direction.
User Avatar
Member
129 posts
Joined: June 2016
Offline
I had the same problem on Windows and solved it running just one time Houdini as administrator, using right mouse button and using “run as administrator” command
Edited by madrenderman - Aug. 5, 2017 03:31:32
User Avatar
Member
13 posts
Joined: March 2016
Offline
@ Madrenderman I have tried that also, but it has not worked for me. I don't know what's up.
User Avatar
Member
13 posts
Joined: March 2016
Offline
xmlNewTextWriterFilename : cannot open uri
is another error message I get. I wonder should I reinstall Houdini. I don't have problems with any other programs but Houdini.
User Avatar
Member
11 posts
Joined: March 2016
Offline
Old thread, but stumbled upon the same problem and found a fix. Disable Windows UAC. Maybe someone needs this sometime.
User Avatar
Member
459 posts
Joined: Oct. 2011
Offline
I tried to disable UAC but i keep getting this error anyway.
Anybody figured out a solution for this other than switching to linux?

-b
http://www.racecar.no [www.racecar.no]
User Avatar
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
User Avatar
Member
459 posts
Joined: Oct. 2011
Offline
Hey! This works.
Thanks for your effort @Marek.

Houdini actually modifies this file when i add shelve tabs. That cant be right.

-b
Edited by bonsak - Aug. 28, 2018 16:43:13
http://www.racecar.no [www.racecar.no]
User Avatar
Member
7733 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.
User Avatar
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
http://www.racecar.no [www.racecar.no]
User Avatar
Member
13 posts
Joined: Nov. 2015
Offline
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.
User Avatar
Member
642 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
Edited by Mark Wallman - July 1, 2020 04:37:38

Attachments:
0060_UHConfig_01.json (760 bytes)

User Avatar
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,
User Avatar
Member
13 posts
Joined: April 2019
Offline
pirator
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.
Also fixed for me, THANKS! this has been bugging me for a year at least.
User Avatar
Member
2 posts
Joined: June 2021
Offline
I've got a really odd issue, I've tried this

paranoidx
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,

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
User Avatar
Member
1 posts
Joined: Nov. 2021
Offline
dedz
I've got a really odd issue, I've tried this

paranoidx
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,

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 !
User Avatar
Member
20 posts
Joined: Feb. 2016
Offline
tcourtois3
dedz
I've got a really odd issue, I've tried this

paranoidx
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,

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
  • Quick Links