![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I am using Ubuntu 12.04.3. I can compile PoV-Ray 3.7.0.RC7 successfully, and
can render scenes. However, I have been having trouble with using INI
configuration files.
If I use the command "povray scene.pov", the scene compiles. However, if I use
the command "povray scene.ini", where scene.ini contains the single line
"Input_File_Name=scene.pov", I receive the following error message.
Problem with option setting
povray astroid.ini
Failed to parse command-line option
As far as I can tell from the documentation, this is the correct way to pass in
an INI file, but this and any variation on it fail. What should I do to use INI
files for configuration?
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On 05/11/13 23:30, Eldritch Cheese wrote:
> I am using Ubuntu 12.04.3. I can compile PoV-Ray 3.7.0.RC7 successfully, and
> can render scenes. However, I have been having trouble with using INI
> configuration files.
>
> If I use the command "povray scene.pov", the scene compiles. However, if I use
> the command "povray scene.ini", where scene.ini contains the single line
> "Input_File_Name=scene.pov", I receive the following error message.
>
> Problem with option setting
> povray astroid.ini
> Failed to parse command-line option
Strange. I have just tried this in my set-up and it works just fine
(note: I am using Suse 12.3).
Have you got a '~/.povray/3.7/povray.ini'? Or, failing this a
'/usr/local/etc/povray/3.7/povray.ini'? Though without one of these
'povray scene.pov' will fail.
One possibility occurs to me: Is there an extra blank space in your file
name?
John
--
Protect the Earth
It was not given to you by your parents
You hold it in trust for your children
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Doctor John <j.g### [at] gmail com> wrote:
> On 05/11/13 23:30, Eldritch Cheese wrote:
> > I am using Ubuntu 12.04.3. I can compile PoV-Ray 3.7.0.RC7 successfully, and
> > can render scenes. However, I have been having trouble with using INI
> > configuration files.
> >
> > If I use the command "povray scene.pov", the scene compiles. However, if I use
> > the command "povray scene.ini", where scene.ini contains the single line
> > "Input_File_Name=scene.pov", I receive the following error message.
> >
> > Problem with option setting
> > povray astroid.ini
> > Failed to parse command-line option
>
> Strange. I have just tried this in my set-up and it works just fine
> (note: I am using Suse 12.3).
> Have you got a '~/.povray/3.7/povray.ini'? Or, failing this a
> '/usr/local/etc/povray/3.7/povray.ini'? Though without one of these
> 'povray scene.pov' will fail.
> One possibility occurs to me: Is there an extra blank space in your file
> name?
>
> John
> --
> Protect the Earth
> It was not given to you by your parents
> You hold it in trust for your children
Yup, the '~/.povray/3.7/povray.ini' does exist, and there were no spaces in the
file name.
I ended up finding the problem. The scene.ini file had a typo in it, which
caused a parameter to be unrecognized. This caused the parsing to fail, though
why it chose that particular error message is beyond me.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I had the same issue. It was an old ini file which for some reason used to
work. I was using a +PNG to specify PNG and it should have been +LN. I fixed
that and it worked.
The obvious explanation is that the ini processor is external, the lines in the
ini file serving as command line options to core POV. However, the problem is
the error message should include WHAT The command line option which failed is.
POV is open, so it should be easy enough to make this change if I want.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |