PixInsight Forum (historical)

PixInsight => General => Off-topic => Topic started by: johnrt on 2010 December 21 15:25:23

Title: 1.6.9 Mac scripts
Post by: johnrt on 2010 December 21 15:25:23
Hi,

Just a question about my install on Mac of the newest PI version. After uninstalling old version and installing the new version all the scripts listed under the drop down menu cannot be found by PI anymore. These are all standard scripts not ones I have added. These were all present under the previous version.

Title: Re: 1.6.9 Mac scripts
Post by: Juan Conejero on 2010 December 22 03:04:26
Hi John,

That usually happens when the user moves the PixInsight.app application bundle after having executed PixInsight. Most Mac applications can be freely moved without problems, but not PixInsight. Once you have run the PixInsight Core application, you shouldn't move the bundle because PI is a modular system. It expects to find some files (modules and scripts) at fixed location on your machine's filesystem.

Fixing this problem is very easy, though. The easiest way is removing the configuration file for PixInsight. With Finder, open your Library folder. Under Library, look for a PixInsight folder (Library/PixInsight). Remove the PixInsight32.plist file (and/or PixInsight64.plist, if you are using both 32-bit and 64-bit versions). This will reset the whole PixInsight settings to the old state (previous to 1.6.9), and everything will work normally again.

In future versions I'll try to make PixInsight more robust against movements of the application bundle.
Title: Re: 1.6.9 Mac scripts
Post by: Jack Harvey on 2010 December 23 08:24:49
I did remove my previous version of PixInsight when I installed the 64 bit OS version.  Removed the plist file but still no scripts

>Processing script file: /Users/coyyote/Desktop/PixInsight.app/Contents/src/scripts/BackgroundEnhance.js
Unable to open file: /Users/coyyote/Desktop/PixInsight.app/Contents/src/scripts/BackgroundEnhance.js: No such file or directory
Title: Re: 1.6.9 Mac scripts
Post by: Juan Conejero on 2010 December 24 04:20:29
Hi Jack,

Please remove all existing .plist files on your Library/PixInsight folder (PixInsight32.plist and PixInsight64.plist). Then make sure you have the PixInsight.app application bundle copied where you want to have it (usually on /Applications or a subfolder there, though not necessarily on that location), and don't move it. This must fix the issue.
Title: Re: 1.6.9 Mac scripts
Post by: Jack Harvey on 2010 December 24 12:40:12
Yep Thanks
Title: Re: 1.6.9 Mac scripts
Post by: Jack Harvey on 2010 December 27 11:49:49
Well I thought all was ok but now I have lost my scripts again.  Same issue with NO File Exists when I call for a script from the Scripts>Utilities menu:-(
Title: Re: 1.6.9 Mac scripts
Post by: Carlos Milovic on 2010 December 27 12:05:30
Not a solution, but a workaround: open the code with the ScriptEditor, and then press F9.
Title: Re: 1.6.9 Mac scripts
Post by: Jack Harvey on 2010 December 27 13:40:37
Thanks
Title: Re: 1.6.9 Mac scripts
Post by: johnrt on 2011 January 07 00:26:25
This fixed the problem - thanks Juan.