Author Topic: Problem with SHO-AIP.  (Read 7652 times)

Offline Giorgio

  • PixInsight Addict
  • ***
  • Posts: 140
Problem with SHO-AIP.
« on: 2013 April 04 04:55:43 »
Hi,
I have this error with RC5 and the script SHO,

Processing script file: C:/Program Files/PixInsight/src/scripts/SHO-AIP.js
*** Error [000]: C:/Program Files/PixInsight/src/scripts/SHO-AIP.js, line 52: Error: Control.Set(): invalid argument type: unsigned integer value expected.

Windows i7 64bit
thanks.
Giorgio.

Offline Philippe B.

  • PixInsight Old Hand
  • ****
  • Posts: 399
    • CIEL AUSTRAL
Re: Problem with SHO-AIP.
« Reply #1 on: 2013 April 04 05:15:43 »
It doesn't come from the script but from the update (maybe)

http://pixinsight.com/forum/index.php?topic=5325.msg37304#msg37304


Offline derrickf

  • Newcomer
  • Posts: 24
Re: Problem with SHO-AIP.
« Reply #2 on: 2013 April 04 05:22:55 »
Hi Giorgio,
I'd be interested to know if the solution proposed by Philippe works for you - I tried it (see my message in the thread referenced by Philippe above) but it did not resolve the problem

Regards
Derrick

Hi,
I have this error with RC5 and the script SHO,

Processing script file: C:/Program Files/PixInsight/src/scripts/SHO-AIP.js
*** Error [000]: C:/Program Files/PixInsight/src/scripts/SHO-AIP.js, line 52: Error: Control.Set(): invalid argument type: unsigned integer value expected.

Windows i7 64bit
thanks.
Giorgio.

Offline Giorgio

  • PixInsight Addict
  • ***
  • Posts: 140
Re: Problem with SHO-AIP.
« Reply #3 on: 2013 April 04 07:51:46 »
Hello Philippe and Derrick,
I did just like Derrick, but does not work.
thanks also.
Giorgio.

Offline Philippe B.

  • PixInsight Old Hand
  • ****
  • Posts: 399
    • CIEL AUSTRAL
Re: Problem with SHO-AIP.
« Reply #4 on: 2013 April 04 08:21:11 »
Ok, I was able to reset PI and got the error message !!!

will see what I can find

 >:(

Offline Giorgio

  • PixInsight Addict
  • ***
  • Posts: 140
Re: Problem with SHO-AIP.
« Reply #5 on: 2013 April 04 08:37:31 »
Thanks for the 'help Philippe.    ;) 8)

Offline Philippe B.

  • PixInsight Old Hand
  • ****
  • Posts: 399
    • CIEL AUSTRAL
Re: Problem with SHO-AIP.
« Reply #6 on: 2013 April 04 09:17:38 »
OK I found a solution !!!!

Don't ask me "WHY" because I don't know what happen

I reseted all and I installed RC4... same problem !!! But it was working before !!! So I go step by step to look where was the problem.


So, do EXACTELY the following steps :

1) UNINSTALL RC5
2) Erase temp directories
3) INSTALL RC4
4) RESET SETTINGS
5) LAUNCH RC4
6) Dont do the updates
7) Change the 2 directories (swap & download) and put them in another place (me hard drive) and apply
8 ) Close PI RC4
9) Launch it again and make the update and launch again to install them
10) if you test SHO it will run fine (if not, you have a problem  ??? )
11) UNINSTALL RC4
12) INSTALL RC5
13) don't do reset settings
14) Launch RC5
15) check the download directory and if it is the new you put on RC4, do the update
16) close PI for install updates
17) launch PI RC5
18) load an image and run SHO, it should work

If it is working for you, don't ask me what happens  :angel:   I don't know !
But the SHO script seems to have no problem ?


 

Offline derrickf

  • Newcomer
  • Posts: 24
Re: Problem with SHO-AIP.
« Reply #7 on: 2013 April 04 09:30:33 »
 Hi Philippe,
I won't be able to try this until tomorrow but I'll report back when I have followed the steps above.
Thanks for taking the time to help with this problem.
Regards
Derrick

Offline Giorgio

  • PixInsight Addict
  • ***
  • Posts: 140
Re: Problem with SHO-AIP.
« Reply #8 on: 2013 April 05 01:02:01 »
Hello Philippe
no I ask why, but I tell you that it worked.
You're the genius of the lamp.  ;)
Thank you.
Giorgio.

Offline Philippe B.

  • PixInsight Old Hand
  • ****
  • Posts: 399
    • CIEL AUSTRAL
Re: Problem with SHO-AIP.
« Reply #9 on: 2013 April 05 01:48:04 »
Hi Giorgio
glad to heard that !!!
Hope it will work for Derrick too  ;)

Hope Juan will tell us where is the problem  :angel:

Offline blaurent

  • Newcomer
  • Posts: 21
Re: Problem with SHO-AIP.
« Reply #10 on: 2013 April 05 02:15:20 »
I thing it's install problem too,  but you can do more  simple

you use  script editor and you open  "SHO-AIP.JS"   you desable some lines like this with  " // "



Offline Philippe B.

  • PixInsight Old Hand
  • ****
  • Posts: 399
    • CIEL AUSTRAL
Re: Problem with SHO-AIP.
« Reply #11 on: 2013 April 05 02:32:41 »
Yesssss Laurent
Your method is working fine with RESET CONFIGURATION and original swap/download directories

 8)



Offline derrickf

  • Newcomer
  • Posts: 24
Re: Problem with SHO-AIP.
« Reply #12 on: 2013 April 05 05:39:39 »
I edited the script as detailed by Laurent and I now have a working SHO - excellent  8) 8) 8)

Thanks to Philippe and Laurent for taking the time to investigate and to fix this strange problem.

Regards
Derrick

Offline Giorgio

  • PixInsight Addict
  • ***
  • Posts: 140
Re: Problem with SHO-AIP.
« Reply #13 on: 2013 April 05 10:01:16 »
Hello friends
SHO script now works, but when you save the project occurs crasck. But only after using the script SHO-AIP.
Derrick Also happens to you.   
Giorgio.

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Problem with SHO-AIP.
« Reply #14 on: 2013 April 05 14:14:23 »
Hi Laurent,

I have just released a standard SectionBar JavaScript object that I hope will help you with these issues:

http://pixinsight.com/forum/index.php?topic=5443

The new SectionBar control is right now available for RC5 on all platforms, as I have released it as an update. This control saves you the burden of implementing collapsible dialog sections, and provides a look&feel consistent with the rest of tools on the platform. Let me know if you find it useful.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/