Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BORIS no longer allows editing of observation #779

Open
lysandrafp opened this issue Aug 6, 2024 · 1 comment
Open

BORIS no longer allows editing of observation #779

lysandrafp opened this issue Aug 6, 2024 · 1 comment

Comments

@lysandrafp
Copy link

lysandrafp commented Aug 6, 2024

BORIS version: 8.27.1
OS: Windows 11 10.0.22631
CPU: AMD64 Intel64 Family 6 Model 126 Stepping 5, GenuineIntel
Python 3.12.4 (64-bit)
Qt 5.15.2 - PyQt 5.15.10
MPV library version: 2.1
MPV library file path: C:\Users\Lysandra\BORIS\Lib\site-packages\boris\misc\mpv-2.dll

Error succeded at 2024-08-06 18:41

Traceback (most recent call last):
File "C:\Users\Lysandra\BORIS\Lib\site-packages\boris\connections.py", line 90, in
self.actionEdit_observation_2.triggered.connect(lambda: observation_operations.edit_observation(self))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Lysandra\BORIS\Lib\site-packages\boris\observation_operations.py", line 265, in edit_observation
new_observation(self, mode=cfg.EDIT, obsId=selected_observations[0])
File "C:\Users\Lysandra\BORIS\Lib\site-packages\boris\observation_operations.py", line 753, in new_observation
observationWindow.sb_media_scan_sampling.setValue(self.pj[cfg.OBSERVATIONS][obsId].get(cfg.MEDIA_SCAN_SAMPLING_DURATION, 0))
TypeError: setValue(self, val: int): argument 1 has unexpected type 'float'

@olivierfriard
Copy link
Owner

Hi,
did you edit the BORIS project file with an external program?

Is it possible to access the project file that give this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants