POV-Ray : Newsgroups : povray.macintosh : 3.7 unofficial Macintosh r6 rc1 available : Re: 3.7 unofficial Macintosh r6 rc1 available Server Time
19 Apr 2024 16:02:40 EDT (-0400)
  Re: 3.7 unofficial Macintosh r6 rc1 available  
From: Eriban
Date: 19 Jun 2016 06:20:00
Message: <web.576671a76103be0cf591106d0@news.povray.org>
Hi Yvo,

Thanks for making this latest version available. I just downloaded it.

When trying it out, I encountered one problem. I had been working on this scene
in an earlier unofficial version of Mac POV (3.7.0.unofficial, Feb 22 2014).
When starting the latest version of Mac POV it failed to load one of the .inc
files I had open. In the console I got the following error:

19/06/16 11:41:55,573 POVRay_3_7_0_Final_Unofficial[3138]:
-[NSDocumentController
reopenDocumentForURL:withContentsOfURL:display:completionHandler:] failed during
state restoration. Here's the error:
Error Domain=NSCocoaErrorDomain Code=256 "The autosaved document

An unknown error has occured." UserInfo={NSUnderlyingError=0x106e83ef0 {Error

UserInfo={NSLocalizedFailureReason=
An unknown error has occured.}}, NSLocalizedDescription=The autosaved document

An unknown error has occured., NSLocalizedFailureReason=
An unknown error has occurred.}

When subsequently I tried to open the file explicitly this also failed, with the
following error: The document "Basket-Moves.inc" could not be openend. An
unknown error occured.

I did manage to figure out the problem. The file contained the following
comment:

// Don't stack Part E.

I typed the apostrophe using the normal keyboard key, but the editor of the Mac
POV version I had been using automatically "corrected" it to a fancier one,
which required a more exotic character encoding (one that showed up as a
question mark when catting the file in the terminal). After reverting the
apostrophe back to a normal one, I could open the file also in the latest
version of Mega POV. Maybe you can improve the error message?

On a related note, I did notice that in this later version the auto-correction
that caused these problems is disabled again, so that's good. It already caused
me problems whenever I typed double quotes (used for strings and include
statements), whose auto-corrected versions resulted in syntax errors when
POV-Ray tried to parse them.

Kind regards,
Erwin


Post a reply to this message

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