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

   3018   14   3
User Avatar
Member
16 posts
Joined: 11月 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
3371 posts
Joined: 9月 2011
Offline
Do you have write permissions to your home folder?
User Avatar
Member
173 posts
Joined: 3月 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 - 2017年7月7日 04:15:36
User Avatar
Member
13 posts
Joined: 3月 2016
Offline
I am having the same problem and I cannot fix it. SideFX please direct me in the right direction.
User Avatar
Member
117 posts
Joined: 6月 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 - 2017年8月5日 03:31:32
User Avatar
Member
13 posts
Joined: 3月 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: 3月 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
10 posts
Joined: 3月 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
445 posts
Joined: 10月 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
2 posts
Joined: 10月 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
445 posts
Joined: 10月 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 - 2018年8月28日 16:43:13
http://www.racecar.no [www.racecar.no]
User Avatar
Member
3371 posts
Joined: 9月 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
445 posts
Joined: 10月 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
3 posts
Joined: 11月 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
75 posts
Joined: 8月 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 - 2020年7月1日 04:37:38

Attachments:
0060_UHConfig_01.json (760 バイト)

  • Quick Links