Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001239LuxRenderCorepublic2012-06-13 18:362012-09-11 06:11
ReporterJack Eden 
Assigned ToLord Crc 
PrioritynormalSeveritymajorReproducibilitysometimes
StatusclosedResolutionfixed 
PlatformAmazon EC2 and MacOSUbuntu and OSXOS Version12.4 LTS 10.6.8
Product Version 
Target VersionFixed in Version1.0RC3 
Summary0001239: Error passing files to render nodes with 1.0RC2
DescriptionGetting strange error when the Master passes scene file to Server rendering from the command line from both ubuntu 12.4 and mac 10.6.8.

The Master reads the scene file just fine but then it seems to get garbled when passed to server.

I have only been able to reproduce this problem with one scene file, but I was able to fix the problem by opening up the Materials.lxm file and manually configuring the path to the files. All files were in the same directory both prior to and after edit paths in lxm, but the problem did not persist after the file was edited.

Output of both Master and Server included below.

If you send me a private message I can send you the scene file.
Additional InformationMaster:

ubuntu@ip-10-78-18-19:~/LuxRenderRC2$ ./luxconsole -u 10.196.97.71 -i 1800 /home/ubuntu/LuxRenderRC2/Serum4/Serum_NewBox_3.Scene.00001.lxs
[Lux 2012-Jun-13 20:23:37 INFO : 0] Lux version 1.0RC2 of Jun 2 2012 at 20:41:37
[Lux 2012-Jun-13 20:23:37 INFO : 0] Threads: 2
[Lux 2012-Jun-13 20:23:37 INFO : 0] Connecting server: 10.196.97.71:18018
[Lux 2012-Jun-13 20:23:37 INFO : 0] Server connect result: OK
[Lux 2012-Jun-13 20:23:38 INFO : 0] Server session ID: 0a502dd8-ed2c-4510-91e8-d4fef38742cf
[Lux 2012-Jun-13 20:23:38 INFO : 0] Server requests interval: 1800 secs
[Lux 2012-Jun-13 20:23:38 INFO : 0] Couldn't find file '/Users/Editbay1/Desktop/3D Files/ART/Serum_Pump/Folded_Texture/Serum_UF_Color-01.png', using 'Serum_UF_Color-01.png' instead
[Lux 2012-Jun-13 20:23:38 INFO : 0] Loading FreeImage Texture: 'Serum_UF_Color-01.png'...
[Lux 2012-Jun-13 20:23:40 INFO : 0] Memory used for imagemap '/Users/Editbay1/Desktop/3D Files/ART/Serum_Pump/Folded_Texture/Serum_UF_Color-01.png': 170375KBytes
[Lux 2012-Jun-13 20:23:40 INFO : 0] Couldn't find file '/Users/Editbay1/Desktop/3D Files/ART/Serum_Pump/Folded_Texture/Serum_UF_UV-01.png', using 'Serum_UF_UV-01.png' instead
[Lux 2012-Jun-13 20:23:40 INFO : 0] Loading FreeImage Texture: 'Serum_UF_UV-01.png'...
[Lux 2012-Jun-13 20:23:41 INFO : 0] Memory used for imagemap '/Users/Editbay1/Desktop/3D Files/ART/Serum_Pump/Folded_Texture/Serum_UF_UV-01.png': 170375KBytes
[Lux 2012-Jun-13 20:23:42 INFO : 0] Couldn't find file '/Users/Editbay1/Desktop/3D Files/ART/Serum_Pump/Folded_Texture/Serum_UF_Gold_Mix-01.png', using 'Serum_UF_Gold_Mix-01.png' instead
[Lux 2012-Jun-13 20:23:42 INFO : 0] Loading FreeImage Texture: 'Serum_UF_Gold_Mix-01.png'...
[Lux 2012-Jun-13 20:23:43 INFO : 0] Memory used for imagemap '/Users/Editbay1/Desktop/3D Files/ART/Serum_Pump/Folded_Texture/Serum_UF_Gold_Mix-01.png': 170375KBytes
[Lux 2012-Jun-13 20:23:43 INFO : 0] Couldn't find file '/Users/Editbay1/Desktop/3D Files/ART/Serum_Pump/Textures/Left_Softbox.jpg', using 'Left_Softbox.jpg' instead
[Lux 2012-Jun-13 20:23:43 INFO : 0] Loading FreeImage Texture: 'Left_Softbox.jpg'...
[Lux 2012-Jun-13 20:23:43 INFO : 0] Memory used for imagemap '/Users/Editbay1/Desktop/3D Files/ART/Serum_Pump/Textures/Left_Softbox.jpg': 12288KBytes
[Lux 2012-Jun-13 20:23:43 INFO : 0] Couldn't find file '/Users/Editbay1/Desktop/3D Files/ART/Serum_Pump/Textures/GoldMixMap.png', using 'GoldMixMap.png' instead
[Lux 2012-Jun-13 20:23:44 INFO : 0] Loading FreeImage Texture: 'GoldMixMap.png'...
[Lux 2012-Jun-13 20:23:44 INFO : 0] Memory used for imagemap '/Users/Editbay1/Desktop/3D Files/ART/Serum_Pump/Textures/GoldMixMap.png': 12288KBytes
[Lux 2012-Jun-13 20:23:44 INFO : 0] Couldn't find file '/Users/Editbay1/Desktop/3D Files/ART/Serum_Pump/Textures/Serum_WhiteText.png', using 'Serum_WhiteText.png' instead
[Lux 2012-Jun-13 20:23:44 INFO : 0] Loading FreeImage Texture: 'Serum_WhiteText.png'...
[Lux 2012-Jun-13 20:23:44 INFO : 0] Memory used for imagemap '/Users/Editbay1/Desktop/3D Files/ART/Serum_Pump/Textures/Serum_WhiteText.png': 40937KBytes
[Lux 2012-Jun-13 20:23:44 INFO : 0] Couldn't find file '/Users/Editbay1/Desktop/3D Files/ART/Serum_Pump/Textures/Front_Softbox.jpg', using 'Front_Softbox.jpg' instead
[Lux 2012-Jun-13 20:23:44 INFO : 0] Loading FreeImage Texture: 'Front_Softbox.jpg'...
[Lux 2012-Jun-13 20:23:44 INFO : 0] Memory used for imagemap '/Users/Editbay1/Desktop/3D Files/ART/Serum_Pump/Textures/Front_Softbox.jpg': 12288KBytes
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Paper_Edge': Loading PLY mesh file: 'Serum_NewBox_3/Scene/00001/Cube_010_0000_m000.ply'...
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Paper_Edge': Mesh: splitting 2176 quads
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Box_New': Loading PLY mesh file: 'Serum_NewBox_3/Scene/00001/Cube_002_0000_m000.ply'...
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Box_New': Mesh: splitting 20448 quads
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Grey_Card.001': Loading PLY mesh file: 'Serum_NewBox_3/Scene/00001/Plane_000_0000_m000.ply'...
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Grey_Card.001': Mesh: splitting 1 quads
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Grey_Card': Loading PLY mesh file: 'Serum_NewBox_3/Scene/00001/Plane_007_0000_m000.ply'...
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Grey_Card': Mesh: splitting 1 quads
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Back_Light': Loading PLY mesh file: 'Serum_NewBox_3/Scene/00001/Plane_006_0000_m000.ply'...
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Back_Light': Mesh: splitting 1 quads
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'SoftBox_Left.002': Loading PLY mesh file: 'Serum_NewBox_3/Scene/00001/Plane_005_0000_m000.ply'...
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'SoftBox_Left.002': Mesh: splitting 9 quads
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'SoftBox_Left.001': Loading PLY mesh file: 'Serum_NewBox_3/Scene/00001/Plane_003_0000_m000.ply'...
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'SoftBox_Left.001': Mesh: splitting 1 quads
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Room': Loading PLY mesh file: 'Serum_NewBox_3/Scene/00001/Cube_008_0000_m000.ply'...
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Room': Mesh: splitting 480 quads
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Back_Light_2': Loading PLY mesh file: 'Serum_NewBox_3/Scene/00001/Plane_001_0000_m000.ply'...
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Back_Light_2': Mesh: splitting 1 quads
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Cap': Loading PLY mesh file: 'Serum_NewBox_3/Scene/00001/Circle_003_0000_m000.ply'...
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Cap': Mesh: splitting 6144 quads
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Acrylic_Inner': Loading PLY mesh file: 'Serum_NewBox_3/Scene/00001/Circle_005_0000_m000.ply'...
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Acrylic_Inner': Mesh: splitting 7680 quads
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Inner_Cup': Loading PLY mesh file: 'Serum_NewBox_3/Scene/00001/Circle_004_0000_m000.ply'...
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Inner_Cup': Mesh: splitting 7168 quads
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Gold_Shoulder': Loading PLY mesh file: 'Serum_NewBox_3/Scene/00001/Circle_001_0000_m000.ply'...
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Gold_Shoulder': Mesh: splitting 4096 quads
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Acrylic_Outer': Loading PLY mesh file: 'Serum_NewBox_3/Scene/00001/Circle_002_0000_m000.ply'...
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'Acrylic_Outer': Mesh: splitting 9216 quads
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'ReflectionMap_Front': Loading PLY mesh file: 'Serum_NewBox_3/Scene/00001/Plane_010_0000_m000.ply'...
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'ReflectionMap_Front': Mesh: splitting 384 quads
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'SoftBox_Left': Loading PLY mesh file: 'Serum_NewBox_3/Scene/00001/Plane_008_0000_m000.ply'...
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'SoftBox_Left': Mesh: splitting 1 quads
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'LightTable_Glass': Loading PLY mesh file: 'Serum_NewBox_3/Scene/00001/Cube_0000_m000.ply'...
[Lux 2012-Jun-13 20:23:44 INFO : 0] Shape 'LightTable_Glass': Mesh: splitting 58 quads
[Lux 2012-Jun-13 20:23:44 INFO : 0] Sending commands to server: 10.196.97.71:18018
[Lux 2012-Jun-13 20:23:45 ERROR : 2] Error reading from slave
[Lux 2012-Jun-13 20:23:45 WARNING : 43] Shape 'Paper_Edge': Inconsistent shading normals in 68 triangles
[Lux 2012-Jun-13 20:23:45 INFO : 0] Preprocess thread uses seed: 1666817448
[Lux 2012-Jun-13 20:23:48 INFO : 0] Thread 0 uses seed: 1666817449
[Lux 2012-Jun-13 20:23:49 INFO : 0] Thread 1 uses seed: 1666817450
[Lux 2012-Jun-13 20:23:54 INFO : 0] 00:00:05 - 2 T 1 N: 0.01 S/p 20.14 kS/s 266.80 kC/s 1325% Eff
[Lux 2012-Jun-13 20:23:59 INFO : 0] 00:00:10 - 2 T 1 N: 0.02 S/p 20.72 kS/s 273.79 kC/s 1321% Eff

