(2017-01-08, 21:56)Walt White Wrote:(2017-01-08, 21:54)Walt White Wrote: <snip>
Trevor suggested to Knud that the Preference for "Ldraw Root Directory" shouldn't be in the Program Files folder, even though the AIOI put it there. I think the confusion is over the word "Root," and whether it really means "Part Library." I tried setting the LPub3D preference to the LDraw folder containing the part library, and there was no change to the failure reported in the log file.
Any and all ideas are welcome for solving this problem. I haven't figured out how to attach thumb size images, they are full size in this edit mode, and it looks like I'll have to post again to get the last two files, <sigh>
Walt
</snip>
Last two files should be attached
Hi Walt,
I downloaded your sample file OneSinglePiece.ldr and ran LPub3D to see if;
(a) I would experience the same behaviour and, if so,
(b) whether I could offer some suggestions for resolution.
I can firstly confirm that I did experience similar behaviour, though the behavior I experienced aligns to that of Knud's (i.e. POV-Ray displaying an error message "IO Restrictions prohibit write access ...") rather than your error message (i.e. "Could not find file ...").
Digging into this a little, the "IO Restrictions prohibit write access ..." appears to come about from a security check within POV-Ray. I verified this in two ways;
1) opening POV-Ray as a separate executable, I set the menu item "Options | Script I/O Restrictions" to "No Restrictions" and then exited the application. The next time LPub3D invoked POV-Ray for rendering, it successfully generated the desired images.
2) I opened POV-Ray as a separate executable a second time, set the menu item "Options | Script I/O Restrictions" to "Allow Read, Restrict Write" and edited the Pov-Ray engine ini file pvengine.ini (located in the directory "%USERPROFILE%\Documents\POV-Ray\v3.7\ini") to add an appropriate directory root to the [Permitted Output Paths] section (refer to http://wiki.povray.org/content/Documenta...figuration for more details about this). In my case, I added the directory "D:\users\djm\personal\2017\LEGO" as a permitted path since I had your LDR file within a sub-directory of this path.
Now while the above may not resolve the issue you are experiencing, are you able to post two things;
1) the value you have for "Path" within the "LDraw Root Directory" on the "General" tabbed sheet which is displayed when within LPub3D you select the menu item "Configuration | Preferences". For example, my value is set to D:\Users\Vista\Public\Documents\LDraw.
2) the value of the environment variable LDRAWDIR. For example, my environment variable value is set to D:\users\Vista\Public\Documents\LDraw
Knowing these values may help in further diagnosis.
Regards,
David