POV-Ray : Newsgroups : povray.beta-test : ini file - Input_File_Name requires extension : Re: ini file - Input_File_Name requires extension Server Time
1 Jul 2024 15:15:42 EDT (-0400)
  Re: ini file - Input_File_Name requires extension  
From: jberry02
Date: 28 Jun 2010 22:30:01
Message: <web.4c295a08949a9ca3bba8fbcd0@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote:
> He says the INI file requires an extension. The syntax he showed should
> work, and he did not say it doesn't. Hence he needs to clarify what the
> problem is.

OK - let me try to be more specific.

The syntax I showed used to work under prior versions of POV-Ray, and I was
expecting it to work under the 3.7 beta, but it fails.

First, note that this is the Windows version.
Second the issue is not with opening the ini file, but with opening the scene
file from within the ini file.

I have a scene.ini file, that has a line:

Input_File_Name=scene

under POV-Ray 3.5 *and* POV-Ray 3.6, the scene defined in the file scene.pov is
rendered properly using the parameters specified in the scene.ini file.  The ini
file is opened from the POV-Ray GUI, and run using the "Run" button.

under POV-Ray 3.7, I get an error - I originally thought that it was simply not
looking for scene.pov (i.e., it wasn't adding the .pov extension when trying to
open the scene file), but looking closer the error is *actually*:

Input file 'C:\[...]\scene' not found; cannot determine I/O permission for
write.
Failed to start render: Cannot open file.

In other words, it appears that the problem is that it isn't adding the default
..pov extension when it is trying to do the I/O permission check.  I do not have
any special I/O permisssions configured for any version of POV-Ray (I get the
pop-up dialogs), and this is a change in behavior from 3.6 to the current beta
of 3.7.  The scene.pov file is not in any of the POV-Ray directories - it is in
a separate tree where I keep my scene files.

I hope this is clearer.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.