POV-Ray : Newsgroups : povray.binaries.images : Illegal character in input file? : Re: Illegal character in input file? Server Time
3 Jul 2024 01:26:03 EDT (-0400)
  Re: Illegal character in input file?  
From: Jörg 'Yadgar' Bleimann
Date: 26 Dec 2014 07:08:20
Message: <549d4fb4$1@news.povray.org>
Hi(gh)!

On 26.12.2014 07:54, clipka wrote:

> Are you sure it is not fffffeff?
>
> Your file is UTF8-encoded with a leading Byte Order Mark (zero-width
> non-breaking space, U+FEFF), which might give POV-Ray trouble; it also
> might erroneously be displayed as "fffffeff" rather than "feff".

I changed the encoding to ISO 8859-1, and the error disappeared. But now 
I have another problem: regardless of however I edit povray.conf, I 
always get

Parse Error: Reading from 
'/media/Raytracing/Povscn/PoVSolar/solarsys/mercury_na
sa_6132x3066_bright.png' is not permitted.  Check the configuration in
  '/home/yadgar/.povray/3.6/povray.conf'.

The I/O restriction section in povray.conf looks this way:

[File I/O Security]
none       ; all read and write operations on files are allowed.
;read-only  ; uses the "read+write" directories for writing (see below).
;restricted  ; uses _only_ "read" and "read+write" directories for file 
I/O.

Even after adding an additional

read+write* = /media/Raytracing/Povscn/PoVSolar/

the error doesn't disappear!

See you in Khyberspace!

Yadgar

Now playing: Diagrams of Cities (Feltman Trommelt)


Post a reply to this message

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