Slave:

ubuntu@ip-10-196-97-71:~/LuxRenderRC2$ ./luxconsole -s
[Lux 2012-Jun-13 20:20:49 INFO : 0] Lux version 1.0RC2 of Jun 2 2012 at 20:41:37
[Lux 2012-Jun-13 20:20:49 INFO : 0] Threads: 8
[Lux 2012-Jun-13 20:20:49 INFO : 0] Launching server mode [8 threads]
[Lux 2012-Jun-13 20:20:49 INFO : 0] Server listening on [::]:18018
[Lux 2012-Jun-13 20:20:49 INFO : 0] Server listening on 0.0.0.0:18018
[Lux 2012-Jun-13 20:23:37 INFO : 0] New session ID: 0a502dd8-ed2c-4510-91e8-d4fef38742cf
[Lux 2012-Jun-13 20:23:44 INFO : 0] Requesting file '/Users/Editbay1/Desktop/3D Files/ART/Serum_Pump/Folded_Texture/Serum_UF_Color-01.png' (as 'tmp_f373de2d49584e7a16166e76b1bb925f24f0130c63ac9332.png')
[Lux 2012-Jun-13 20:23:44 INFO : 0] Receiving file: '/Users/Editbay1/Desktop/3D Files/ART/Serum_Pump/Textures/Front_Softbox.jpg' as 'tmp_f373de2d49584e7a16166e76b1bb925f24f0130c63ac9332.png', size: 311 Kbytes
[Lux 2012-Jun-13 20:23:44 ERROR : 2] There was an error while receiving file 'tmp_f373de2d49584e7a16166e76b1bb925f24f0130c63ac9332.png', received 311758 bytes, source size 311758 bytes, received file hash acebc9ec39fbb40c200774548a96b4d1f24a7bf43203d356, source hash f373de2d49584e7a16166e76b1bb925f24f0130c63ac9332
[Lux 2012-Jun-13 20:23:44 INFO : 2] Removing incomplete file 'tmp_f373de2d49584e7a16166e76b1bb925f24f0130c63ac9332.png'
[Lux 2012-Jun-13 20:23:44 INFO : 0] Receiving file: '/Users/Editbay1/Desktop/3D Files/ART/Serum_Pump/Textures/Front_Softbox.jpg' as 'tmp_f373de2d49584e7a16166e76b1bb925f24f0130c63ac9332.png', size: 311 Kbytes
[Lux 2012-Jun-13 20:23:44 ERROR : 2] There was an error while receiving file 'tmp_f373de2d49584e7a16166e76b1bb925f24f0130c63ac9332.png', received 311758 bytes, source size 311758 bytes, received file hash acebc9ec39fbb40c200774548a96b4d1f24a7bf43203d356, source hash f373de2d49584e7a16166e76b1bb925f24f0130c63ac9332
[Lux 2012-Jun-13 20:23:44 INFO : 2] Removing incomplete file 'tmp_f373de2d49584e7a16166e76b1bb925f24f0130c63ac9332.png'
[Lux 2012-Jun-13 20:23:44 SEVERE ERROR : 14] Exception processing command 'luxTexture': Error receiving file 'tmp_f373de2d49584e7a16166e76b1bb925f24f0130c63ac9332.png'
[Lux 2012-Jun-13 20:23:44 INFO : 0] Ending session, cleaning up
[Lux 2012-Jun-13 20:23:44 ERROR : 28] luxCleanup() called while inside world block.
[Lux 2012-Jun-13 20:23:44 INFO : 0] Server ready
TagsNo tags attached.
Mercurial Changeset #4f9f320bf9ac
Requires Documentation UpdateNo
Requires Exporter Update
Attached Files

