neurobooth / neurobooth-os

Python package for digital phenotyping data synchronization and acquisition
http://neurobooth.github.io
BSD 3-Clause "New" or "Revised" License
6 stars 6 forks source link

Iphone timeout in dump_all #433

Open lwhite1 opened 1 day ago

lwhite1 commented 1 day ago

This is an uncaught exception during iphone dumpall that causes the program to exit, Should it be handled instead? 

Traceback (most recent call last):
  File "C:\neurobooth-os\extras\dump_iphone_video.py", line 185, in <module>
    main()
  File "C:\neurobooth-os\extras\dump_iphone_video.py", line 179, in main
    neurobooth_dump(args)
  File "C:\neurobooth-os\extras\dump_iphone_video.py", line 38, in neurobooth_dump
    handshake_success = phone.prepare()
  File "C:\neurobooth-os\neurobooth_os\iout\iphone.py", line 537, in prepare
    success = self._handshake(config)
  File "C:\neurobooth-os\neurobooth_os\iout\iphone.py", line 582, in _handshake
    self._send_and_wait_for_response(
  File "C:\neurobooth-os\neurobooth_os\iout\iphone.py", line 383, in _send_and_wait_for_response
    self._raise_timeout(msg_type)
  File "C:\neurobooth-os\neurobooth_os\iout\iphone.py", line 253, in _raise_timeout
    raise IPhoneTimeout(f'Timeout when waiting for {event_name}.')
neurobooth_os.iout.iphone.IPhoneTimeout: Timeout when waiting for @STANDBY.