|
|
Am 03.01.2011 16:54, schrieb Thorsten Froehlich:
> On 03.01.11 16:36, m.steiger wrote:
>> Hi
>>
>> I am starting PovRay from another application with following command:
>>
>> %povray% /EDIT Test1.pov /RENDER Test1.pov
>> where %povray% is
>> C:\Programme\POV_Ray\POV-Ray 3.7\bin\pvengine.exe
>> or
>> C:\Programme\POV_Ray\POV-Ray 3.7\bin\pvengine-sse2.exe
>>
>> >>> case 1: If PovRay is NOT running, it will be started and following
>> error message will be displayed:
>> ----------------------------------------------------
>> IO Restrictions prohibit write access to 'Test1.png'
>> Failed to start render: Cannot open file.
>> ----------------------------------------------------
>> But 'Test1.png' doesn't exist - it's the file PovRay should create!!!
>
> Yes, and that is exactly what the error message says: It cannot _write_
> that file.
>
>> >>> case 2: If PovRay is already running, it will display 'Test1.pov' and
>> start rendering as expected.
>>
>> I was testing the same situation with PovRay 3.62.
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> PovRay 3.62 does not show an error messages!
>> It works perfect in both cases!!!
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Well, does it have IO restrictions enabled?
>
> Thorsten
Do you mean 'Options / Script I/O-Restrictions' ?
Its' set to * Allow Read, Restrict Write
If I set it to * No Restrictions I'll get this errror message:
----------------------------------------------------------------------
Possible Parse Error: Cannot find file 'Test1.pov', even after trying
to append file type extension.
----------------------------------------------------------------------
Parse Error: Cannot open input file.
Render failed
----------------------------------------------------------------------
And again if PovRay is still running it's working fine without any error
message.
That all is confusing me...
Shouldn't 'Script I/O-Restrictions' only belong to script handling ?
But the 1st error message belongs to the picture file handling.
Post a reply to this message
|
|