You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
D 19 ptpy[MainThread:__new__:99] New PTPy
D 20 ptpy.ptp[MainThread:__init__:705] Init PTP
D 20 ptpy.ptp[MainThread:_set_endian:629] Set PTP endianness
D 21 ptpy.transports.ip[MainThread:__init__:77] Init IP
D 21 ptpy.transports.ip[MainThread:recv:600] RECV GetDeviceInfo
D 21 ptpy.transports.ip[MainThread:__setup_connection:194] Establishing PTP/IP connection with 192.168.156.1:15740
E 24 ptpy.transports.ip[MainThread:__implicit_session:115] <lambda>() takes exactly 3 arguments (2 given)
E 24 ptpy.ptp[MainThread:recv:801] Failed to open PTP/IP implicit session
Traceback (most recent call last):
File "test.py", line 3, in<module>
camera = PTPy(transport=IPTransport,device="192.168.156.1")
File "Experiments/sequoia-ptpy/ptpy/__init__.py", line 114, in __new__
device_info = plain_camera.get_device_info()
File "Experiments/sequoia-ptpy/ptpy/ptp.py", line 953, in get_device_info
response = self.recv(ptp)
File "Experiments/sequoia-ptpy/ptpy/ptp.py", line 802, in recv
raise e
ptpy.ptp.PTPError: Failed to open PTP/IP implicit session
The text was updated successfully, but these errors were encountered:
I am running the following code:
I get this error:
The text was updated successfully, but these errors were encountered: