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:50 EDT (-0400)
  Re: ini file - Input_File_Name requires extension  
From: clipka
Date: 29 Jun 2010 12:32:35
Message: <4c2a2023$1@news.povray.org>
Am 29.06.2010 04:27, schrieb jberry02:

> 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.

Having looked at it in a debugger, I can confirm that there is a 
problem, and that you don't seem to be far off the mark:

The error occurs when POV-Ray tries to determine the I/O permissions for 
the /output/ file. If that isn't explicitly specified with a path, 
POV-Ray will try to get the path from the input file; however, it will 
take the unprocessed parameter (in the sample case "scene") rather than 
the file name POV-Ray makes of it ("scene.pov"), and then attempts to 
get the full /long/ path name of the file (remember the good old 8.3 
filenames for compatibility with 16-bit programs?), which only works 
when the file exists.

Would you mind submitting a bug report to <http://bugs.povray.org>?


Post a reply to this message

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