Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blender jobs with linked cached cloth-sim objects #34

Open
aceman500 opened this issue Jun 30, 2018 · 4 comments
Open

blender jobs with linked cached cloth-sim objects #34

aceman500 opened this issue Jun 30, 2018 · 4 comments

Comments

@aceman500
Copy link

I have a blend scene with linked objects with cloth sim on them. The sim is done in the main scene file and the blend-cache is saved in the main scene file directioy . I packed the libraries tared up the blend file and the cache directory and submitted it to a work queue.
Now as we all know, for whatever stupid reason, blender likes to delete thees kind of cache files next time the scene is opened. The usual workaround is to set proper permissions on the cache directory. However brenda runs blender as root on the instances and the permissions are meaningless, so blender deletes the cache files and breaks the cloth sim. Cloth sim works fine on local sims.. Blender does not wish to delete thees cache files..
Any ideas for a workaround?

@tuttlen
Copy link

tuttlen commented Jul 4, 2018 via email

@aceman500
Copy link
Author

Yes, brenda is a collection of python scripts. I don't know yet how they function and my python is not so good, so I thought here would be a good place to ask. In addition I assume there is a reason it's run as root. Otherwise brenda is real cool and it runs flawlessly, The problem im having is not a brenda problem at all rather a problem with the way blender handles cached file linking which has been a known issue for quit a while now. My workaround is to just change the permissions so blender can't delete them and it works fine. But in the case of using brenda to kick off the jobs, that trick no longer works.

@aceman500
Copy link
Author

So at anyrate, I guess my basic question is: Can I run blender and the brenda scripts as a non-root user.
I have a nice scene and I finally get to user the power of AWS and this annoying issue cropped up.
Thanks for you help.

@jldonovan3
Copy link

Has someone figured out a workaround or a solution to this? I think I'm having a similar problem trying to render a scene with a smoke sim. I have my directory with my .vdb cache that's referenced in the .blend file, and I get this:

loadTile: No noise tile '/tmp/blender_rt5jh0k/noise.wavelets' found.
Generating new 3d noise tile size=128^3 
saveTile: Noise tile file '/tmp/blender_rt5jh0k/noise.wavelets' saved.
Generating new 3d noise done
Noise tile file '/tmp/blender_ET1Ps2/noise.wavelets' loaded.

Then nothing. The process eventually gets killed. Googling turned up a bunch of old threads on the Blender dev bug reporting pages, but nothing that helps my situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants