pl-rec-export version: 0+untagged.31.gcb5fb87 INFO:root:Processing 1 recordings Processing recordings... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:--INFO:root:Processing C:\Users\Fred\Desktop\VScode\python\eyetracker\data050624\OutdoorsLizChambers WARNING:root:'C:\Users\Fred\Desktop\VScode\python\eyetracker\data050624\OutdoorsLizChambers\export' exists. Overwriting. INFO:root:File list INFO:root: android.log.zip - 151663 INFO:root: calibration.bin - 803 INFO:root: event.time - 16 INFO:root: event.txt - 30 INFO:root: export - 0 INFO:root: extimu ps1.raw - 8076044 INFO:root: extimu ps1.time - 839136 INFO:root: gaze ps1.raw - 1605472 INFO:root: gaze ps1.time - 1605472 INFO:root: gaze_right ps1.raw - 1605472 INFO:root: gaze_right ps1.time - 1605472 INFO:root: imu.proto - 545 INFO:root: info.json - 826 INFO:root: Neon Scene Camera v1 ps1.mp4 - 795147324 INFO:root: Neon Scene Camera v1 ps1.time - 241712 INFO:root: Neon Scene Camera v1 ps1.time_aux - 241712 INFO:root: Neon Sensor Module v1 ps1.mp4 - 459954885 INFO:root: Neon Sensor Module v1 ps1.time - 1607456 INFO:root: Neon Sensor Module v1 ps1.time_aux - 1607456 INFO:root: Neon Sensor Module v1_sae_log_1.bin - 1048576 INFO:root: template.json - 482 INFO:root: wearer.json - 70 INFO:root: worn ps1.raw - 200684 INFO:root:Recording info INFO:root: start_time : 1717586382816000000 INFO:root: duration : 1009548000000 INFO:root: data_format_version : 2.3 INFO:root: gaze_offset : [29.923584, -29.350525] INFO:root: pipeline_version : 2.7.0 INFO:root: scene_camera_serial_number : None INFO:root: module_serial_number : 941150 INFO:root:Exporting event data to 'C:\Users\Fred\Desktop\VScode\python\eyetracker\data050624\OutdoorsLizChambers\export\events.csv' INFO:root:Exporting template data to 'C:\Users\Fred\Desktop\VScode\python\eyetracker\data050624\OutdoorsLizChambers\export\template.json' INFO:root:Calculating spherical gaze directions... INFO:root:Exporting gaze to 'C:\Users\Fred\Desktop\VScode\python\eyetracker\data050624\OutdoorsLizChambers\export\gaze.csv' C:\Users\Fred\Desktop\VScode\python\eyetracker\src\pl-rec-export\src\pupil_labs\rec_export\explib\neon\__init__.py:24: RuntimeWarning: overflow encountered in scalar add packet_bytes = raw_bytes[index : index + packet_size] C:\Users\Fred\Desktop\VScode\python\eyetracker\src\pl-rec-export\src\pupil_labs\rec_export\explib\neon\__init__.py:25: RuntimeWarning: overflow encountered in scalar add index += packet_size ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ in _run_module_as_main:198 │ │ in _run_code:88 │ │ │ │ in :7 │ │ │ │ C:\Users\Fred\Desktop\VScode\python\eyetracker\Lib\site-packages\click\core.py:1157 in __call__ │ │ │ │ C:\Users\Fred\Desktop\VScode\python\eyetracker\Lib\site-packages\click\core.py:1078 in main │ │ │ │ C:\Users\Fred\Desktop\VScode\python\eyetracker\Lib\site-packages\click\core.py:1434 in invoke │ │ │ │ C:\Users\Fred\Desktop\VScode\python\eyetracker\Lib\site-packages\click\core.py:783 in invoke │ │ │ │ C:\Users\Fred\Desktop\VScode\python\eyetracker\src\pl-rec-export\src\pupil_labs\rec_export\expor │ │ t.py:88 in main │ │ │ │ 85 │ │ │ for rec in progress.track( │ │ 86 │ │ │ │ recordings, description="Processing recordings..." │ │ 87 │ │ │ ): │ │ ❱ 88 │ │ │ │ process_recording( │ │ 89 │ │ │ │ │ rec, export_folder, force, progress, blinks, fixations │ │ 90 │ │ │ │ ) │ │ 91 │ except Exception: │ │ │ │ C:\Users\Fred\Desktop\VScode\python\eyetracker\src\pl-rec-export\src\pupil_labs\rec_export\expor │ │ t.py:159 in process_recording │ │ │ │ 156 │ │ _process_events(recording, export_path) │ │ 157 │ │ _process_template(recording, export_path) │ │ 158 │ │ _process_gaze(recording, export_path) │ │ ❱ 159 │ │ _process_imu(recording, export_path) │ │ 160 │ │ _process_world(recording, export_path) │ │ 161 │ │ if blinks: │ │ 162 │ │ │ blink_thread.start() │ │ │ │ C:\Users\Fred\Desktop\VScode\python\eyetracker\src\pl-rec-export\src\pupil_labs\rec_export\expor │ │ t.py:334 in _process_imu │ │ │ │ 331 │ else: │ │ 332 │ │ process_imu_file = _process_pi_imu_file │ │ 333 │ │ │ ❱ 334 │ dfs = {raw.stem: process_imu_file(raw, ts) for raw, ts in zip(files_raw, files_ts)} │ │ 335 │ │ │ 336 │ export_path = export_path / "imu.csv" │ │ 337 │ logging.info(f"Exporting IMU to '{export_path}'") │ │ │ │ C:\Users\Fred\Desktop\VScode\python\eyetracker\src\pl-rec-export\src\pupil_labs\rec_export\expor │ │ t.py:334 in │ │ │ │ 331 │ else: │ │ 332 │ │ process_imu_file = _process_pi_imu_file │ │ 333 │ │ │ ❱ 334 │ dfs = {raw.stem: process_imu_file(raw, ts) for raw, ts in zip(files_raw, files_ts)} │ │ 335 │ │ │ 336 │ export_path = export_path / "imu.csv" │ │ 337 │ logging.info(f"Exporting IMU to '{export_path}'") │ │ │ │ C:\Users\Fred\Desktop\VScode\python\eyetracker\src\pl-rec-export\src\pupil_labs\rec_export\expor │ │ t.py:393 in _process_neon_imu_file │ │ │ │ 390 │ │ 391 │ │ 392 def _process_neon_imu_file(raw: pathlib.Path, time: pathlib.Path) -> pd.DataFrame: │ │ ❱ 393 │ imu_data = neon.raw_imu_file_to_numpy(raw) │ │ 394 │ ts = np.fromfile(time, dtype=" │ │ │ │ 68 def raw_imu_file_to_packets(file_path: Union[str, Path]): │ │ 69 │ with Path(file_path).open("rb") as handle: │ │ 70 │ │ packets = ( │ │ ❱ 71 │ │ │ imu_pb2.ImuPacket.FromString(packet_bytes) │ │ 72 │ │ │ for packet_bytes in extract_raw_imu_packets(handle.read()) │ │ 73 │ │ ) │ │ 74 │ │ yield from packets │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ DecodeError: Error parsing message