Quantcast

2 images downloaded in tethered mode

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

2 images downloaded in tethered mode

dormanttt
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 2 images downloaded in tethered mode

Daniel Muller
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 <[hidden email]> 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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 2 images downloaded in tethered mode

Marcus Meissner-4
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 <
> [hidden email]> 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
> > [hidden email]
> > 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 2 images downloaded in tethered mode

dormanttt
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 <[hidden email]> 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 <
>> [hidden email]> 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
>>> [hidden email]
>>> 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
>> [hidden email]
>> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 2 images downloaded in tethered mode

dormanttt
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 <[hidden email]> 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 <[hidden email]> 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 <
>>> [hidden email]> 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
>>>> [hidden email]
>>>> 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
>>> [hidden email]
>>> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 2 images downloaded in tethered mode

Marcus Meissner-4
Hi,

This is kind of expected I would say... Two files are being added and we see
two files.

That they have the same names during download is confusing, but I am not
fully sure how to handle it, or how to just download it once :/

Ciao, Marcus
On Mon, May 15, 2017 at 06:58:05PM -0400, Roderick Stewart wrote:

> 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 <[hidden email]> 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 <[hidden email]> 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 <
> >>> [hidden email]> 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
> >>>> [hidden email]
> >>>> 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
> >>> [hidden email]
> >>> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
Loading...