POV-Ray : Newsgroups : povray.beta-test : Re-discovering issues with finding ini files in library path : Re-discovering issues with finding ini files in library path Server Time
14 Apr 2024 13:34:00 EDT (-0400)
  Re-discovering issues with finding ini files in library path  
From: William F Pokorny
Date: 20 Mar 2024 01:49:06
Message: <65fa78d2$1@news.povray.org>
Aside: New thread as original not recovered after the crash with respect 
to the news server itself, which leaves Thunderbird unable to continue it.

Ref:

https://news.povray.org/povray.beta-test/message/%3C5bdf75ab%241%40news.povray.org%3E

[insert long back story here] ... My thinking was the ini include 
searching of the library path was working fairly well despite what some 
had said.

I recently re-enabled the parsing of a users local povray.ini and 
povray.conf files stored in $HOME/.povray/3.8

Turns out. If the ini file you want isn't in your local directory - and 
the library path where it exists isn't the first listed in the reported 
library paths parsing cannot find it and dies.  :-(

The only immediately useful thing for those with $HOME/.povray 
povray.ini files, you can use the shipped ini files if you change:

     Library_Path="__POVLIBDIR__"
     Library_Path="__POVLIBDIR__/ini"
     Library_Path="__POVLIBDIR__/include"

to

     Library_Path="__POVLIBDIR__/ini"
     Library_Path="__POVLIBDIR__"
     Library_Path="__POVLIBDIR__/include"

With that change I'm able to run the following (reminder yuqk is 
linux/unix only):

     yuqk playpen.pov include_ini="quickres.ini[1024x768, AA 0.3]"

or

     yuqkZ playpen.pov +ini"quickres.ini[1024x768, AA 0.3]"

Of course, with that set up you can then only reach local directory ini 
files afterward because those are all that will be found.

I was getting fooled as to the state of things. I mostly run without 
$HOME./povray local povray.ini and povray.conf file. So, when I added 
the ini included directory to the library path files, things worked - 
because that path happened to be the first in the list of library 
directories.

Bill P.

Aside(2): The yuqk fork itself does not ship the ini directory of files 
at present. They existing ones are very much out of date.


Post a reply to this message

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