sequoia-ptpy icon indicating copy to clipboard operation
sequoia-ptpy copied to clipboard

Operation timed out

Open micahhenrie opened this issue 5 years ago • 2 comments

Trying to use this with a Ricoh Theta Z1 on MacOS 10.13.6 and getting an Operation timed out error. I am able to connect with libusb--any ideas?:

[env] [11Jun2019 8:58:22][/dev/env]:python
Python 2.7.10 (default, Oct  6 2017, 22:29:07) 
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from ptpy import PTPy
>>> camera = PTPy()
E 8448 ptpy.transports.usb[EvtPolling:__recv:350] [Errno 60] Operation timed out
E 8448 ptpy.transports.usb[EvtPolling:__poll_events:575] <DEVICE ID 05ca:036d on Bus 000 Address 030> polling exception: [Errno 60] Operation timed out
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/dev/env/lib/python2.7/site-packages/ptpy/__init__.py", line 135, in __new__
    instance._obtain_the_knowledge()
  File "/dev/env/lib/python2.7/site-packages/ptpy/ptp.py", line 863, in _obtain_the_knowledge
    self.__prop_desc[p] = self.get_device_prop_desc(p)
  File "/dev/env/lib/python2.7/site-packages/ptpy/ptp.py", line 1059, in get_device_prop_desc
    result = self._parse_if_data(response, self._DevicePropDesc)
  File "/dev/env/lib/python2.7/site-packages/ptpy/ptp.py", line 824, in _parse_if_data
    if hasattr(response, 'Data') else None)
  File "/dev/env/lib/python2.7/site-packages/construct/core.py", line 175, in parse
    return self.parse_stream(BytesIO(data), context, **kw)
  File "/dev/env/lib/python2.7/site-packages/construct/core.py", line 186, in parse_stream
    return self._parse(stream, context, "parsing")
  File "/dev/env/lib/python2.7/site-packages/construct/core.py", line 859, in _parse
    subobj = sc._parse(stream, context, path)
  File "/dev/env/lib/python2.7/site-packages/construct/core.py", line 2700, in _parse
    raise e.__class__("%s\n    %s" % (e, path))
construct.core.RangeError: could not read prefix or enough elements, stream too short?
    parsing -> FactoryDefaultValue
>>> E 9480 ptpy.transports.usb[EvtPolling:__recv:350] [Errno 60] Operation timed out
E 9480 ptpy.transports.usb[EvtPolling:__poll_events:575] <DEVICE ID 05ca:036d on Bus 000 Address 030> polling exception: [Errno 60] Operation timed out
E 10482 ptpy.transports.usb[EvtPolling:__recv:350] [Errno 60] Operation timed out
E 10482 ptpy.transports.usb[EvtPolling:__poll_events:575] <DEVICE ID 05ca:036d on Bus 000 Address 030> polling exception: [Errno 60] Operation timed out
E 11486 ptpy.transports.usb[EvtPolling:__recv:350] [Errno 60] Operation timed out

micahhenrie avatar Jun 11 '19 16:06 micahhenrie

Hi @micahhenrie,

Please set the environment variable PTPY_DEBUG=1 and post the log output here.

Thanks,

domenzain avatar Jun 13 '19 13:06 domenzain


>>> from ptpy import PTPy
>>> camera = PTPy()
D 16141 ptpy[MainThread:__new__:99] New PTPy
D 16142 ptpy[MainThread:__new__:101] Determining available transports
D 16142 ptpy.ptp[MainThread:__init__:705] Init PTP
D 16142 ptpy.transports.usb[MainThread:__init__:72] Init USB
D 16142 ptpy.ptp[MainThread:_set_endian:629] Set PTP endianness
D 16143 ptpy.transports.usb[MainThread:__init__:77] No device provided, probing all USB devices.
D 16171 ptpy.transports.usb[MainThread:__setup_device:200] Found <ENDPOINT 0x81: Bulk IN>
D 16171 ptpy.transports.usb[MainThread:__setup_device:201] Found <ENDPOINT 0x1: Bulk OUT>
D 16171 ptpy.transports.usb[MainThread:__setup_device:202] Found <ENDPOINT 0x82: Interrupt IN>
D 16174 ptpy.transports.usb[MainThread:__available_cameras:115] Found USB PTP device DEVICE ID 05ca:036d on Bus 000 Address 012 =================
 bLength                :   0x12 (18 bytes)
 bDescriptorType        :    0x1 Device
 bcdUSB                 :  0x200 USB 2.0
 bDeviceClass           :    0x0 Specified at interface
 bDeviceSubClass        :    0x0
 bDeviceProtocol        :    0x0
 bMaxPacketSize0        :   0x40 (64 bytes)
 idVendor               : 0x05ca
 idProduct              : 0x036d
 bcdDevice              :  0x100 Device 1.0
 iManufacturer          :    0x1 Ricoh Company, Ltd.
 iProduct               :    0x2 RICOH THETA Z1
 iSerialNumber          :    0x3 14100284
 bNumConfigurations     :    0x1
  CONFIGURATION 1: 500 mA ==================================
   bLength              :    0x9 (9 bytes)
   bDescriptorType      :    0x2 Configuration
   wTotalLength         :   0x27 (39 bytes)
   bNumInterfaces       :    0x1
   bConfigurationValue  :    0x1
   iConfiguration       :    0x0 
   bmAttributes         :   0x80 Bus Powered
   bMaxPower            :   0xfa (500 mA)
    INTERFACE 0: Image =====================================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x0
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x3
     bInterfaceClass    :    0x6 Image
     bInterfaceSubClass :    0x1
     bInterfaceProtocol :    0x1
     iInterface         :    0x0 
      ENDPOINT 0x81: Bulk IN ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x81 IN
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :  0x200 (512 bytes)
       bInterval        :    0x0
      ENDPOINT 0x1: Bulk OUT ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :    0x1 OUT
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :  0x200 (512 bytes)
       bInterval        :    0x0
      ENDPOINT 0x82: Interrupt IN ==========================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x82 IN
       bmAttributes     :    0x3 Interrupt
       wMaxPacketSize   :   0x1c (28 bytes)
       bInterval        :    0x6
