POV-Ray

The Persistence of Vision Raytracer (POV-Ray).

This is the legacy Bug Tracking System for the POV-Ray project. Bugs listed here are being migrated to our github issue tracker. Please refer to that for new reports or updates to existing ones on this system.

Tasklist

FS#80 - Bad behavior for missing image file

Attached to Project: POV-Ray
Opened by Christian Froeschlin (froesccn) - Tuesday, 09 March 2010, 23:44 GMT
Last edited by Chris Cason (chrisc) - Friday, 31 December 2010, 14:38 GMT
Task Type Possible Bug
Category Backend → Parser/SDL
Status Closed
Assigned To Chris Cason (chrisc)
Operating System Windows XP
Severity Medium
Priority Normal
Reported Version 3.70 beta 35a
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The following SDL code

sphere {0, 1 pigment {image_map {png "missing.png"}}

yields “render failed” in 3.7b25 and the position of the error
is not highlighted in source code, giving no clue what went wrong.
In 3.6 this yields “Parse Error: Cannot open PNG file”.

This task depends upon

Closed by  Chris Cason (chrisc)
Friday, 31 December 2010, 14:38 GMT
Reason for closing:  Fixed
Comment by Grimbert Jérôme (Le_Forgeron) - Sunday, 24 October 2010, 13:31 GMT

Seems fixed in beta 39

File 'bad.pov' line 1: Possible Parse Error: Cannot find file 'missing.png',
 even after trying to append file type extension.
File 'bad.pov' line 1: Possible Parse Error: Cannot find image file.
Fatal error in parser: Cannot open file.
Render failed
Comment by Christoph Lipka (clipka) - Monday, 01 November 2010, 18:30 GMT

Issue is only partially fixed; while the error message is now more helpful, the error location is still not highlighted in the source code.

Comment by Chris Cason (chrisc) - Tuesday, 02 November 2010, 08:16 GMT

This should be working more or less as expected as of change #5180.

Comment by Grimbert Jérôme (Le_Forgeron) - Wednesday, 15 December 2010, 19:52 GMT
File 'bad.pov' line 1: Possible Parse Error: Cannot find file 'missing.png',
 even after trying to append file type extension.
File 'bad.pov' line 1: Parse Error: Cannot find image file.
Fatal error in parser: Cannot parse input.
Render failed

Tested with beta 40, the error location is provided (line 1), as well a more assertive error message (Possible is gone!)
(and the missing file is named too, so what do you want as more details ?)

Loading...