POV-Ray : Newsgroups : povray.unix : command line fails due to missing ini file ? Server Time
23 Dec 2024 14:50:34 EST (-0500)
  command line fails due to missing ini file ? (Message 1 to 3 of 3)  
From: Dennis Clarke
Subject: command line fails due to missing ini file ?
Date: 17 Dec 2006 16:05:00
Message: <web.4585b093bffe449bcd7fbef60@news.povray.org>
This is rather annoying.

Why would POVRay go looking for a Windows 3.1 style ini file or some .conf
file  when all parameters are specified on the command line ?  Simply to
determine the rights and permissions for output ?

$ povray -I
/export/home/dclarke/build/povray/renders/glassworks/glassworks.pov -L
/opt/csw/share/povray-3.6/include -W 640 -H 480 -P -V -X 640 -D -SP 8 -B
512 -FN16 -O
/export/home/dclarke/build/povray/renders/glassworks/g_640x480_001.png -Q9
-A0.3 -AM2 -J0.0 -R3 -K0.3141 -KC -GA
povray: cannot open the user configuration file
/export/home/dclarke/.povray/3.6/povray.conf: No such file or directory
Could not find file '640.ini'
Cannot open INI file '640'.
Cannot process command-line due to a parse error.
This is not a valid command-line. Check the command-line for syntax errors,
correct them, and try again!
Valid command-line switches are explained in detail in the reference part of
the documentation.
To get a short list of command-line switches, use either the '-h', '-?',
'-help' or '--help' switch.
Failed to render file due to error(s)!


Post a reply to this message

From: Nicolas Calimet
Subject: Re: command line fails due to missing ini file ?
Date: 17 Dec 2006 18:38:15
Message: <4585d4e7$1@news.povray.org>
> $ povray -I
> /export/home/dclarke/build/povray/renders/glassworks/glassworks.pov -L
> /opt/csw/share/povray-3.6/include -W 640 -H 480 -P -V -X 640 -D -SP 8 -B
> 512 -FN16 -O
> /export/home/dclarke/build/povray/renders/glassworks/g_640x480_001.png -Q9
> -A0.3 -AM2 -J0.0 -R3 -K0.3141 -KC -GA

	You put spaces between some options and their respective values
(here: -I, -L, -W, -H, -X, -SP, -B, -O) while there should be none.
Please read again the docs.  Also I recommend checking the meaning
of using either a - or + to introduce a command-line option.

	- NC


Post a reply to this message

From: Dennis Clarke
Subject: Re: command line fails due to missing ini file ?
Date: 17 Dec 2006 20:40:01
Message: <web.4585f070c94d1bd2cd7fbef60@news.povray.org>
Nicolas Calimet <pov### [at] freefr> wrote:
>
>  You put spaces between some options and their respective values
> (here: -I, -L, -W, -H, -X, -SP, -B, -O) while there should be none.
> Please read again the docs.  Also I recommend checking the meaning
> of using either a - or + to introduce a command-line option.
>
>  - NC

sure enough .. I went back and took a long hard look at that.

I was able to get all the features that I wanted and then started over by
tossing this into a fixed class priority process :

bash-3.1$ /bin/priocntl -e -c FX -m 0 -p 0 ptime povray
-I/export/home/dclarke/build/povray/renders/glassworks/glassworks.pov
-L/opt/csw/share/povray-3.6/include -W1024 -H768 -X1024 -B512 -Q9 -AM2
-A0.3 -P -V -SP4
-O/export/home/dclarke/build/povray/renders/glassworks/g_1024x768_001.png
-J0.0 -R3 -K0.3141 -KC -GA
Persistence of Vision(tm) Ray Tracer Version 3.6.1 (CC @
sparc-sun-solaris2.8)
..
..
..

it seems to be running fine now :-)

Dennis


Post a reply to this message

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