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
Celestia 1.5 Mac OS Crashes with Large Scripts
-
- Developer
- Posts: 1356
- Joined: 07.01.2005
- With us: 19 years 10 months
- Location: Nancy, France
Re: Celestia 1.5 Mac OS Crashes with Large Scripts
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.
@+
Vincent
Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3
Vincent
Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3
-
Topic authorhharris
- Posts: 79
- Joined: 23.02.2006
- With us: 18 years 9 months
- Location: Pasadena, CA 91104
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
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
-
- Developer
- Posts: 1356
- Joined: 07.01.2005
- With us: 19 years 10 months
- Location: Nancy, France
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?
@+
Vincent
Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3
Vincent
Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3