POV-Ray : Newsgroups : povray.unix : Povray Debian Jessie JPEG error Server Time
23 Dec 2024 08:03:08 EST (-0500)
  Povray Debian Jessie JPEG error (Message 1 to 4 of 4)  
From: BobMckenzie123
Subject: Povray Debian Jessie JPEG error
Date: 25 Feb 2014 18:50:00
Message: <web.530d2b3e803ff74b1411ad000@news.povray.org>
Hi folks,

I'm hoping you can help me out here.  My computer is running Debian Jessie and I
was able to compile and install povray (from git).  It took a bit of
investigation to compile because of something with the boost threading library,
but I was able to get past that.

I used poseray to generate a povray scene from a DAZ studio 4.6 export.  When I
run povray on the .pov file it throws an error when parsing the material file.
It looks like it's erroring out when loading the first jpeg image.  The error
message is the following:

Possible Parse Error: JPEG parameter struct
 mismatch: library thinks size is 484, caller expects 488
Fatal error in parser: Cannot access data in file.
Render failed

I'm suspecting it has something to do with libjpeg8?  Also, another warning that
I noticed near the beginning is:

povray: cannot open the user configuration file
/home/*******/.povray/3.7/povray.conf: No such file or directory

I'm not sure if the missing conf file has anything to do with the jpeg issue.
Any help will be greatly appreciated.

Thanks


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: Povray Debian Jessie JPEG error
Date: 26 Feb 2014 04:19:37
Message: <530db1a9$1@news.povray.org>

> Possible Parse Error: JPEG parameter struct mismatch: library thinks
> size is 484, caller expects 488 Fatal error in parser: Cannot access
> data in file. Render failed

   Same here with Ubuntu 12.04... I just had to install libjpeg62-dev
(which automatically removed libjpeg8-dev), and then recompile POV-Ray.
All works fine now.

> povray: cannot open the user configuration file
> /home/*******/.povray/3.7/povray.conf: No such file or directory
>
> I'm not sure if the missing conf file has anything to do with the
> jpeg issue. Any help will be greatly appreciated.

   Hmmm... no, definitely not related, as I was not experiencing this
error. That file was installed correctly when I did the "make
install"... is it there on you installation?

--
jaime


Post a reply to this message

From: LanuHum
Subject: Re: Povray Debian Jessie JPEG error
Date: 26 Feb 2014 14:15:00
Message: <web.530e3c8bee4049657a3e03fe0@news.povray.org>
"BobMckenzie123" <nomail@nomail> wrote:

>
> povray: cannot open the user configuration file
> /home/*******/.povray/3.7/povray.conf: No such file or directory
>
> I'm not sure if the missing conf file has anything to do with the jpeg issue.
> Any help will be greatly appreciated.
>
> Thanks

In linux:
open console or konsole or terminal
mkdir .povray
cd .povray
mkdir 3.7
cd 3.7
cp /etc/povray/3.7/povray.conf povray.conf
cp /etc/povray/3.7/povray.ini povray.ini

Open in text editor ~/.povray/3.7/povray.conf

edit:
[Permitted Paths]
;read = "/this/directory/contains space caracters"
read* = %INSTALLDIR%/include
read* = %INSTALLDIR%/scenes
read* = %INSTALLDIR%/../../etc
read+write* = %HOME%
read+write* = /tmp
read+write  = .


Post a reply to this message

From: BobMckenzie123
Subject: Re: Povray Debian Jessie JPEG error
Date: 27 Feb 2014 09:15:00
Message: <web.530f47f1ee404965e972dd290@news.povray.org>
Thank you very much Jamie for the suggestion about libjpeg62.  I first removed
libjpeg8-dev, which removed other dev libraries including libtiff.  Then I
installed libjpeg62-dev.  When I tried to run configure again it threw an error
because of a missing tiff library.  The problem with that was both libtiff#-dev
libs required removing the jpeg62 and installing jpeg8.  I found a couple of
switches for the configure script to disable tiff support.  After that I was
able to compile and it got past the previous point where it threw the error.
The render went for a couple of hours, it actually stayed at 99% for most of the
time and I'm not sure if that's common.  I'm going to try again tonight with
more time available.

Thank you, LanuHum, for the conf file reply, I'll try it out tonight as well.


Post a reply to this message

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