Scripting saved parameter set problems

  • 2 Replies
  • 721 Views
Scripting saved parameter set problems
« on: 22 / July / 2013, 21:14:13 »
Advertisements
I continue to have strange problems with scripting parameter sets.   For example, while script testing today, I pressed Func/Set and was greeted with this :

The files from the CHDK/DATA directory for that script name ( lecshoot.lua ) are attached.  Curiously,  the file date is three weeks out of date - and I just created that filename tonight.

After seeing this,  I save the files and then completely erased my CHDK/DATA directory (logo gone too :) )  and restarted.  Now as I enter and exit the script menu, the number of the Parameter set it displays seems to be random - 3 or 8 so far, even though I have never selected or used those ones.  Most times it works right - other times its weird.  Sort of the thing you see with uninitialized variables - or maybe a module load problem.  I really don't know.

The new LECSHOOT.cfg & LEDSHOOT_0 files appear correct - but the file date on the LECSHOOT.cfg is Jul 2!  (Yes .. the time & date on my camera are correct - and the LECSHOOT_0 file has the correct time & date).

Not sure what else to say other than to log this here  ( fwiw :  A1200 fw 1.00c  running CHDK 1.2.0 rev 2931 )



« Last Edit: 22 / July / 2013, 21:17:27 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3070
    • Photos
Re: Scripting saved parameter set problems
« Reply #1 on: 22 / July / 2013, 21:25:24 »
I found a problem last night, when I was testing the console issue raised by lapser.

Will post a fix when I've finished testing.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)

Re: Scripting saved parameter set problems
« Reply #2 on: 22 / July / 2013, 21:31:23 »
I found a problem last night, when I was testing the console issue raised by lapser.
Thanks!  I've struggle with understanding the right keyboard sequence to using params in the past  ( I think that resulted in your adding the "Default" option after one of our long conversations about it .)  Almost didn't post the above tonight figuring it was another PEBKAC thing.
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics