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

Issue with Geometric Measurements #761

Open
LizzieD183 opened this issue Jul 1, 2024 · 0 comments
Open

Issue with Geometric Measurements #761

LizzieD183 opened this issue Jul 1, 2024 · 0 comments

Comments

@LizzieD183
Copy link

I've had repeated issues with BORIS crashing when I try to use any of the geometric measurement tools. I need to use the poly-line function to measure relative body and tail lengths of otters from camera trap footage saved as either AVI or MP4 files, but attempting to use any of the measurement tools causes BORIS to crash consistently.
I have attached the file I have been using to test, taking measurements at 25 seconds into the 30 second clip, if you need it to investigate the issue.
Thanks
Lizzie

PICT0038n.mp4

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.27.1
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\lizzi\BORIS2\Lib\site-packages\boris\misc\mpv-2.dll

Error succeded at 2024-07-01 11:35

Traceback (most recent call last):
File "C:\Users\lizzi\BORIS2\Lib\site-packages\boris\core.py", line 1782, in frame_image_clicked
geometric_measurement.image_clicked(self, n_player, event)
File "C:\Users\lizzi\BORIS2\Lib\site-packages\boris\geometric_measurement.py", line 556, in image_clicked
media_file_name = str(pl.Path(fn).relative_to(pl.Path(self.projectFileName).parent))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\lizzi\BORIS2\Lib\pathlib.py", line 730, in relative_to
raise ValueError("{!r} is not in the subpath of {!r}"
ValueError: 'C:\Users\lizzi\Otters\PICT0038n.mp4' is not in the subpath of '' OR one path is relative and the other is absolute.

System info

Host Name: LAPTOP-GL1ABM5F
OS Name: Microsoft Windows 11 Home
OS Version: 10.0.22631 N/A Build 22631
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
Registered Owner: lizziedanes@hotmail.co.uk
Registered Organization: N/A
Product ID: 00342-20771-25454-AAOEM
Original Install Date: 05/03/2023, 10:50:06
System Boot Time: 28/06/2024, 02:25:32
System Manufacturer: ASUSTeK COMPUTER INC.
System Model: ZenBook UX425EA_UX425EA
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 140 Stepping 1 GenuineIntel ~2419 Mhz
BIOS Version: American Megatrends International, LLC. UX425EA.316, 10/06/2022
Windows Directory: C:\WINDOWS
System Directory: C:\WINDOWS\system32
Boot Device: \Device\HarddiskVolume1
System Locale: en-gb;English (United Kingdom)
Input Locale: en-gb;English (United Kingdom)
Time Zone: (UTC+00:00) Dublin, Edinburgh, Lisbon, London
Total Physical Memory: 7,888 MB
Available Physical Memory: 1,267 MB
Virtual Memory: Max Size: 21,200 MB
Virtual Memory: Available: 10,051 MB
Virtual Memory: In Use: 11,149 MB
Page File Location(s): C:\pagefile.sys
Domain: WORKGROUP
Logon Server: \LAPTOP-GL1ABM5F
Hotfix(s): 5 Hotfix(s) Installed.
[01]: KB5037591
[02]: KB5012170
[03]: KB5027397
[04]: KB5036893
[05]: KB5037959
Network Card(s): 1 NIC(s) Installed.
[01]: Intel(R) Wi-Fi 6 AX201 160MHz
Connection Name: WiFi
DHCP Enabled: Yes
DHCP Server: 192.168.1.254
IP address(es)
[01]: 192.168.1.78
[02]: fe80::a530:1cd2:f9d1:23bd
[03]: fd0f:cc64:cc65:4833:918d:cfa9:9357:8957
[04]: 2a00:23c6:ee1e:a401:918d:cfa9:9357:8957
[05]: fd0f:cc64:cc65:4833:e44c:7785:71b7:5b71
[06]: 2a00:23c6:ee1e:a401:bb6:fe5:1b3b:9349
Hyper-V Requirements: VM Monitor Mode Extensions: Yes
Virtualization Enabled In Firmware: Yes
Second Level Address Translation: Yes
Data Execution Prevention Available: Yes

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

1 participant