- Relationships

-  Notes
(0003430)
SATtva (developer)
2012-06-13 20:06

Are you certain both master and slave are using the same version? Is that 1.0RC2 official? Could one of them be a weekly build by a chance (note it will still report 1.0RC2 as version string)?
(0003431)
Jack Eden (reporter)
2012-06-13 21:16

I am quite sure they are the same version, as both ec2 instances were spun up from the same AMI (amazon machine image) and I rebuilt my AMI today and installed the official RC2 on the Luxrender.net download page. I have had the problem before of trying to slave server to a master and the two are running different versions, and there is a handshake error and tells me that the two versions are different. I am very new to software testing and reporting bugs, but I want to be helpful, so I did try many different things to try and recreate the problem or try to solve it. Both Macs that I tried to render on were running the same RC2 build (in fact they were both installed from the same .dmg) and I got the same problem, and just the same it was resolved when I manually edited the the material.lxm file. I tried re-exporting the scene multiple times from Blender 2.6.2 and the luxrender exporter I was using with that version (from RC1) and also exporting from Blender 2.6.3 and the luxrender exporter that was packaged with the RC2 download. All of these tests were conducted across both the EC2 platform and two macs running 10.6.8.
(0003435)
Jack Eden (reporter)
2012-06-15 14:40

I truly apologize. There may be something wrong with my file. I can't reproduce this with any other file I am working on. If I have new issues in the future I will do more research and try to vet out the problem a little further before posting bug. I think I was desperate for this to work at the time. I am still curious about the temp files and wonder if those are to be managed manually or if Lux manages them. In the case that I need to manage them manually, I don't know how to delete a series of files in a command-line only environment.
(0003436)
Lord Crc (administrator)
2012-06-15 16:20

