|
|
On 02/19/2017 08:33 PM, dick balaska wrote:
> I was going to whip off some frames from a project development directory
> and beta.3 tells me
>
> File 'reeferMagnets.inc' line 169: Possible Parse Error: Cannot find file
> '../../ttCommon/ariali.ttf', even after trying to append file type
> extension.
> File 'reeferMagnets.inc' line 169: Possible Parse Error: Cannot open
> font file.
>
> alpha-8451792 renders this fine.
>
> relevant code:
> 36 #declare TtCommonDir="../../ttCommon/";
> 141 #declare ArialiFont=concat(TtCommonDir, "ariali.ttf");
> 165 text {
> 166 ttf ArialiFont
> 167 "Hi mom"
> 168 0.15,0
> 169 scale 3.6
> 170 translate <31*inches,36*inches,0>
> 171 pigment {Black}
> 172 }
>
>
> I also see that "./subdir/include.inc" also fails. I didn't notice this
> last night, because I had changed the prefix directory to "" instead of
> "./" .
>
> This is weird, my farm has run 100 frames on beta.3 and my production
> code contains "../ttCommon/ariali.ttf" (one level back).
>
> I thought I'd create a 3 file tar demonstrating this, except it doesn't
> fail.
>
> This renders fine:
> #declare dir="../../";
> #include concat(dir, "include.inc")
>
> So, I'm still confused. Schrödinger's bug: it's both broken and not broken.
Windows, linux or both OSs showing the hard "./subdir/include.inc"
fails? Can you get to a small test case for this one?
Windows, linux or both OSs showing the flaky "../../ttCommon" behavior?
Thanks.
Bill P.
Post a reply to this message
|
|