Using Octolapse with D3100

So...I followed the instructions from FormerLurker for setting up Octolapse with a DSLR, and I have run into a slight snag.

I'm using a Nikon D3100, which is on the list of compatible DSLRs. What's more, I am able to successfully trigger the shutter through an ssh connection using:

gphoto2 --capture-image

It returns an error when I do it, but the camera successfully takes the picture. It also works with:

gphoto2 --capture-image-and-download

The error is "PTP Operation Not Supported."

I figured this error shouldn't really be an issue if I just want the images to store on the camera's SD card, so I followed the instructions for setting up a DSLR with no download and tested a print.

The camera was taking pictures exactly when it should, and Octolapse was even successfully building a preview, but it was reporting errors every time, stating that the image capture was unsuccessful, and when done, the pictures are nowhere to be found.

Any suggestions for a workaround, or even if I could just get the pictures to stay on the SD and have Octolapse ignore the errors? Error log is attached.

Edited to clarify: Nikon, starting with the 3000 series cameras, no longer gives the option to enable PTP mode, opting instead to have the camera permanently in PTP mode. I figure the error is in Octolapse checking for a setting that specifies that it is in PTP, and not finding it...but then all the relevant commands work.

plugin_octolapse.log (22.3 KB)

Ok, I have (kinda) solved it.

In take-snapshot.sh, I changed

sudo gphoto2 --auto-detect --capture-image-and-download --filename "${SNAPSHOT_FULL_PATH}"

to

sudo gphoto2 --auto-detect --capture-image

It still throws up a bunch of errors, and now the preview doesn't work (no surprise there), and it is likely wasting time waiting for a connection with the camera from other bits of code that I haven't thought to check, but at least now when all is said and done, I have the timelapse pictures stored on the camera. Good enough for me for now.