Author Topic: 1.6.9 Mac scripts  (Read 5606 times)

Offline johnrt

  • Newcomer
  • Posts: 22
    • My Flickr Page
1.6.9 Mac scripts
« 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.


Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: 1.6.9 Mac scripts
« Reply #1 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.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Jack Harvey

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 975
    • PegasusAstronomy.com & Starshadows.com
Re: 1.6.9 Mac scripts
« Reply #2 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
Jack Harvey, PTeam Member
Team Leader, SSRO/PROMPT Imaging Team, CTIO

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: 1.6.9 Mac scripts
« Reply #3 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.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Jack Harvey

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 975
    • PegasusAstronomy.com & Starshadows.com
Re: 1.6.9 Mac scripts
« Reply #4 on: 2010 December 24 12:40:12 »
Yep Thanks
Jack Harvey, PTeam Member
Team Leader, SSRO/PROMPT Imaging Team, CTIO

Offline Jack Harvey

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 975
    • PegasusAstronomy.com & Starshadows.com
Re: 1.6.9 Mac scripts
« Reply #5 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:-(
Jack Harvey, PTeam Member
Team Leader, SSRO/PROMPT Imaging Team, CTIO

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: 1.6.9 Mac scripts
« Reply #6 on: 2010 December 27 12:05:30 »
Not a solution, but a workaround: open the code with the ScriptEditor, and then press F9.
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline Jack Harvey

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 975
    • PegasusAstronomy.com & Starshadows.com
Re: 1.6.9 Mac scripts
« Reply #7 on: 2010 December 27 13:40:37 »
Thanks
Jack Harvey, PTeam Member
Team Leader, SSRO/PROMPT Imaging Team, CTIO

Offline johnrt

  • Newcomer
  • Posts: 22
    • My Flickr Page
Re: 1.6.9 Mac scripts
« Reply #8 on: 2011 January 07 00:26:25 »
This fixed the problem - thanks Juan.