D 16174 ptpy.transports.usb[MainThread:__acquire_camera:143] Claiming <DEVICE ID 05ca:036d on Bus 000 Address 012>
D 16175 ptpy.transports.usb[MainThread:recv:475] RECV GetDeviceInfo
D 16186 ptpy.transports.usb[MainThread:__recv:353] Read 373 bytes of data
D 16187 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 16187 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 75 01 00 00 02 00 01 10  00 00 00 00 64 00 06 00  u...........d...
D 16187 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 00 00 6E 00 00 00 00 31  00 00 00 01 10 02 10 03  ..n....1........
D 16187 ptpy.transports.usb[MainThread:__parse_response:293] 00000020: 10 04 10 05 10 06 10 07  10 08 10 09 10 0A 10 0B  ................
D 16187 ptpy.transports.usb[MainThread:__parse_response:293] 00000030: 10 0E 10 13 10 14 10 15  10 16 10 17 10 18 10 1B  ................
D 16188 ptpy.transports.usb[MainThread:__parse_response:293] 00000040: 10 1C 10 01 98 02 98 03  98 04 98 05 98 01 90 91  ................
D 16188 ptpy.transports.usb[MainThread:__parse_response:293] 00000050: 99 99 99 9A 99 9B 99 9C  99 9D 99 A2 99 A3 99 A4  ................
D 16188 ptpy.transports.usb[MainThread:__parse_response:293] 00000060: 99 A5 99 A6 99 A8 99 A9  99 AA 99 AB 99 AD 99 B2  ................
D 16188 ptpy.transports.usb[MainThread:__parse_response:293] 00000070: 99 B3 99 B5 99 B6 99 B7  99 B8 99 B9 99 05 00 00  ................
D 16188 ptpy.transports.usb[MainThread:__parse_response:293] 00000080: 00 02 40 06 40 0A 40 0C  40 0D 40 35 00 00 00 01  ..@.@.@.@.@5....
D 16188 ptpy.transports.usb[MainThread:__parse_response:293] 00000090: 50 02 50 03 50 05 50 07  50 0E 50 0F 50 10 50 11  P.P.P.P.P.P.P.P.
D 16189 ptpy.transports.usb[MainThread:__parse_response:293] 000000A0: 50 12 50 13 50 1A 50 1B  50 2C 50 06 D0 0F D0 07  P.P.P.P.P,P.....
D 16189 ptpy.transports.usb[MainThread:__parse_response:293] 000000B0: D4 01 D8 03 D8 05 D8 06  D8 08 D8 09 D8 0A D8 0B  ................
D 16189 ptpy.transports.usb[MainThread:__parse_response:293] 000000C0: D8 0C D8 0D D8 0E D8 0F  D8 10 D8 11 D8 12 D8 13  ................
D 16189 ptpy.transports.usb[MainThread:__parse_response:293] 000000D0: D8 14 D8 15 D8 16 D8 17  D8 18 D8 1A D8 1B D8 1C  ................
D 16189 ptpy.transports.usb[MainThread:__parse_response:293] 000000E0: D8 1D D8 1F D8 20 D8 21  D8 22 D8 23 D8 24 D8 25  ..... .!.".#.$.%
D 16189 ptpy.transports.usb[MainThread:__parse_response:293] 000000F0: D8 26 D8 27 D8 29 D8 2A  D8 00 00 00 00 05 00 00  .&.'.).*........
D 16190 ptpy.transports.usb[MainThread:__parse_response:293] 00000100: 00 01 30 01 38 82 B9 11  38 02 B8 14 52 00 69 00  ..0.8...8...R.i.
D 16190 ptpy.transports.usb[MainThread:__parse_response:293] 00000110: 63 00 6F 00 68 00 20 00  43 00 6F 00 6D 00 70 00  c.o.h. .C.o.m.p.
D 16190 ptpy.transports.usb[MainThread:__parse_response:293] 00000120: 61 00 6E 00 79 00 2C 00  20 00 4C 00 74 00 64 00  a.n.y.,. .L.t.d.
D 16190 ptpy.transports.usb[MainThread:__parse_response:293] 00000130: 2E 00 00 00 0F 52 00 49  00 43 00 4F 00 48 00 20  .....R.I.C.O.H. 
D 16190 ptpy.transports.usb[MainThread:__parse_response:293] 00000140: 00 54 00 48 00 45 00 54  00 41 00 20 00 5A 00 31  .T.H.E.T.A. .Z.1
D 16190 ptpy.transports.usb[MainThread:__parse_response:293] 00000150: 00 00 00 07 31 00 2E 00  30 00 33 00 2E 00 35 00  ....1...0.3...5.
D 16191 ptpy.transports.usb[MainThread:__parse_response:293] 00000160: 00 00 09 31 00 34 00 31  00 30 00 30 00 32 00 38  ...1.4.1.0.0.2.8
D 16191 ptpy.transports.usb[MainThread:__parse_response:293] 00000170: 00 34 00 00 00                                    .4...
D 16191 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 16192 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 16192 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 16192 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  00 00 00 00              ....... ....
D 16192 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 16192 ptpy.transports.usb[MainThread:recv:527] RECV GetDeviceInfo OK 361 bytes
D 16194 ptpy.transports.usb[MainThread:_shutdown:158] Shutdown request
E 17181 ptpy.transports.usb[EvtPolling:__recv:350] [Errno 60] Operation timed out
E 17181 ptpy.transports.usb[EvtPolling:__poll_events:575] <DEVICE ID 05ca:036d on Bus 000 Address 012> polling exception: [Errno 60] Operation timed out
D 17205 ptpy.transports.usb[MainThread:_shutdown:166] Release <DEVICE ID 05ca:036d on Bus 000 Address 012>
D 17205 ptpy[MainThread:__new__:126] Imposing <class 'ptpy.extensions.microsoft.Microsoft'> extension
D 17205 ptpy.extensions.microsoft[MainThread:__init__:16] Init Microsoft
D 17205 ptpy.ptp[MainThread:__init__:705] Init PTP
D 17205 ptpy.transports.usb[MainThread:__init__:72] Init USB
D 17206 ptpy.ptp[MainThread:_set_endian:629] Set PTP endianness
D 17207 ptpy.transports.usb[MainThread:__init__:77] No device provided, probing all USB devices.
D 17213 ptpy.transports.usb[MainThread:__setup_device:200] Found <ENDPOINT 0x81: Bulk IN>
D 17213 ptpy.transports.usb[MainThread:__setup_device:201] Found <ENDPOINT 0x1: Bulk OUT>
D 17213 ptpy.transports.usb[MainThread:__setup_device:202] Found <ENDPOINT 0x82: Interrupt IN>
D 17215 ptpy.transports.usb[MainThread:__available_cameras:115] Found USB PTP device DEVICE ID 05ca:036d on Bus 000 Address 012 =================
 bLength                :   0x12 (18 bytes)
 bDescriptorType        :    0x1 Device
 bcdUSB                 :  0x200 USB 2.0
 bDeviceClass           :    0x0 Specified at interface
 bDeviceSubClass        :    0x0
 bDeviceProtocol        :    0x0
 bMaxPacketSize0        :   0x40 (64 bytes)
 idVendor               : 0x05ca
 idProduct              : 0x036d
 bcdDevice              :  0x100 Device 1.0
 iManufacturer          :    0x1 Ricoh Company, Ltd.
 iProduct               :    0x2 RICOH THETA Z1
 iSerialNumber          :    0x3 14100284
 bNumConfigurations     :    0x1
  CONFIGURATION 1: 500 mA ==================================
   bLength              :    0x9 (9 bytes)
   bDescriptorType      :    0x2 Configuration
   wTotalLength         :   0x27 (39 bytes)
   bNumInterfaces       :    0x1
   bConfigurationValue  :    0x1
   iConfiguration       :    0x0 
   bmAttributes         :   0x80 Bus Powered
   bMaxPower            :   0xfa (500 mA)
    INTERFACE 0: Image =====================================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x0
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x3
     bInterfaceClass    :    0x6 Image
     bInterfaceSubClass :    0x1
     bInterfaceProtocol :    0x1
     iInterface         :    0x0 
      ENDPOINT 0x81: Bulk IN ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x81 IN
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :  0x200 (512 bytes)
       bInterval        :    0x0
      ENDPOINT 0x1: Bulk OUT ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :    0x1 OUT
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :  0x200 (512 bytes)
       bInterval        :    0x0
      ENDPOINT 0x82: Interrupt IN ==========================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x82 IN
       bmAttributes     :    0x3 Interrupt
       wMaxPacketSize   :   0x1c (28 bytes)
       bInterval        :    0x6
