@reyalp Camera take a picture and saved on sdcard. Every thing run on win7. On CHDKPTP if double click shoot half button it show "ERROR: a script is already running" but not take a picture.
with chdkptp, did you get the camera in record mode? You should get a different error if not, but there could be problem with get_mode()
Assuming yes this means using script key press work, but shoot() does not.
If you use
shoot()
in a script, does it take a picture and then hang, or not take a picture at all?
Generally, if key presses work, it's likely to be a problem with PROPCASE_SHOOTING or the raw hook.
PROPCASE_SHOOTING behave like:
no shoot keys pressed, shooting not in progress = 0
half shoot pressed, autofocus and auto exposure ready >= 1
shot finished = 0
You can check with a script, get the propcase before shooting, immediately after pressing half shoot, half a second after pressing halfshoot, after clicking full shoot, and so on.
As I mentioned before, on G7 X and some other digic 6 cameras the old propcase shooting doesn't exist, so a workaround is needed. See
https://chdk.setepontos.com/index.php?topic=12692.msg126797#msg126797 Your problem doesn't sound exactly like this.
If PROPCASE_SHOOTING seems OK, check that raw_process gets called