problems with lua on ixus185 (was Re: Ultimate Intervalometer...) - General Help and Assistance on using CHDK stable releases - CHDK Forum

problems with lua on ixus185 (was Re: Ultimate Intervalometer...)

  • 47 Replies
  • 12180 Views
Advertisements
Attempting to run script on IXUX 185

Wont run, Receiving error message: age.preload'drawings no file A/CHDK/SCRIPTS/drawings.lua

CHDk/LUALIB/drawings.lua

***Terminated***

any suggestions?

Thanks
Michael
« Last Edit: 20 / March / 2020, 01:17:35 by reyalp »

Reloaded to try again. Now different error:

"Unexpected symbol near 'char(239)'

TERMINATED.

*

Offline reyalp

  • ******
  • 14119
Reloaded to try again. Now different error:

"Unexpected symbol near 'char(239)'

TERMINATED.
Usually, errors like this happen when the file isn't saved as plain ASCII text. Did you edit the file?
Don't forget what the H stands for.

Just copied across as Lua file no editing. I seem to be able to save and Bas files (e.g. countdown intervalometer) but not Lua files. Is there a trick to copying and saving Lua scripts? Thanks.


*

Offline reyalp

  • ******
  • 14119
Just copied across as Lua file no editing. I seem to be able to save and Bas files (e.g. countdown intervalometer) but not Lua files. Is there a trick to copying and saving Lua scripts? Thanks.
If you just download the file and copy it to the SD card using your computers normal file copy, there should be no difference between bas and lua files, and no change to the content.

If you are copy / pasting code, you need to use a plain text editor (like notepad on windows) and save the file as ASCII text. However, assuming you are using the script in this thread, you shouldn't need to do this because there's a download link in the first post.

edit:
If you are being prompted to download or open the file, you should download.
Don't forget what the H stands for.

Hmmm still no good.

Formatted SD card and loaded CHDK again.

Copied across lua to Script folder.

Loaded script. Set on 2 minute interval (no other functionality).

Went back into main screen, pressed shutter to run: Same error message as first. time. TERMINATED.

No go.



Hmmm still no good.
Formatted SD card and loaded CHDK again.
Copied across lua to Script folder.
Loaded script. Set on 2 minute interval (no other functionality).
Went back into main screen, pressed shutter to run: Same error message as first. time. TERMINATED.
No go.
@reyalp's suggests that you have a corrupted script file.  Everything you describe here would just cause you to reload the same corrupted file again.

Please post your version of the script file as an attachment here so that we can check it.
Ported :   A1200    SD940   G10    Powershot N    G16

I am just downloading the script file directly from Post 1 in this thread and copying it straight to the SD card.


I also tried the battery saver intervalometer script. But also receiving an error:
'reload'wrap 13
18/wrap13.lua
***TERMINATED***



*

Offline reyalp

  • ******
  • 14119
Split from the ultimate thread since it doesn't seem specific to that script.
I also tried the battery saver intervalometer script. But also receiving an error:
'reload'wrap 13
18/wrap13.lua
***TERMINATED***
That's very strange. Can you try the llibtst.lua script included with CHDK in the TEST directory?
Don't forget what the H stands for.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal