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 Error when attempting to start a new observation #777

Open
e-blop opened this issue Jul 30, 2024 · 1 comment
Open

Boris Error when attempting to start a new observation #777

e-blop opened this issue Jul 30, 2024 · 1 comment

Comments

@e-blop
Copy link

e-blop commented Jul 30, 2024

When attempting to start a new observation in BORIS, I can get all the way down until hitting start: then, an error message pops up:

An error has occured!

to improve the software please report this problem at:
https://github.com/olivierfriard/BORIS/issues

Please no screenshot, the error message was copied to the clipboard.

Thank you for your collaboration!

BORIS version: 8.25.4
OS: Windows 10 10.0.22631
CPU: AMD64 Intel64 Family 6 Model 140 Stepping 1, GenuineIntel
Python 3.11.2 (64-bit)
Qt 5.15.2 - PyQt 5.15.10
MPV library version: 2.1
MPV library file path: C:\Users\erika\OneDrive\Documents\BORIS\Lib\site-packages\boris\misc\mpv-2.dll

Error succeded at 2024-07-30 09:54

Traceback (most recent call last):
File "C:\Users\MYNAME\OneDrive\Documents\BORIS\Lib\site-packages\boris\observation.py", line 148, in
menu.triggered.connect(lambda x: self.add_media(mode=x.statusTip()))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\MYNAME\OneDrive\Documents\BORIS\Lib\site-packages\boris\observation.py", line 1251, in add_media
(error, msg) = self.check_media(file_path, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\erika\OneDrive\Documents\BORIS\Lib\site-packages\boris\observation.py", line 1152, in check_media
media_info = util.accurate_media_analysis(self.ffmpeg_bin, file_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\MYNAME\OneDrive\Documents\BORIS\Lib\site-packages\boris\utilities.py", line 1343, in accurate_media_analysis
ffprobe_results = ffprobe_media_analysis(ffmpeg_bin, file_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\MYNAME\OneDrive\Documents\BORIS\Lib\site-packages\boris\utilities.py", line 1231, in ffprobe_media_analysis
video_param = json.loads(out.decode("utf-8"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\MY NAME\OneDrive\Documents\BORIS\Lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\MY NAME\OneDrive\Documents\BORIS\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\MY NAME\OneDrive\Documents\BORIS\Lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

System info

NO IDEA WHAT TO DO! Would appreciate help.

@olivierfriard
Copy link
Owner

Hi,
can you repeat this issue with the last version of BORIS?

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