Only search projects.blender.org
Log In
New Account
Home
My Page
Projects
Blender 2.x BF release
Summary
Activity
Tracker
SCM
Files
Blender 2.6 Bug Tracker: Browse
[#25696] Netrender feedback fails
Date:
2011-01-18 05:25
Priority:
3
State:
Closed
Submitted by:
Wintch Analyzer (
wintch
)
Assigned to:
Martin Poirier (theeth)
Category:
Scripts
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
Summary:
Netrender feedback fails
Detailed description
With blender 2.56a (r34076) i have a message: "Attribute Error": "domain fluid settings" object has no attribute "path" when i render a frame with only 4 objects:
1 light sourse
1 box set to domain
1 box set to fluid inside domain box
1 camera
I already had done a bake and i get an image when rendering a scene with blender internal render.
Followup
Message
Date
: 2011-01-19 17:17
Sender
:
Ton Roosendaal
Insufficient data:
- ALWAYS attach a .blend file that shows the issue in the simplest possible way
- Mention OS version, and if you used the binary from blender.org
- What has this to do with "net render" ?
Date
: 2011-01-19 21:48
Sender
:
Wintch Analyzer
I apologize.
Os version is 64bit win7, blender 2.56a (r34076) is the official binary from this link:
http://www.blender.org/dl/http://download.blender.org/release//Blender2.56abeta/blender-2.56a-beta-windows64.zip
I attach the file but it needs bake before trying to render it.
The problem is with net render because the internal "blender render" does the render image but when set to "net render>Send current frame job" it fails showing this message: Domain fluid settings, object has no attribute "path". If something is wrong with the way animation or scene is done it must fail in both cases, no just with network render, this is why i think is a network render related bug.
Date
: 2011-01-19 21:58
Sender
:
Wintch Analyzer
I also attached two images. The fluid.png is a rendered image using blender internal render and fluid2.jpg is a error appearing just after clicking "send current frame job". The problem appears with o without master or slaves present on network so it may be something related with different criteria for internal and net render...if you need some more info about it just let me know. Thanks
Date
: 2011-01-20 13:04
Sender
:
Ton Roosendaal
Well if you didn't set up network render, things wont work obviously :)
Maybe the netrender script should give better feedback. Let's ask the coder of this system for feedback!
Date
: 2011-01-25 08:21
Sender
:
Wintch Analyzer
In the line 216 of client.py file in /script/io/netrender i replaced this:
addFluidFiles(job, bpy.path.abspath(modifier.settings.path))
with this one:
addFluidFiles(job, bpy.path.abspath(netsettings.path))
It seems to have a correct path to files needed for render the animation (bobj.gz* and bvel.gz*).
After this client sends this files correctly to a master, there is something wrong with that because client sends all of them to master when i need only one to render but this is not a mayor problem.
Master sends only the needed files correctly to slave (fluidsurface_final_0106.bobj.gz, fluidsurface_final_0106.bvel.gz, fluidsurface_preview_0106.bobj.gz and .blend) but it still fails, the output in slave is:
File "/x/blender-2.56a-beta-linux-glibc27-i686/2.56/scripts/io/netrender/repath.py", line 65, in update
os.renames(new_path, job_full_path)
File "/x/blender-2.56a-beta-linux-glibc27-i686/2.56/python/lib/python3.1/os.py", line 185, in renames
rename(old, new)
OSError: [Errno 2] No such file or directory
so i see new_path value containing a link to xxx path + fluid.remap.blend, there is no such file....also i noticed that in blender i set frame 107 to be rendered on master, as you can see all the reference are for 106 frame...
I will keep trying to get some more info.
Date
: 2011-01-26 00:25
Sender
:
Wintch Analyzer
After some testing i see that the correct value for line 218 of client.py file (sorry for my previous mistake) would be:
addFluidFiles(job, bpy.path.abspath(modifier.settings.filepath))
and no:
addFluidFiles(job, bpy.path.abspath(modifier.settings.path))
either:
addFluidFiles(job, bpy.path.abspath(netsettings.path))
As i post before.
The modifier.settings.filepath is containing the path of Physics>Fluid>Type Domain
the rest of the problem persists so no sense to make fix to only this by now.
Date
: 2011-01-26 21:10
Sender
:
Martin Poirier
Fixed in revision 34510.
Thanks for the report and investigation.
Attached Files:
Name
Date
Download
fluid.blend
2011-01-19 21:48
Download
fluid2.jpg
2011-01-19 21:58
Download
fluid.png
2011-01-19 21:58
Download
Changes:
Field
Old Value
Date
By
status_id
Open
2011-01-26 21:10
theeth
close_date
None
2011-01-26 21:10
theeth
Status
Investigate
2011-01-26 21:10
theeth
assigned_to
none
2011-01-20 13:04
ton
summary
Netrender flud simulation *NEED INFO*
2011-01-20 13:04
ton
Category
Rendering
2011-01-20 13:04
ton
File Added
14651: fluid2.jpg
2011-01-19 21:58
wintch
File Added
14650: fluid.png
2011-01-19 21:58
wintch
File Added
14649: fluid.blend
2011-01-19 21:48
wintch
summary
Netrender flud simulation
2011-01-19 17:17
ton
Status
New
2011-01-19 17:17
ton