POV-Ray : Newsgroups : povray.binaries.images : Illegal character in input file? Server Time
1 Jul 2024 02:08:01 EDT (-0400)
  Illegal character in input file? (Message 1 to 3 of 3)  
From: Jörg 'Yadgar' Bleimann
Subject: Illegal character in input file?
Date: 25 Dec 2014 21:38:50
Message: <549cca3a@news.povray.org>
Hi(gh)!

Inspired by Christian Froeschlin's link to the new high-quality JPL 
mosaic maps of Saturnian moons, I tried to re-activate my PoVSolar 
project, starting with view of Mimas - but all I got on

povray +ipovsolar.pov +opovsolar.png +fn +h768 +w1024 +a0.3

was this:

Parse Error: Illegal character in input file, value is ffffffef.

I initially thought it was because of non-standard ASCII characters in 
the comments at the beginning - but even after replacing them, the error 
message prevailed.

The code (which is some 3,000 lines) is attached below...

See you in Khyberspace!

Yadgar


Post a reply to this message


Attachments:
Download 'povsolar.pov.txt' (103 KB)

From: clipka
Subject: Re: Illegal character in input file?
Date: 26 Dec 2014 01:54:03
Message: <549d060b$1@news.povray.org>
Am 26.12.2014 um 03:39 schrieb Jörg 'Yadgar' Bleimann:
> Hi(gh)!
>
> Inspired by Christian Froeschlin's link to the new high-quality JPL
> mosaic maps of Saturnian moons, I tried to re-activate my PoVSolar
> project, starting with view of Mimas - but all I got on
>
> povray +ipovsolar.pov +opovsolar.png +fn +h768 +w1024 +a0.3
>
> was this:
>
> Parse Error: Illegal character in input file, value is ffffffef.
>
> I initially thought it was because of non-standard ASCII characters in
> the comments at the beginning - but even after replacing them, the error
> message prevailed.

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".


Post a reply to this message

From: Jörg 'Yadgar' Bleimann
Subject: Re: Illegal character in input file?
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.