Menu

#97 filename uses epoch for time

open
None
5
2012-12-09
2012-12-08
James Adams
No

gphoto2 2.4.14, libgphoto2 2.4.14, libgphoto2_port 0.8.0
raspberrypi 3.2.27+

The following command: gphoto2 --capture-image-and-download --filename "20d_%Y%m%d-%H%M%S-%03n.%C"
always outputs a file name with "20d_19700101-000000-000.JPG"

From the prompt, though, "date +%j" output "343", so that works fine.

May be a duplicate of Bug 3311474 but that is marked as Fixed

Thanks

Discussion

  • Marcus Meissner

    Marcus Meissner - 2012-12-09
    • assigned_to: nobody --> marcusmeissner
     
  • Marcus Meissner

    Marcus Meissner - 2012-12-09

    perhaps libexif support is not built in or some other thing ... needs a bit debug.

    can you run gphoto2 --summary --debug --debug-logfile=xx.log
    and attach xx.log

     
  • James Adams

    James Adams - 2012-12-09

    gphoto2 --summary --debug --debug-logfile=xx.log

     
  • James Adams

    James Adams - 2012-12-09

    additional information: the initial testing was with a Canon 20d. It worked okay except for the inability to set --filename. Tried with a Canon S5is and the --filename option worked fine.
    Attached the --summary --debug output with the 20d attached.

     
  • Marcus Meissner

    Marcus Meissner - 2012-12-10

    casn you do the same for

    gphoto2 -L --debug --debug-logfile=xx.log

    ?

     
  • James Adams

    James Adams - 2012-12-12

    gphoto2 --summary --debug --debug-logfile=xx.log

     

Log in to post a comment.