As you can see from the ERROR lines, for some reason a file wasn't transferred correctly, so that the file hash of the transmitted file did not match the source file. The slave then aborted to prevent ruining the rendering using a broken texture.

Currently LuxRender doesn't do any cleanup of the temp files, however I plan on adding some form of cleanup before 1.0 final.

Until then, to remove the temp files simply run
   rm tmp_*
in the directory you launched luxconsole from (assuming you didn't use the option to change the cache dir).
(0003461)
Jack Eden (reporter)
2012-07-06 13:34
edited on: 2012-07-06 22:12

Sorry for the late reply to this, I have been away on a video shoot. I just downloaded the weekly build that was posted by J the Ninja, and am still getting the same error across two machines. both Macs, one running 10.6 and one running 10.7. I am sure that both machines, master and slave, called the same version of LuxRender, as the readout in the terminal window on both machines was for the July 3, 2012 build.

This product featured in the rendered image has been launched, and so I now feel fine about posting the files. Of course the textures files are copyrighted by the company Young Living that owns them. I don't know if having the files will help trace out a problem or not, but I just hope that the problem is not something I have done and am just causing you a lot of grief.

You can download the zip containing blend, texture, and LuxBlend export files file with this link.

(removed)

(0003462)
Lord Crc (administrator)
2012-07-06 22:13

I've removed the link just so neither of us get any copyright issues.

Very weird, I'll look into it.
(0003476)
Lord Crc (administrator)
2012-07-26 12:49

Fix is in the repository, the problem was related to the fact that the files was not in their original location. See changelog for details.

- Issue History
Date Modified Username Field Change
2012-06-13 18:36 Jack Eden New Issue
2012-06-13 20:06 SATtva Note Added: 0003430
2012-06-13 21:16 Jack Eden Note Added: 0003431
2012-06-15 14:40 Jack Eden Note Added: 0003435
2012-06-15 16:20 Lord Crc Note Added: 0003436
2012-06-15 16:20 Lord Crc Assigned To => Lord Crc
2012-06-15 16:20 Lord Crc Status new => assigned
2012-06-30 15:21 Lord Crc Status assigned => feedback
2012-07-06 13:34 Jack Eden Note Added: 0003461
2012-07-06 13:34 Jack Eden Status feedback => assigned
2012-07-06 22:12 Lord Crc Note Edited: 0003461 View Revisions
2012-07-06 22:13 Lord Crc Note Added: 0003462
2012-07-26 08:28 Lord Crc Status assigned => confirmed
2012-07-26 12:49 Lord Crc Mercurial Changeset # => 4f9f320bf9ac
2012-07-26 12:49 Lord Crc Note Added: 0003476
2012-07-26 12:49 Lord Crc Status confirmed => resolved
2012-07-26 12:49 Lord Crc Fixed in Version => 1.0
2012-07-26 12:49 Lord Crc Resolution open => fixed
2012-07-26 12:57 Lord Crc Fixed in Version 1.0 => 1.0RC3
2012-09-11 06:11 jeanphi Status resolved => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker