Re: Canon 1300D: can only capture one image; second capture fails
Marcus Meissner <[email protected]>
| Newsgroups | gmane.comp.multimedia.gphoto.user |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Feb 12, 2017 at 03:22:10AM +0100, Oliver Bendig wrote: > > > Marcus Meissner <[email protected]> hat am 11. Februar 2017 um 22:04 > > geschrieben: > > > > Took some time to find some time to look into it. > > > > For the initial startup issue .... I spotted a small pattern which we could > > use for waiting. The 0xd11b property (Available images) is send twice > > with a value, but we can only start after it is send for the second time. > > > > Have to think how to implement this correctly. > > I played around with the camera and gphoto to reproduce my same-image-problem. I > got irritated by the LANG=C environment variable. I missed it to be set and when > I started to play with the camera, I wondered why there was not any capture at > all - even with the gphoto2 calls that proved to be working before. After I read > your mail again, realized that I missed to set LANG=C and set it accordingly, > everything worked again as before with the same timings as before. Now I can > tell: if LANG=de_DE.UTF-8, no capture is possible at all. But you probably knew > that before. ;-) The configuration values are translated, thats why its needed to switch to english :) As short cut, gphoto2 --wait-event=300ms --capture-image-and-download just might work too (as we just need the initial wait). > > The second problem where it always return the same image. This is new. > > Can you capture debuginfo for two consecutive captures that show this problem? > > Hmm, it seems that this was my fault somehow. Luckily, it is not reproducible > anymore. Maybe I had an issue with my loop and the way it copied the images. > I rewrote my test script for taking many images in a loop and now it worked > correctly all the times. I can't explain anymore... > > Thank you very much for all you patience with this issue! > Best regards, Oliver Ok, good to hear :) Ciao, Marcus ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot