#937 2.5.1 - capture-tethered with --keep flag deletes file from camera storage.

closed-fixed
None
5
2014-08-22
2013-02-19
Ankur B
No

Hi Marcus,

Sorry to report but capture-tethered and --keep option still does not leave a copy of the image on the camera. I tried both keep as well as no-keep just to make sure. Please let me know if there is any other workaround.

Also note that --capture-image with --keep option does not leave the image on the camera storage either.

Thanks!

gphoto2 --version
gphoto2 2.5.1
Copyright (c) 2000-2013 Lutz Mueller and others
gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.
This version of gphoto2 is using the following software versions and options:
gphoto2 2.5.1 gcc, popt(m), exif, no cdk, no aa, jpeg, no readline
libgphoto2 2.5.1.1 all camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.10.0 gcc, ltdl, USB, serial without locking

This is a duplicate of http://sourceforge.net/p/gphoto/bugs/925/#f3c5. I am creating a new defect since I didn't find an easy way to reopen the original. Please feel free to reopen the original and close this one if that is more appropriate.

Discussion

  • Marcus Meissner

    Marcus Meissner - 2013-05-12
    • assigned_to: Marcus Meissner
     
  • Marcus Meissner

    Marcus Meissner - 2013-05-12

    What image filename does --cpature-image report?

     
  • Ankur B

    Ankur B - 2013-05-13

    I appreciate you taking time to look at this.

    Below is the output from both --keep and --no-keep options. End result with both tests is that the image gets deleted from the camera.

    Let me know if there is anything else you want me to try to help troubleshoot. I can also make minor changes to the code and recompile to assist with issue resolution if you provide some direction.

    $ gphoto2 --capture-tethered --no-keep
    UNKNOWN PTP Property d11b changed
    UNKNOWN unhandled EOS event ShutdownTimerUpdated (size 8)
    UNKNOWN unhandled EOS event ShutdownTimerUpdated (size 8)
    UNKNOWN Camera Status 1
    UNKNOWN PTP Property d11b changed
    Saving file as capt0000.jpg
    Deleting 'capt0000.jpg' from folder '/'...
    UNKNOWN Camera Status 0

    $ gphoto2 --capture-tethered --keep
    UNKNOWN unhandled EOS event ShutdownTimerUpdated (size 8)
    UNKNOWN unhandled EOS event ShutdownTimerUpdated (size 8)
    UNKNOWN Camera Status 1
    UNKNOWN PTP Property d11b changed
    Saving file as capt0000.jpg
    UNKNOWN Camera Status 0

    Thanks.

     
  • Marcus Meissner

    Marcus Meissner - 2013-05-14
    • status: open --> pending-fixed
     
  • Marcus Meissner

    Marcus Meissner - 2013-05-14

    capt0000.jpg indicates that it is a picture captured to SDRAM and not to the card.

    set the "capturetarget" to "card" and try again (should reported filenames like IMG_4242.JPG then)...

    Then --keep will work.

    For SDRAM capture the RAM is cleared once gphoto2 exits.

     
  • Ankur B

    Ankur B - 2013-05-18

    I tried again with capturetarget option where it was set to SD card and that worked as you suggested.

    Thanks again for the assist.

     
  • Marcus Meissner

    Marcus Meissner - 2014-03-23
    • status: pending-fixed --> closed-fixed
     
  • Marcus Meissner

    Marcus Meissner - 2014-03-23

    close

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks