×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Canon 6D captures, but only after failing 1st or 2nd capture

  • Posts: 61
  • Thank you received: 12
I have a Raspberry PI 3 running as server- updated religiously, connected by wireless or LAN (used both)
I use either a laptop or desktop with KStars.

The Canon 6D connects, shutter works, but each capture fails during a first attempt- sometimes even during a second or third.

I have tried 1.0s, 5.0s, 10.0s, 60.0s, and 420.0s exposures, as well as a combination of delays up to 60s. The issue persists. I have perused the forums here in search of a solution, and cannot find much. Will uploading logs be different between using the Pi locally versus using a client like my desktop or laptop?

This is my first post, but judging from some of the errors I've run into, I will be posting often. Very impressed by EKOS, KStars, and INDI- only frustrated by these issues and eager to solve them.

Best,

Jacob Nowatzke

From 5s exposure flow; the first 5s capture (or 420s- whichever length of exposure is set) finishes, but then is restarted after failure.
2017-09-05T09:26:08 Capturing image...
2017-09-05T09:26:08 Received image 1 out of 3.
2017-09-05T09:25:16 Capturing image...
2017-09-05T09:25:16 Restarting capture attempt #1
2017-09-05T09:25:16 Capture failed. Check INDI Control Panel for details.
2017-09-05T09:25:00 Capturing image...
6 years 6 months ago #19102

Please Log in or Create an account to join the conversation.

Please post logs from INDI GPhoto driver. Make sure to turn logging to file _before_ you connect. Then after you're done attach the log.
6 years 6 months ago #19105

Please Log in or Create an account to join the conversation.

  • Posts: 61
  • Thank you received: 12
Sorry, Jasem- should I be using gphoto versus canon? Both give the same problem:

Log for Canon:
INFO 89.168899 sec : Session log file /home/jake/.indi/logs/2017-09-06/indi_canon_ccd/indi_canon_ccd_03:14:04.log
WARNING 174.856788 sec : The CCD does not have a shutter. Cover the camera in order to take a dark frame.
INFO 174.961633 sec : Starting 5 sec exposure
ERROR 190.794153 sec : Exposure failed to save image... Unspecified error
INFO 190.921353 sec : Starting 5 sec exposure
INFO 198.488220 sec : Exposure done, downloading image...
INFO 238.661332 sec : Starting 5 sec exposure
ERROR 253.720781 sec : Exposure failed to save image... Unspecified error
INFO 253.851347 sec : Starting 5 sec exposure
INFO 261.429541 sec : Exposure done, downloading image...
INFO 300.619076 sec : Starting 5 sec exposure
ERROR 315.678199 sec : Exposure failed to save image... Unspecified error
INFO 315.864855 sec : Starting 5 sec exposure
INFO 323.450222 sec : Exposure done, downloading image...

Attached is the full KStars log for this run. Is it proper for me to attach this file rather than the specific Canon log, above?

Thanks for your help, Jasem.

File Attachment:

File Name: log_20-14-22.txt
File Size:18 KB
6 years 6 months ago #19122
Attachments:

Please Log in or Create an account to join the conversation.

Canon driver not set to DEBUG LOGGING.
1. Uncheck Auto Connect in your Equipment Profile. Save profile.
2. Start INDI
3. Go to INDI Control Panel --> Canon Driver Tab --> Options Tab --> Enable Debug: Then check Driver Debug under Logging, and Log to File.
4. Click Connect in Main Control Panel.
5. Perform exposure.
6. Submit log file.
The following user(s) said Thank You: Jacob Nowatzke
6 years 6 months ago #19126

Please Log in or Create an account to join the conversation.

  • Posts: 61
  • Thank you received: 12
Thank you for the direct layman's walkthrough. I've attached the file per your instruction. Will you share at what line(s) you find a problem, so that I may inspect future log files for like issues? Thank you, Jasem.

Best,
Jacob
6 years 6 months ago #19144
Attachments:

Please Log in or Create an account to join the conversation.

Can you reliably capture a sequence of images with GPhoto command line tool?
6 years 6 months ago #19147

Please Log in or Create an account to join the conversation.

  • Posts: 61
  • Thank you received: 12
Would you kindly provide me a link to a method for doing so?

Thank you
6 years 6 months ago #19159

Please Log in or Create an account to join the conversation.

Try this:
gphoto2 --debug --debug-logfile=gphoto.txt  -F 5 --capture-image-and-download
6 years 6 months ago #19174

Please Log in or Create an account to join the conversation.

  • Posts: 61
  • Thank you received: 12
Trying that at first showed it was not installed (I am following, mostly, this beginner's guide by James Taylor from Dec2016).

So, I installed gphoto2, tried your command twice; once without camera on and the command quickly told me it was not, a second time with the camera on bulb- it showed, after some latency, that it could not capture. I exited out of the prompt and ran
indi-web -v
, opened KStars on my laptop, and attempted to connect to the Pi as usual- it did not work;
2017-09-07T22:53:57 Failed to connect to remote INDI server!
2017-09-07T22:53:15 Connecting to remote INDI server at 192.168.0.15 on port 7624 ...
2017-09-07T22:53:15 Warning: INDI Web Manager is not online.
2017-09-07T22:52:31 Establishing communication with remote INDI Web Manager...
2017-09-07T22:52:31 Site location updated to Eureka, California, USA.

I updated && upgraded before any of this, as has become ritual, so I cannot say that it is because I installed (and later purged) gphoto2.
I will reinstall the latest backup image (thankfully from past week) to confirm it is indeed gphoto2 causing the issue.
6 years 6 months ago #19211

Please Log in or Create an account to join the conversation.

  • Posts: 61
  • Thank you received: 12
Seems the static IP switched to dynamic after update. Will save such a concern for later, as the frustration with the Canon6D must be dealt with.

Here is output from your suggestions:
jake@astroMATE:~$ gphoto2 --debug --debug-logfile=gphoto.txt  -F 5 --capture-image-and-download
 
*** Error ***              
An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Device or resource busy). Make sure no other program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error (-53: 'Could not claim the USB device') ***

edit:
Shortly after trying this,
jake@astroMATE:~$ gphoto2 --debug --debug-logfile=gphoto.txt  -F 5 --capture-image-and-download
ERROR: Could not capture image.                                                
ERROR: Could not capture.

I believe 'Could not claim the USB device' was due to having just exited out of indi.
Last edit: 6 years 6 months ago by Jacob Nowatzke.
6 years 6 months ago #19240
Attachments:

Please Log in or Create an account to join the conversation.

It's still failing with some USB error. Try changing cable, connect to different port on your RPI3 or use external USB hub. Check batteries and make sure they are at least 25% full. Make sure your camera SD card is not full.

Try to use this also and see if it works: dslrdashboard.info/downloads/
Last edit: 6 years 6 months ago by Jasem Mutlaq.
6 years 6 months ago #19241

Please Log in or Create an account to join the conversation.

  • Posts: 61
  • Thank you received: 12
The USB message only presents itself when I am connected in KStars from laptop to indi-web on Pi. Shortly after disconnecting from indi, the message does not appear.