D 17215 ptpy.transports.usb[MainThread:__acquire_camera:143] Claiming <DEVICE ID 05ca:036d on Bus 000 Address 012>
D 17216 ptpy.ptp[MainThread:_obtain_the_knowledge:856] Gathering info about all device properties
D 17216 ptpy.transports.usb[MainThread:recv:475] RECV GetDeviceInfo
D 17234 ptpy.transports.usb[MainThread:__recv:353] Read 373 bytes of data
D 17235 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17235 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 75 01 00 00 02 00 01 10  00 00 00 00 64 00 06 00  u...........d...
D 17235 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 00 00 6E 00 00 00 00 31  00 00 00 01 10 02 10 03  ..n....1........
D 17235 ptpy.transports.usb[MainThread:__parse_response:293] 00000020: 10 04 10 05 10 06 10 07  10 08 10 09 10 0A 10 0B  ................
D 17235 ptpy.transports.usb[MainThread:__parse_response:293] 00000030: 10 0E 10 13 10 14 10 15  10 16 10 17 10 18 10 1B  ................
D 17235 ptpy.transports.usb[MainThread:__parse_response:293] 00000040: 10 1C 10 01 98 02 98 03  98 04 98 05 98 01 90 91  ................
D 17235 ptpy.transports.usb[MainThread:__parse_response:293] 00000050: 99 99 99 9A 99 9B 99 9C  99 9D 99 A2 99 A3 99 A4  ................
D 17235 ptpy.transports.usb[MainThread:__parse_response:293] 00000060: 99 A5 99 A6 99 A8 99 A9  99 AA 99 AB 99 AD 99 B2  ................
D 17235 ptpy.transports.usb[MainThread:__parse_response:293] 00000070: 99 B3 99 B5 99 B6 99 B7  99 B8 99 B9 99 05 00 00  ................
D 17236 ptpy.transports.usb[MainThread:__parse_response:293] 00000080: 00 02 40 06 40 0A 40 0C  40 0D 40 35 00 00 00 01  ..@.@.@.@.@5....
D 17236 ptpy.transports.usb[MainThread:__parse_response:293] 00000090: 50 02 50 03 50 05 50 07  50 0E 50 0F 50 10 50 11  P.P.P.P.P.P.P.P.
D 17236 ptpy.transports.usb[MainThread:__parse_response:293] 000000A0: 50 12 50 13 50 1A 50 1B  50 2C 50 06 D0 0F D0 07  P.P.P.P.P,P.....
D 17236 ptpy.transports.usb[MainThread:__parse_response:293] 000000B0: D4 01 D8 03 D8 05 D8 06  D8 08 D8 09 D8 0A D8 0B  ................
D 17236 ptpy.transports.usb[MainThread:__parse_response:293] 000000C0: D8 0C D8 0D D8 0E D8 0F  D8 10 D8 11 D8 12 D8 13  ................
D 17236 ptpy.transports.usb[MainThread:__parse_response:293] 000000D0: D8 14 D8 15 D8 16 D8 17  D8 18 D8 1A D8 1B D8 1C  ................
D 17236 ptpy.transports.usb[MainThread:__parse_response:293] 000000E0: D8 1D D8 1F D8 20 D8 21  D8 22 D8 23 D8 24 D8 25  ..... .!.".#.$.%
D 17236 ptpy.transports.usb[MainThread:__parse_response:293] 000000F0: D8 26 D8 27 D8 29 D8 2A  D8 00 00 00 00 05 00 00  .&.'.).*........
D 17236 ptpy.transports.usb[MainThread:__parse_response:293] 00000100: 00 01 30 01 38 82 B9 11  38 02 B8 14 52 00 69 00  ..0.8...8...R.i.
D 17236 ptpy.transports.usb[MainThread:__parse_response:293] 00000110: 63 00 6F 00 68 00 20 00  43 00 6F 00 6D 00 70 00  c.o.h. .C.o.m.p.
D 17236 ptpy.transports.usb[MainThread:__parse_response:293] 00000120: 61 00 6E 00 79 00 2C 00  20 00 4C 00 74 00 64 00  a.n.y.,. .L.t.d.
D 17237 ptpy.transports.usb[MainThread:__parse_response:293] 00000130: 2E 00 00 00 0F 52 00 49  00 43 00 4F 00 48 00 20  .....R.I.C.O.H. 
D 17237 ptpy.transports.usb[MainThread:__parse_response:293] 00000140: 00 54 00 48 00 45 00 54  00 41 00 20 00 5A 00 31  .T.H.E.T.A. .Z.1
D 17237 ptpy.transports.usb[MainThread:__parse_response:293] 00000150: 00 00 00 07 31 00 2E 00  30 00 33 00 2E 00 35 00  ....1...0.3...5.
D 17237 ptpy.transports.usb[MainThread:__parse_response:293] 00000160: 00 00 09 31 00 34 00 31  00 30 00 30 00 32 00 38  ...1.4.1.0.0.2.8
D 17237 ptpy.transports.usb[MainThread:__parse_response:293] 00000170: 00 34 00 00 00                                    .4...
D 17237 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17238 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17238 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17238 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  00 00 00 00              ....... ....
D 17238 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17238 ptpy.transports.usb[MainThread:recv:527] RECV GetDeviceInfo OK 361 bytes
D 17240 ptpy.ptp[MainThread:session:763] Session requested
D 17240 ptpy.ptp[MainThread:session:765] Open session
D 17240 ptpy.transports.usb[MainThread:mesg:536] MESG OpenSession ['0x1']
D 17247 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17248 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17248 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  00 00 00 00              ....... ....
D 17248 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17248 ptpy.transports.usb[MainThread:mesg:547] MESG OpenSession OK
D 17248 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0x5001']
D 17258 ptpy.transports.usb[MainThread:__recv:353] Read 23 bytes of data
D 17258 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17258 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 17 00 00 00 02 00 14 10  01 00 00 00 01 50 02 00  .............P..
D 17258 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 00 64 61 01 00 64 01                              .da..d.
D 17259 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17259 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17259 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17259 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  01 00 00 00              ....... ....
D 17260 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17260 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 11 bytes
D 17260 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0x5002']
D 17267 ptpy.transports.usb[MainThread:__recv:353] Read 26 bytes of data
D 17267 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17267 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 1A 00 00 00 02 00 14 10  02 00 00 00 02 50 04 00  .............P..
D 17267 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 00 00 00 00 00 02 01 00  00 00                    ..........
D 17267 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17268 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17268 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17268 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  02 00 00 00              ....... ....
D 17268 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17269 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 14 bytes
D 17269 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0x5003']
D 17275 ptpy.transports.usb[MainThread:__recv:353] Read 83 bytes of data
D 17275 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17275 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 53 00 00 00 02 00 14 10  03 00 00 00 03 50 FF FF  S............P..
D 17275 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 0A 36 00 37 00 32 00  30 00 78 00 33 00 33 00  ..6.7.2.0.x.3.3.
D 17275 ptpy.transports.usb[MainThread:__parse_response:293] 00000020: 36 00 30 00 00 00 0A 36  00 37 00 32 00 30 00 78  6.0....6.7.2.0.x
D 17275 ptpy.transports.usb[MainThread:__parse_response:293] 00000030: 00 33 00 33 00 36 00 30  00 00 00 02 01 00 0A 36  .3.3.6.0.......6
D 17275 ptpy.transports.usb[MainThread:__parse_response:293] 00000040: 00 37 00 32 00 30 00 78  00 33 00 33 00 36 00 30  .7.2.0.x.3.3.6.0
D 17275 ptpy.transports.usb[MainThread:__parse_response:293] 00000050: 00 00 00                                          ...
D 17276 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17276 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17276 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17276 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  03 00 00 00              ....... ....
D 17277 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17277 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 71 bytes
D 17277 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0x5005']
D 17283 ptpy.transports.usb[MainThread:__recv:353] Read 46 bytes of data
D 17283 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17283 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 2E 00 00 00 02 00 14 10  04 00 00 00 05 50 04 00  .............P..
D 17284 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 02 00 02 00 02 0B 00  02 00 04 00 01 80 02 80  ................
D 17284 ptpy.transports.usb[MainThread:__parse_response:293] 00000020: 06 00 20 80 03 80 04 80  05 80 06 80 07 80        .. ...........
D 17284 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17284 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17284 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17285 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  04 00 00 00              ....... ....
D 17285 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17285 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 34 bytes
D 17285 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0x5007']
D 17292 ptpy.transports.usb[MainThread:__recv:353] Read 26 bytes of data
D 17292 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17292 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 1A 00 00 00 02 00 14 10  05 00 00 00 07 50 04 00  .............P..
D 17292 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 00 00 00 00 02 01 00  00 00                    ..........
D 17292 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17293 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17293 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17293 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  05 00 00 00              ....... ....
D 17293 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17293 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 14 bytes
D 17294 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0x500e']
D 17300 ptpy.transports.usb[MainThread:__recv:353] Read 34 bytes of data
D 17300 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17301 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 22 00 00 00 02 00 14 10  06 00 00 00 0E 50 04 00  "............P..
D 17301 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 02 00 02 00 02 05 00  01 00 02 00 03 00 04 00  ................
D 17301 ptpy.transports.usb[MainThread:__parse_response:293] 00000020: 03 80                                             ..
D 17301 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17301 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17302 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17302 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  06 00 00 00              ....... ....
D 17302 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17302 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 22 bytes
D 17302 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0x500f']
D 17308 ptpy.transports.usb[MainThread:__recv:353] Read 26 bytes of data
D 17309 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17309 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 1A 00 00 00 02 00 14 10  07 00 00 00 0F 50 04 00  .............P..
D 17309 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 FF FF FF FF 02 01 00  FF FF                    ..........
D 17309 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17310 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17310 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17310 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  07 00 00 00              ....... ....
D 17310 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17310 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 14 bytes
D 17311 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0x5010']
D 17317 ptpy.transports.usb[MainThread:__recv:353] Read 50 bytes of data
D 17318 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17318 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 32 00 00 00 02 00 14 10  08 00 00 00 10 50 03 00  2............P..
D 17318 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 00 00 00 00 02 0D 00  D0 07 A4 06 14 05 E8 03  ................
D 17318 ptpy.transports.usb[MainThread:__parse_response:293] 00000020: BC 02 2C 01 00 00 D4 FE  44 FD 18 FC EC FA 5C F9  ..,.....D.....\.
D 17318 ptpy.transports.usb[MainThread:__parse_response:293] 00000030: 30 F8                                             0.
D 17318 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17319 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17319 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17319 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  08 00 00 00              ....... ....
D 17319 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17319 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 38 bytes
D 17320 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0x5011']
D 17327 ptpy.transports.usb[MainThread:__recv:353] Read 94 bytes of data
D 17327 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17328 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 5E 00 00 00 02 00 14 10  09 00 00 00 11 50 FF FF  ^............P..
D 17328 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 10 32 00 30 00 31 00  39 00 30 00 31 00 30 00  ..2.0.1.9.0.1.0.
D 17328 ptpy.transports.usb[MainThread:__parse_response:293] 00000020: 31 00 54 00 30 00 30 00  30 00 30 00 30 00 30 00  1.T.0.0.0.0.0.0.
D 17328 ptpy.transports.usb[MainThread:__parse_response:293] 00000030: 00 00 15 32 00 30 00 31  00 39 00 30 00 36 00 31  ...2.0.1.9.0.6.1
D 17328 ptpy.transports.usb[MainThread:__parse_response:293] 00000040: 00 33 00 54 00 30 00 38  00 33 00 34 00 30 00 30  .3.T.0.8.3.4.0.0
D 17328 ptpy.transports.usb[MainThread:__parse_response:293] 00000050: 00 2D 00 30 00 37 00 30  00 30 00 00 00 00        .-.0.7.0.0....
D 17328 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17329 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17329 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17329 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  09 00 00 00              ....... ....
D 17329 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17329 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 82 bytes
D 17330 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0x5012']
D 17336 ptpy.transports.usb[MainThread:__recv:353] Read 38 bytes of data
D 17336 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17336 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 26 00 00 00 02 00 14 10  0A 00 00 00 12 50 06 00  &............P..
D 17336 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 00 00 00 00 00 00 00  00 01 00 00 00 00 10 27  ...............'
D 17336 ptpy.transports.usb[MainThread:__parse_response:293] 00000020: 00 00 E8 03 00 00                                 ......
D 17337 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17337 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17337 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17337 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  0A 00 00 00              ....... ....
D 17338 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17338 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 26 bytes
D 17338 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0x5013']
D 17343 ptpy.transports.usb[MainThread:__recv:353] Read 36 bytes of data
D 17343 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17343 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 24 00 00 00 02 00 14 10  0B 00 00 00 13 50 04 00  $............P..
D 17343 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 01 00 01 00 02 06 00  01 00 03 00 02 80 03 80  ................
D 17343 ptpy.transports.usb[MainThread:__parse_response:293] 00000020: 04 80 05 80                                       ....
D 17344 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17344 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17344 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17344 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  0B 00 00 00              ....... ....
D 17345 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17345 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 24 bytes
D 17345 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0x501a']
D 17353 ptpy.transports.usb[MainThread:__recv:353] Read 28 bytes of data
D 17353 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17353 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 1C 00 00 00 02 00 14 10  0C 00 00 00 1A 50 04 00  .............P..
D 17353 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 00 00 00 00 01 00 00  0F 27 01 00              .........'..
D 17353 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17354 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17354 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17354 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  0C 00 00 00              ....... ....
D 17354 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17354 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 16 bytes
D 17355 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0x501b']
D 17360 ptpy.transports.usb[MainThread:__recv:353] Read 38 bytes of data
D 17360 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17361 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 26 00 00 00 02 00 14 10  0D 00 00 00 1B 50 06 00  &............P..
D 17361 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 70 17 00 00 10 27 00  00 01 10 27 00 00 80 EE  .p....'....'....
D 17361 ptpy.transports.usb[MainThread:__parse_response:293] 00000020: 36 00 E8 03 00 00                                 6.....
D 17361 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17361 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17362 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17362 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  0D 00 00 00              ....... ....
D 17362 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17362 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 26 bytes
D 17362 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0x502c']
D 17369 ptpy.transports.usb[MainThread:__recv:353] Read 38 bytes of data
D 17370 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17370 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 26 00 00 00 02 00 14 10  0E 00 00 00 2C 50 06 00  &...........,P..
D 17370 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 64 00 00 00 1D 00 00  00 01 00 00 00 00 64 00  .d............d.
D 17370 ptpy.transports.usb[MainThread:__parse_response:293] 00000020: 00 00 01 00 00 00                                 ......
D 17370 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17371 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17371 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17371 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  0E 00 00 00              ....... ....
D 17371 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17372 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 26 bytes
D 17372 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0xd006']
D 17378 ptpy.transports.usb[MainThread:__recv:353] Read 26 bytes of data
D 17378 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17379 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 1A 00 00 00 02 00 14 10  0F 00 00 00 06 D0 06 00  ................
D 17379 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 00 00 00 00 00 00 00 00  00 00                    ..........
D 17379 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17379 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17380 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17380 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  0F 00 00 00              ....... ....
D 17380 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17380 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 14 bytes
D 17380 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0xd00f']
D 17388 ptpy.transports.usb[MainThread:__recv:353] Read 44 bytes of data
D 17389 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17389 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 2C 00 00 00 02 00 14 10  10 00 00 00 0F D0 08 00  ,...............
D 17389 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ................
D 17389 ptpy.transports.usb[MainThread:__parse_response:293] 00000020: 00 02 01 00 00 00 00 00  00 00 00 00              ............
D 17389 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17390 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17390 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17390 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  10 00 00 00              ....... ....
D 17390 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17390 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 32 bytes
D 17390 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0xd407']
D 17395 ptpy.transports.usb[MainThread:__recv:353] Read 26 bytes of data
D 17396 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17396 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 1A 00 00 00 02 00 14 10  11 00 00 00 07 D4 06 00  ................
D 17396 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 00 00 00 00 00 01 00 00  00 00                    ..........
D 17396 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17396 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17397 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17397 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  11 00 00 00              ....... ....
D 17397 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17397 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 14 bytes
D 17397 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0xd801']
D 17403 ptpy.transports.usb[MainThread:__recv:353] Read 20 bytes of data
D 17403 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17403 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 14 00 00 00 02 00 14 10  12 00 00 00 01 D8 FF FF  ................
D 17403 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 00 00 00                                       ....
D 17403 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17404 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17404 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17404 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  12 00 00 00              ....... ....
D 17404 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17405 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 8 bytes
D 17405 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0xd803']
D 17411 ptpy.transports.usb[MainThread:__recv:353] Read 28 bytes of data
D 17411 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17411 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 1C 00 00 00 02 00 14 10  13 00 00 00 03 D8 04 00  ................
D 17412 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 B4 00 00 00 01 00 00  FE FF 01 00              ............
D 17412 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17412 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17413 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17413 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  13 00 00 00              ....... ....
D 17413 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17413 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 16 bytes
D 17413 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0xd805']
D 17420 ptpy.transports.usb[MainThread:__recv:353] Read 100 bytes of data
D 17420 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17420 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 64 00 00 00 02 00 14 10  14 00 00 00 05 D8 FF FF  d...............
D 17421 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 14 54 00 48 00 45 00  54 00 41 00 59 00 4E 00  ..T.H.E.T.A.Y.N.
D 17421 ptpy.transports.usb[MainThread:__parse_response:293] 00000020: 31 00 34 00 31 00 30 00  30 00 32 00 38 00 34 00  1.4.1.0.0.2.8.4.
D 17421 ptpy.transports.usb[MainThread:__parse_response:293] 00000030: 2E 00 4F 00 53 00 43 00  00 00 14 54 00 48 00 45  ..O.S.C....T.H.E
D 17421 ptpy.transports.usb[MainThread:__parse_response:293] 00000040: 00 54 00 41 00 59 00 4E  00 31 00 34 00 31 00 30  .T.A.Y.N.1.4.1.0
D 17421 ptpy.transports.usb[MainThread:__parse_response:293] 00000050: 00 30 00 32 00 38 00 34  00 2E 00 4F 00 53 00 43  .0.2.8.4...O.S.C
D 17421 ptpy.transports.usb[MainThread:__parse_response:293] 00000060: 00 00 00 00                                       ....
D 17421 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17422 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17422 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17422 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  14 00 00 00              ....... ....
D 17422 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17423 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 88 bytes
D 17423 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0xd806']
D 17429 ptpy.transports.usb[MainThread:__recv:353] Read 56 bytes of data
D 17429 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17429 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 38 00 00 00 02 00 14 10  15 00 00 00 06 D8 FF FF  8...............
D 17429 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 09 31 00 34 00 31 00  30 00 30 00 32 00 38 00  ..1.4.1.0.0.2.8.
D 17429 ptpy.transports.usb[MainThread:__parse_response:293] 00000020: 34 00 00 00 09 31 00 34  00 31 00 30 00 30 00 32  4....1.4.1.0.0.2
D 17429 ptpy.transports.usb[MainThread:__parse_response:293] 00000030: 00 38 00 34 00 00 00 00                           .8.4....
D 17429 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17430 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17430 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17430 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  15 00 00 00              ....... ....
D 17430 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17431 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 44 bytes
D 17431 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0xd808']
D 17436 ptpy.transports.usb[MainThread:__recv:353] Read 27 bytes of data
D 17436 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17436 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 1B 00 00 00 02 00 14 10  16 00 00 00 08 D8 02 00  ................
D 17436 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 00 00 00 02 05 00 00 01  02 03 04                 ...........
D 17437 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17437 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17437 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17438 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  16 00 00 00              ....... ....
D 17438 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17438 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 15 bytes
D 17438 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0xd809']
D 17445 ptpy.transports.usb[MainThread:__recv:353] Read 28 bytes of data
D 17445 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17445 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 1C 00 00 00 02 00 14 10  17 00 00 00 09 D8 04 00  ................
D 17446 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 00 00 00 00 00 01 00 00  DB 05 01 00              ............
D 17446 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17446 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17446 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17447 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  17 00 00 00              ....... ....
D 17447 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17447 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 16 bytes
D 17447 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0xd80a']
D 17454 ptpy.transports.usb[MainThread:__recv:353] Read 28 bytes of data
D 17454 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17454 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 1C 00 00 00 02 00 14 10  18 00 00 00 0A D8 04 00  ................
D 17454 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 00 00 00 00 00 01 00 00  DC 05 01 00              ............
D 17454 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17455 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17455 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17455 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  18 00 00 00              ....... ....
D 17455 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17455 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 16 bytes
D 17456 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0xd80b']
D 17462 ptpy.transports.usb[MainThread:__recv:353] Read 26 bytes of data
D 17462 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17462 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 1A 00 00 00 02 00 14 10  19 00 00 00 0B D8 02 00  ................
D 17462 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 00 00 02 04 00 00 01  02 03                    ..........
D 17462 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17463 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17463 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17463 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  19 00 00 00              ....... ....
D 17463 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17463 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 14 bytes
D 17464 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0xd80c']
D 17469 ptpy.transports.usb[MainThread:__recv:353] Read 25 bytes of data
D 17469 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17469 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 19 00 00 00 02 00 14 10  1A 00 00 00 0C D8 02 00  ................
D 17469 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 00 00 01 02 03 00 00 01  02                       .........
D 17470 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17470 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17470 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17470 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  1A 00 00 00              ....... ....
D 17471 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17471 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 13 bytes
D 17471 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0xd80d']
D 17486 ptpy.transports.usb[MainThread:__recv:353] Read 22 bytes of data
D 17486 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17487 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 16 00 00 00 02 00 14 10  1B 00 00 00 0D D8 04 00  ................
D 17487 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 00 00 00 BB 0A 00                                 ......
D 17487 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17487 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17488 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17488 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  1B 00 00 00              ....... ....
D 17488 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17488 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 10 bytes
D 17488 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0xd80e']
D 17494 ptpy.transports.usb[MainThread:__recv:353] Read 24 bytes of data
D 17494 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17494 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 18 00 00 00 02 00 14 10  1C 00 00 00 0E D8 02 00  ................
D 17494 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 00 00 02 02 00 00 01                           ........
D 17494 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17495 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17495 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17495 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  1C 00 00 00              ....... ....
D 17495 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17496 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 12 bytes
D 17496 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0xd80f']
D 17501 ptpy.transports.usb[MainThread:__recv:353] Read 38 bytes of data
D 17501 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17501 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 26 00 00 00 02 00 14 10  1D 00 00 00 0F D8 06 00  &...............
D 17501 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 80 51 01 00 80 51 01  00 01 58 02 00 00 80 51  ..Q...Q...X....Q
D 17501 ptpy.transports.usb[MainThread:__parse_response:293] 00000020: 01 00 58 02 00 00                                 ..X...
D 17502 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17502 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17502 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17502 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  1D 00 00 00              ....... ....
D 17503 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17503 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 26 bytes
D 17503 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0xd810']
D 17510 ptpy.transports.usb[MainThread:__recv:353] Read 38 bytes of data
D 17510 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17511 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 26 00 00 00 02 00 14 10  1E 00 00 00 10 D8 06 00  &...............
D 17511 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 58 02 00 00 58 02 00  00 01 00 00 00 00 58 02  .X...X........X.
D 17511 ptpy.transports.usb[MainThread:__parse_response:293] 00000020: 00 00 3C 00 00 00                                 ..<...
D 17511 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17512 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17512 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17512 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  1E 00 00 00              ....... ....
D 17512 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17512 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 26 bytes
D 17513 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0xd811']
D 17518 ptpy.transports.usb[MainThread:__recv:353] Read 38 bytes of data
D 17519 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17519 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 26 00 00 00 02 00 14 10  1F 00 00 00 11 D8 06 00  &...............
D 17519 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 00 00 00 00 00 00 00 00  00 01 00 00 00 00 80 51  ...............Q
D 17519 ptpy.transports.usb[MainThread:__parse_response:293] 00000020: 01 00 01 00 00 00                                 ......
D 17519 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17520 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17520 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17520 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  1F 00 00 00              ....... ....
D 17520 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17520 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 26 bytes
D 17521 ptpy.transports.usb[MainThread:recv:475] RECV GetDevicePropDesc ['0xd812']
D 17528 ptpy.transports.usb[MainThread:__recv:353] Read 154 bytes of data
D 17529 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17529 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 9A 00 00 00 02 00 14 10  20 00 00 00 12 D8 0A 40  ........ ......@
D 17529 ptpy.transports.usb[MainThread:__parse_response:293] 00000010: 01 04 00 00 00 01 00 D2  00 01 00 00 00 FA 00 00  ................
D 17529 ptpy.transports.usb[MainThread:__parse_response:293] 00000020: 00 90 01 00 00 02 00 88  13 00 00 00 00 00 00 00  ................
D 17529 ptpy.transports.usb[MainThread:__parse_response:293] 00000030: 00 00 00 00 00 01 00 D2  00 01 00 00 00 FA 00 00  ................
D 17530 ptpy.transports.usb[MainThread:__parse_response:293] 00000040: 00 90 01 00 00 02 00 88  13 00 00 00 00 00 00 00  ................
D 17530 ptpy.transports.usb[MainThread:__parse_response:293] 00000050: 00 00 00 00 00 04 00 00  00 01 00 D2 00 01 00 00  ................
D 17530 ptpy.transports.usb[MainThread:__parse_response:293] 00000060: 00 FA 00 00 00 90 01 00  00 02 00 88 13 00 00 00  ................
D 17530 ptpy.transports.usb[MainThread:__parse_response:293] 00000070: 00 00 00 00 00 00 00 00  00 01 00 D2 00 01 00 00  ................
D 17530 ptpy.transports.usb[MainThread:__parse_response:293] 00000080: 00 FA 00 00 00 90 01 00  00 02 00 88 13 00 00 00  ................
D 17530 ptpy.transports.usb[MainThread:__parse_response:293] 00000090: 00 00 00 00 00 00 00 00  00 00                    ..........
D 17530 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Data transaction
D 17531 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17531 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17531 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  20 00 00 00              .......  ...
D 17532 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17532 ptpy.transports.usb[MainThread:recv:527] RECV GetDevicePropDesc OK 142 bytes
D 17532 ptpy.ptp[MainThread:session:770] Close session
D 17532 ptpy.transports.usb[MainThread:mesg:536] MESG CloseSession
D 17539 ptpy.transports.usb[MainThread:__recv:353] Read 12 bytes of data
D 17539 ptpy.transports.usb[MainThread:__parse_response:286] Transaction:
D 17540 ptpy.transports.usb[MainThread:__parse_response:293] 00000000: 0C 00 00 00 03 00 01 20  21 00 00 00              ....... !...
D 17540 ptpy.transports.usb[MainThread:__parse_response:299] Interpreting Response transaction
D 17540 ptpy.transports.usb[MainThread:mesg:547] MESG CloseSession OK
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/dev/env/lib/python2.7/site-packages/ptpy/__init__.py", line 135, in __new__
    instance._obtain_the_knowledge()
  File "/dev/env/lib/python2.7/site-packages/ptpy/ptp.py", line 863, in _obtain_the_knowledge
    self.__prop_desc[p] = self.get_device_prop_desc(p)
  File "/dev/env/lib/python2.7/site-packages/ptpy/ptp.py", line 1059, in get_device_prop_desc
    result = self._parse_if_data(response, self._DevicePropDesc)
  File "/dev/env/lib/python2.7/site-packages/ptpy/ptp.py", line 824, in _parse_if_data
    if hasattr(response, 'Data') else None)
  File "/dev/env/lib/python2.7/site-packages/construct/core.py", line 175, in parse
    return self.parse_stream(BytesIO(data), context, **kw)
  File "/dev/env/lib/python2.7/site-packages/construct/core.py", line 186, in parse_stream
    return self._parse(stream, context, "parsing")
  File "/dev/env/lib/python2.7/site-packages/construct/core.py", line 859, in _parse
    subobj = sc._parse(stream, context, path)
  File "/dev/env/lib/python2.7/site-packages/construct/core.py", line 2700, in _parse
    raise e.__class__("%s\n    %s" % (e, path))
construct.core.RangeError: could not read prefix or enough elements, stream too short?
    parsing -> FactoryDefaultValue
>>> E 18222 ptpy.transports.usb[EvtPolling:__recv:350] [Errno 60] Operation timed out
E 18222 ptpy.transports.usb[EvtPolling:__poll_events:575] <DEVICE ID 05ca:036d on Bus 000 Address 012> polling exception: [Errno 60] Operation timed out
E 19224 ptpy.transports.usb[EvtPolling:__recv:350] [Errno 60] Operation timed out
E 19224 ptpy.transports.usb[EvtPolling:__poll_events:575] <DEVICE ID 05ca:036d on Bus 000 Address 012> polling exception: [Errno 60] Operation timed out

micahhenrie avatar Jun 13 '19 15:06 micahhenrie