I isolated the problem.

The camera has two memory cards and normally writes to both.

When I changed it to only write to one card, gphoto2 only downloaded one copy 
of the file when run in tethered mode.

Changing to writing to one card significantly reduces the time it takes to 
—capture-image-and-download.

Also, FYI, I get quite a few "UNKNOWN PTP Property XXXX changed” messages while 
doing nothing.

The debug file from when it downloads two files is somewhat huge - 139 MB!

You can download it from here: 
https://www.dropbox.com/s/xh48ppbz56926qk/d800e.txt.zip?dl=0

Rod




> On May15, 2017, at 14:09, Roderick Stewart <roderick.stew...@gmail.com> wrote:
> 
> Hi,
> 
> Thanks.
> 
> It’s the same file because the computer asks me if I want to overwrite it.
> 
> I’ll do a debugtrace later today.
> 
> 
> 
> 
>> On May12, 2017, at 15:52, Marcus Meissner <mar...@jet.franken.de> wrote:
>> 
>> Hi,
>> 
>> If it is the same file, we might be getting the same event twice, which
>> could happen on nikons. A debugtrace (without the file content) might be
>> helpful, I thought I am catching those.
>> 
>> Ciao, Marcus
>> On Fri, May 12, 2017 at 08:46:25PM +0200, Daniel Muller wrote:
>>> By any chance, do they at least have different filenames? Like JPG and NEF
>>> for example?
>>> That would be camera settings..
>>> 
>>> On Fri, May 12, 2017 at 8:42 PM, Roderick Stewart <
>>> roderick.stew...@gmail.com> wrote:
>>> 
>>>> I’m trying to use gphoto2 in tethered mode.
>>>> 
>>>> Everytime I click the shutter, two identical files are downloaded.
>>>> 
>>>> This never happened last time I used tethered mode (long time ago), so I
>>>> guess it’s either a bug or my lack of knowledge.
>>>> 
>>>> Camera: Nikon D800E
>>>> 
>>>> Computer: Macbook Pro 2016 model, OSX Sierra (10.12.4)
>>>> Apple USB-C to USB adapter
>>>> 
>>>> gphoto2 was installed using homebrew, with no problems
>>>> versons:
>>>> gphoto2         2.5.11         clang, popt(m), no exif, no cdk, no aa,
>>>> jpeg, readline
>>>> libgphoto2      2.5.13         all camlibs, clang, ltdl, no EXIF
>>>> libgphoto2_port 0.12.0         clang, ltdl, USB, serial without locking
>>>> ------------------------------------------------------------
>>>> ------------------
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>> _______________________________________________
>>>> Gphoto-devel mailing list
>>>> Gphoto-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/gphoto-devel
>>>> 
>> 
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> 
>>> _______________________________________________
>>> Gphoto-devel mailing list
>>> Gphoto-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gphoto-devel
>> 
> 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Reply via email to