nalmadi / fix8

Fix8 (Fixate) is an Open-Source GUI Tool for Working with Eye Tracking Data in Reading Tasks.
Mozilla Public License 2.0
5 stars 0 forks source link

bug: if you open an empty json or fixation file, the tool crashes with this error: #179

Open nalmadi opened 3 weeks ago

nalmadi commented 3 weeks ago

Traceback (most recent call last): File "C:\Users\nsser\OneDrive\Desktop\Research\Fix8-repo\src\fix8.py", line 2144, in progress_bar_updated f"{self.current_fixation}/{len(self.fixations)-1}" ^^^^^^^^^^^^^^^^^^^ TypeError: object of type 'NoneType' has no len()