ANP-Granular / ParticleTracking

Library and GUI for tracking (rod-like) particles on camera images in 2D and 3D
https://particletracking.readthedocs.io/en/latest/
GNU General Public License v3.0
2 stars 2 forks source link

Crashes after rod trimming #58

Closed dmitrypuzyrev closed 2 years ago

dmitrypuzyrev commented 2 years ago

Program crashes after using the rod adjustment shortcuts. No errors are produced. For me crash happens after several repeated operations on a frame, students report that it does not work at all. I have updated pyqt to 5.15.7, maybe it makes difference.

a-niem commented 2 years ago

To specify the problem a bit more precise: The problem occurs after using any of the rod adjustments and then attempting to switch to the next frame. It does not matter how often any of these functions has been performed.

It also occurs on the Applicationization branch.

The following error messages are logged:

[09/20 19:05:12] RodTracker.backend.logger ERROR: Uncaught exception:
Traceback (most recent call last):
  File "...\backend\parallelism.py", line 15, in run
    results = self.f()
  File "...\backend\data_operations.py", line 173, in change_data
    rod_data = change_data(rod_data, tmp_data)
TypeError: change_data() takes 1 positional argument but 2 were given
NoneType: None

This exposes another problem with the application, namely that it now fails silently and leaves the GUI only in an unresponsive state.

a-niem commented 2 years ago

The problem should be fixed with the commits 4c12c0b and 5c3341e.