Closed annie-xd-wang closed 3 months ago
Another one found...
position is invalid
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\Spectral\.conda\envs\navigate\lib\site-packages\pandas\core\indexes\base.py", line 3361, in get_loc
return self._engine.get_loc(casted_key)
File "pandas\_libs\index.pyx", line 76, in pandas._libs.index.IndexEngine.get_loc
File "pandas\_libs\index.pyx", line 108, in pandas._libs.index.IndexEngine.get_loc
File "pandas\_libs\hashtable_class_helper.pxi", line 2131, in pandas._libs.hashtable.Int64HashTable.get_item
File "pandas\_libs\hashtable_class_helper.pxi", line 2140, in pandas._libs.hashtable.Int64HashTable.get_item
KeyError: 0
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Spectral\.conda\envs\navigate\lib\tkinter\__init__.py", line 1892, in __call__
return self.func(*args)
File "C:\Users\Spectral\Documents\GitHub\navigate\src\navigate\controller\sub_controllers\multi_position_controller.py", line 157, in handle_double_click
temp = list(df.loc[rowclicked])
File "C:\Users\Spectral\.conda\envs\navigate\lib\site-packages\pandas\core\indexing.py", line 931, in __getitem__
return self._getitem_axis(maybe_callable, axis=axis)
File "C:\Users\Spectral\.conda\envs\navigate\lib\site-packages\pandas\core\indexing.py", line 1164, in _getitem_axis
return self._get_label(key, axis=axis)
File "C:\Users\Spectral\.conda\envs\navigate\lib\site-packages\pandas\core\indexing.py", line 1113, in _get_label
return self.obj.xs(label, axis=axis)
File "C:\Users\Spectral\.conda\envs\navigate\lib\site-packages\pandas\core\generic.py", line 3776, in xs
loc = index.get_loc(key)
File "C:\Users\Spectral\.conda\envs\navigate\lib\site-packages\pandas\core\indexes\base.py", line 3363, in get_loc
raise KeyError(key) from err
KeyError: 0
position is invalid
position is invalid
position is invalid
position is invalid
Attention: Patch coverage is 30.00000%
with 7 lines
in your changes are missing coverage. Please review.
Project coverage is 51.06%. Comparing base (
fb182fe
) to head (3302189
). Report is 4 commits behind head on develop.:exclamation: Current head 3302189 differs from pull request most recent head 586c903
Please upload reports for the commit 586c903 to get more accurate results.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
One more problem found @annie-xd-wang - When we right-click on the image display and select
mark position
.