Page 1 of 1

Celestia 1.5 Mac OS Crashes with Large Scripts

Posted: 10.03.2008, 00:26
by hharris
I downloaded 1.5 for the Mac OS and discovered that now none of my large programs written over the past couple years work at all. They either immediately crash Celestia or simply exit after a brief pause The versions range in size to 150K to 180K. They all worked perfectly on the previous version.

I wrote a small program and it worked. I put a print statement at the beginning of my large program and got nothing making me think that this version can't handle large scripts. It appears to be crashing on loading. The small program now asks me if I'm sure I want to run this script, which it didn't do before. It doesn't even do that with large scripts.

All my scripts start with

celestia:requestsystemaccess()
wait(0)

I now have only one version of Celestia (1.5) in my system in the applications folder.

Any suggestions would be appreciated. Perhaps I'm forgetting to do something with this new version, but I can't think of what that might be.

Henry

Re: Celestia 1.5 Mac OS Crashes with Large Scripts

Posted: 11.03.2008, 17:21
by Vincent
hharris wrote:The small program now asks me if I'm sure I want to run this script, which it didn't do before. It doesn't even do that with large scripts.

All my scripts start with

celestia:requestsystemaccess()
wait(0)

Henry,

You may want to try changing the ScriptSystemAccessPolicy entry from "ask" to "allow" in celestia.cfg. There is a bug with the celestia:requestsystemaccess() method in Celestia 1.5.0. This bug is fixed in the current SVN version of Celestia.

Posted: 11.03.2008, 21:27
by hharris
Vincent,

I tried changing celestia.cfg to "allow" and 1.5 still crashes immediately when reading the large file. Your recommendation is to go to the SVN version? This is a program I've been working on for several years that I want to distribute to the community in the near future.

Thanks for your help.

Henry

Posted: 12.03.2008, 06:41
by Vincent
hharris wrote:Vincent,

I tried changing celestia.cfg to "allow" and 1.5 still crashes immediately when reading the large file.

Henry,

Could you send me your large script so that I can test it on my system?