I did notice that I'm being told to disable AF on the DSLR, but it has always been disable. Further, I've switched from M to BULB on the camera, now, and it hasn't taken me any further. Honestly, this is pushing me to sell the 6D and get a 4/3 mono CMOS from ZWO, but I know others have used the 6D because I've read through posts here discussing just that. It seems that the issue has gotten worse in that I have not actually captured an image in a few days, though the shutter has cycled probably a couple hundred times, consistently giving messages such as is below (which was a single, 1sec light frame capture:
2017-09-09T06:36:02: Reading exposure... 
2017-09-09T06:36:01: Starting 1 sec exposure 
2017-09-09T06:36:01: Exposure started 
2017-09-09T06:36:01: Using predefined exposure time: -1 seconds 
2017-09-09T06:36:01: Setting new configuration OK. 
2017-09-09T06:36:01: Setting radio/menu widget shutterspeed: 0 (bulb) 
2017-09-09T06:36:01: Best match: -1 seconds Index: 0 
2017-09-09T06:36:01: Finding optimal exposure setting for 1 seconds in shutterspeed (count=1)... 
2017-09-09T06:36:01: Using camera predefined exposure ranges. 
2017-09-09T06:36:01: Setting new configuration OK. 
2017-09-09T06:36:01: Setting radio/menu widget imageformat: 32 (RAW) 
2017-09-09T06:36:01: Setting new configuration OK. 
2017-09-09T06:36:01: Setting radio/menu widget iso: 13 (1600) 
2017-09-09T06:36:01:   Mutex locked 
2017-09-09T06:36:01: Starting exposure (exptime: 1 secs, mirror lock: 0) 
2017-09-09T06:36:01: Make sure BULB switch is ON in the camera. Try setting AF switch to OFF. 
2017-09-09T06:36:01: Exposure failed to save image... Directory not found 
2017-09-09T06:36:01: Setting new configuration OK. 
2017-09-09T06:36:01: Setting radio/menu widget shutterspeed: 0 (bulb) 
2017-09-09T06:36:01: Setting new configuration OK. 
2017-09-09T06:36:01: Setting radio/menu widget imageformat: 32 (RAW) 
2017-09-09T06:36:01: Setting new configuration OK. 
2017-09-09T06:36:01: Setting radio/menu widget iso: 13 (1600) 
2017-09-09T06:36:01: Error downloading image from camera: Directory not found 
2017-09-09T06:36:01: Downloading result: -107 
2017-09-09T06:36:01: Downloading / 
2017-09-09T06:36:01: gp_file_new_from_fd result: 0 
2017-09-09T06:36:01: Exposure complete 
2017-09-09T06:35:02: Reading exposure... 
2017-09-09T06:35:01: Starting 1 sec exposure 
2017-09-09T06:35:01: Exposure started 
2017-09-09T06:35:01: Using predefined exposure time: -1 seconds 
2017-09-09T06:35:01: Setting new configuration OK. 
2017-09-09T06:35:01: Setting radio/menu widget shutterspeed: 0 (bulb) 
2017-09-09T06:35:01: Best match: -1 seconds Index: 0 
2017-09-09T06:35:01: Finding optimal exposure setting for 1 seconds in shutterspeed (count=1)... 
2017-09-09T06:35:01: Using camera predefined exposure ranges. 
2017-09-09T06:35:01: Setting new configuration OK. 
2017-09-09T06:35:01: Setting radio/menu widget imageformat: 32 (RAW) 
2017-09-09T06:35:01: Setting new configuration OK. 
2017-09-09T06:35:01: Setting radio/menu widget iso: 13 (1600) 
2017-09-09T06:35:01:   Mutex locked 
2017-09-09T06:35:01: Starting exposure (exptime: 1 secs, mirror lock: 0) 
2017-09-09T06:35:00: Make sure BULB switch is ON in the camera. Try setting AF switch to OFF. 
2017-09-09T06:35:00: Exposure failed to save image... Directory not found 
2017-09-09T06:35:00: Setting new configuration OK. 
2017-09-09T06:35:00: Setting radio/menu widget shutterspeed: 0 (bulb) 
2017-09-09T06:35:00: Setting new configuration OK. 
2017-09-09T06:35:00: Setting radio/menu widget imageformat: 32 (RAW) 
2017-09-09T06:35:00: Setting new configuration OK. 
2017-09-09T06:35:00: Setting radio/menu widget iso: 13 (1600) 
2017-09-09T06:35:00: Error downloading image from camera: Directory not found 
2017-09-09T06:35:00: Downloading result: -107 
2017-09-09T06:35:00: Downloading / 
2017-09-09T06:35:00: gp_file_new_from_fd result: 0 
2017-09-09T06:35:00: Exposure complete 
2017-09-09T06:34:01: Reading exposure... 
2017-09-09T06:34:00: Starting 1 sec exposure 
2017-09-09T06:34:00: Exposure started 
2017-09-09T06:34:00: Using predefined exposure time: -1 seconds 
2017-09-09T06:34:00: Setting new configuration OK. 
2017-09-09T06:34:00: Setting radio/menu widget shutterspeed: 0 (bulb) 
2017-09-09T06:34:00: Best match: -1 seconds Index: 0 
2017-09-09T06:34:00: Finding optimal exposure setting for 1 seconds in shutterspeed (count=1)... 
2017-09-09T06:34:00: Using camera predefined exposure ranges. 
2017-09-09T06:34:00: Setting new configuration OK. 
2017-09-09T06:34:00: Setting radio/menu widget imageformat: 32 (RAW) 
2017-09-09T06:34:00: Setting new configuration OK. 
2017-09-09T06:34:00: Setting radio/menu widget iso: 13 (1600) 
2017-09-09T06:34:00:   Mutex locked 
2017-09-09T06:34:00: Starting exposure (exptime: 1 secs, mirror lock: 0) 
2017-09-09T06:34:00: Make sure BULB switch is ON in the camera. Try setting AF switch to OFF. 
2017-09-09T06:34:00: Exposure failed to save image... Directory not found 
2017-09-09T06:34:00: Setting new configuration OK. 
2017-09-09T06:34:00: Setting radio/menu widget shutterspeed: 0 (bulb) 
2017-09-09T06:34:00: Setting new configuration OK. 
2017-09-09T06:34:00: Setting radio/menu widget imageformat: 32 (RAW) 
2017-09-09T06:34:00: Setting new configuration OK. 
2017-09-09T06:34:00: Setting radio/menu widget iso: 13 (1600) 
2017-09-09T06:34:00: Error downloading image from camera: Directory not found 
2017-09-09T06:34:00: Downloading result: -107 
2017-09-09T06:34:00: Downloading / 
2017-09-09T06:34:00: gp_file_new_from_fd result: 0 
2017-09-09T06:34:00: Exposure complete 
2017-09-09T06:33:01: Reading exposure... 
2017-09-09T06:33:00: Starting 1 sec exposure 
2017-09-09T06:33:00: Exposure started 
2017-09-09T06:33:00: Using predefined exposure time: -1 seconds 
2017-09-09T06:33:00: Setting new configuration OK. 
2017-09-09T06:33:00: Setting radio/menu widget shutterspeed: 0 (bulb) 
2017-09-09T06:33:00: Best match: -1 seconds Index: 0 
2017-09-09T06:33:00: Finding optimal exposure setting for 1 seconds in shutterspeed (count=1)... 
2017-09-09T06:33:00: Using camera predefined exposure ranges. 
2017-09-09T06:33:00: Setting new configuration OK. 
2017-09-09T06:33:00: Setting radio/menu widget imageformat: 32 (RAW) 
2017-09-09T06:33:00: Setting new configuration OK. 
2017-09-09T06:33:00: Setting radio/menu widget iso: 13 (1600) 
2017-09-09T06:33:00:   Mutex locked 
2017-09-09T06:33:00: Starting exposure (exptime: 1 secs, mirror lock: 0) 
2017-09-09T06:33:00: Make sure BULB switch is ON in the camera. Try setting AF switch to OFF. 
2017-09-09T06:33:00: Exposure failed to save image... Directory not found 
2017-09-09T06:33:00: Setting new configuration OK. 
2017-09-09T06:33:00: Setting radio/menu widget shutterspeed: 0 (bulb) 
2017-09-09T06:33:00: Setting new configuration OK. 
2017-09-09T06:33:00: Setting radio/menu widget imageformat: 32 (RAW) 
2017-09-09T06:33:00: Setting new configuration OK. 
2017-09-09T06:33:00: Setting radio/menu widget iso: 13 (1600) 
2017-09-09T06:33:00: Error downloading image from camera: Directory not found 
2017-09-09T06:33:00: Downloading result: -107 
2017-09-09T06:33:00: Downloading / 
2017-09-09T06:33:00: gp_file_new_from_fd result: 0 
2017-09-09T06:33:00: Exposure complete 
2017-09-09T06:32:01: Reading exposure... 
2017-09-09T06:32:00: Starting 1 sec exposure 
2017-09-09T06:32:00: Exposure started 
2017-09-09T06:32:00: Using predefined exposure time: -1 seconds 
2017-09-09T06:32:00: Setting new configuration OK. 
2017-09-09T06:32:00: Setting radio/menu widget shutterspeed: 0 (bulb) 
2017-09-09T06:32:00: Best match: -1 seconds Index: 0 
2017-09-09T06:32:00: Finding optimal exposure setting for 1 seconds in shutterspeed (count=1)... 
2017-09-09T06:32:00: Using camera predefined exposure ranges. 
2017-09-09T06:32:00: Setting new configuration OK. 
2017-09-09T06:32:00: Setting radio/menu widget imageformat: 32 (RAW) 
2017-09-09T06:32:00: Setting new configuration OK. 
2017-09-09T06:32:00: Setting radio/menu widget iso: 13 (1600) 
2017-09-09T06:32:00:   Mutex locked 
2017-09-09T06:32:00: Starting exposure (exptime: 1 secs, mirror lock: 0) 
2017-09-09T06:32:00: Make sure BULB switch is ON in the camera. Try setting AF switch to OFF. 
2017-09-09T06:32:00: Exposure failed to save image... Directory not found 
2017-09-09T06:32:00: Setting new configuration OK. 
2017-09-09T06:32:00: Setting radio/menu widget shutterspeed: 0 (bulb) 
2017-09-09T06:32:00: Setting new configuration OK. 
2017-09-09T06:32:00: Setting radio/menu widget imageformat: 32 (RAW) 
2017-09-09T06:32:00: Setting new configuration OK. 
2017-09-09T06:32:00: Setting radio/menu widget iso: 13 (1600) 
2017-09-09T06:32:00: Error downloading image from camera: Directory not found 
2017-09-09T06:32:00: Downloading result: -107 
2017-09-09T06:32:00: Downloading / 
2017-09-09T06:32:00: gp_file_new_from_fd result: 0 
2017-09-09T06:31:01: Reading exposure... 
2017-09-09T06:31:00: Starting 1 sec exposure 
2017-09-09T06:31:00: Exposure started 
2017-09-09T06:31:00: Using predefined exposure time: -1 seconds 
2017-09-09T06:31:00: Setting new configuration OK. 
2017-09-09T06:31:00: Setting radio/menu widget shutterspeed: 0 (bulb) 
2017-09-09T06:31:00: Best match: -1 seconds Index: 0 
2017-09-09T06:31:00: Finding optimal exposure setting for 1 seconds in shutterspeed (count=1)... 
2017-09-09T06:31:00: Using camera predefined exposure ranges. 
2017-09-09T06:31:00: Setting new configuration OK. 
2017-09-09T06:31:00: Setting radio/menu widget imageformat: 32 (RAW) 
2017-09-09T06:31:00: Setting new configuration OK. 
2017-09-09T06:31:00: Setting radio/menu widget iso: 13 (1600) 
2017-09-09T06:31:00:   Mutex locked 
2017-09-09T06:31:00: Starting exposure (exptime: 1 secs, mirror lock: 0) 
2017-09-09T06:31:00: 2017-09-09T06:32:00: Exposure complete 
 
2017-09-09T06:31:00: Exposure failed to save image... Directory not found 
2017-09-09T06:31:00: Setting new configuration OK. 
2017-09-09T06:31:00: Setting radio/menu widget shutterspeed: 0 (bulb) 
2017-09-09T06:31:00: Setting new configuration OK. 
2017-09-09T06:31:00: Setting radio/menu widget imageformat: 32 (RAW) 
2017-09-09T06:31:00: Setting new configuration OK. 
2017-09-09T06:31:00: Setting radio/menu widget iso: 13 (1600) 
2017-09-09T06:31:00: Error downloading image from camera: Directory not found 
2017-09-09T06:31:00: Downloading result: -107 
2017-09-09T06:31:00: Downloading / 
2017-09-09T06:31:00: gp_file_new_from_fd result: 0 
2017-09-09T06:30:01: Reading exposure... 
2017-09-09T06:30:00: Starting 1 sec exposure 
2017-09-09T06:30:00: Exposure started 
2017-09-09T06:30:00: Using predefined exposure time: -1 seconds 
2017-09-09T06:30:00: Setting new configuration OK. 
2017-09-09T06:30:00: Setting radio/menu widget shutterspeed: 0 (bulb) 
2017-09-09T06:30:00: Best match: -1 seconds Index: 0 
2017-09-09T06:30:00: Finding optimal exposure setting for 1 seconds in shutterspeed (count=1)... 
2017-09-09T06:30:00: Using camera predefined exposure ranges. 
2017-09-09T06:30:00: Setting new configuration OK. 
2017-09-09T06:30:00: Setting radio/menu widget imageformat: 32 (RAW) 
2017-09-09T06:30:00: Setting new configuration OK. 2017-09-09T06:31:00: Exposure complete 
 
2017-09-09T06:30:00: Setting radio/menu widget iso: 13 (1600) 
2017-09-09T06:30:00:   Mutex locked 
2017-09-09T06:30:00: Starting exposure (exptime: 1 secs, mirror lock: 0) 

Attached is gphoto2 log without anything during the USB message (during running of indi server)

File Attachment:

File Name: gphoto1.txt
File Size:914 KB
Last edit: 6 years 6 months ago by Jacob Nowatzke.
6 years 6 months ago #19247
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.237 seconds