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 07:05:25 EDT (-0400)
  Re: 3.7 unofficial Macintosh r6 rc1 available  
From: Yvo Smellenbergh
Date: 20 Jun 2016 13:53:36
Message: <57682d9f@news.povray.org>
On 2016-06-19 06:19:19 +0000, Eriban said:

Hello Erwin,

In one or the other version the option to substitute quotes with fancy ones was
ignored. I had to hardcode it.
That is fixed but older files can cause problems.

BTW: It is a general option in the system preferences panel under
'Language & Region'  bottom of this panel "Keyboard Preferences" >> Text
panel. "Use smart quotes and dashes".
This was always 'forced' off in PovRay, no matter what settings used in 
this panel.

I will have a fix for the inlcude file you send me.
An improved error message when a file can not be read. But files like
Problematic-Basket-Moves.inc are no longer causing problems and load!

Thanks for reporting this!
A new version out in a few days!

Yvo

> 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


-- 
-------------------------------------------------------------------------------------------


POV-Ray 3.7 unofficial: http://megapov.inetart.net/povrayunofficial_mac/
UberPOV Mac: http://megapov.inetart.net/uberpov_mac/index.html#Mac
MegaPOV: http://megapov.inetart.net
E-mail: yvo(DOT)s(AT)gmx.net


Post a reply to this message

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