Menu

#1010 Nikon D3100 photo failed to be deleted

open
nobody
1
2015-02-17
2015-02-02
Mohamed
No

I am currently using gphoto2 on my raspberry pi and conected to Nikon D3100. I am able to capture images and download them to the pi but failed to delete them on the camera.

Below is the version of the gphoto2:
gphoto2 2.5.6 gcc, popt(m), exif, no cdk, no aa, no jpeg, no readline
libgphoto2 2.5.6 all camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.12.0 gcc, ltdl, USB, serial without locking

Below is the error:

Error
PTP Operation Not Supported
New file is in location /store_00010001/DCIM/102D3100/DSC_2454.JPG on the camera
Saving file as 20150128-120616.jpg
Deleting file /store_00010001/DCIM/102D3100/DSC_2454.JPG on the camera

Error
PTP Operation Not Supported
ERROR: Could not delete image.

Below log file is attached.

Any help?

1 Attachments

Related

Bugs: #1010

Discussion

  • Mohamed

    Mohamed - 2015-02-02

    I am currently using gphoto2 on my raspberry pi and conected to Nikon D3100. I am able to capture images and download them to the pi but failed to delete them on the camera.
    Below is the version of the gphoto2:
    gphoto2 2.5.6 gcc, popt(m), exif, no cdk, no aa, no jpeg, no readline
    libgphoto2 2.5.6 all camlibs, gcc, ltdl, EXIF
    libgphoto2_port 0.12.0 gcc, ltdl, USB, serial without locking
    Below is the error:
    Error
    PTP Operation Not Supported
    New file is in location /store_00010001/DCIM/102D3100/DSC_2454.JPG on the camera
    Saving file as 20150128-120616.jpg
    Deleting file /store_00010001/DCIM/102D3100/DSC_2454.JPG on the camera
    Error
    PTP Operation Not Supported
    ERROR: Could not delete image.

     
  • Marcus Meissner

    Marcus Meissner - 2015-02-09

    .

     
  • Marcus Meissner

    Marcus Meissner - 2015-02-09

    can you try this patch?

     
    • Mohamed

      Mohamed - 2015-02-10

      Hi Marcus,

      Thank you for your reply.

      I opened the .pat file in textedit and found the following directory
      camlibs/ptp2/ptp.c

      Now the issue is this directory doesn't not exist.

      So the question here how to apply the .pat file?

      On 9 February 2015 at 22:07, Marcus Meissner marcusmeissner@users.sf.net
      wrote:

      can you try this patch?

      Attachment: xx.pat (727 Bytes; application/x-wine-extension-PAT)

      Status: open
      Group: do_not_use_this_camlib/canon
      Labels: gphoto2 nikon raspberry pi
      Created: Mon Feb 02, 2015 11:32 AM UTC by Mohamed
      Last Updated: Mon Feb 09, 2015 08:07 PM UTC
      Owner: nobody

      I am currently using gphoto2 on my raspberry pi and conected to Nikon
      D3100. I am able to capture images and download them to the pi but failed
      to delete them on the camera.

      Below is the version of the gphoto2:
      gphoto2 2.5.6 gcc, popt(m), exif, no cdk, no aa, no jpeg, no readline
      libgphoto2 2.5.6 all camlibs, gcc, ltdl, EXIF
      libgphoto2_port 0.12.0 gcc, ltdl, USB, serial without locking

      Below is the error:

      • Error *
        PTP Operation Not Supported
        New file is in location /store_00010001/DCIM/102D3100/DSC_2454.JPG on the
        camera
        Saving file as 20150128-120616.jpg
        Deleting file /store_00010001/DCIM/102D3100/DSC_2454.JPG on the camera

      • Error *
        PTP Operation Not Supported
        ERROR: Could not delete image.

      Below log file is attached.

      Any help?

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/gphoto/bugs/1010/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      Best regards
      Mohamad Itani
      Tel: 961 1 797236.

       

      Related

      Bugs: #1010


      Last edit: Mohamed 2015-02-10
  • Marcus Meissner

    Marcus Meissner - 2015-02-17

    this is a source patch against libgphoto2 ... if you are more familar with building from tarballs, can you try
    http://www.lst.de/~mm/libgphoto2-2.5.7.1.tar.bz2

     

Log in to post a comment.