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

crash when trying to use geometric measurements #808

Open
amaiahrb opened this issue Nov 21, 2024 · 0 comments
Open

crash when trying to use geometric measurements #808

amaiahrb opened this issue Nov 21, 2024 · 0 comments

Comments

@amaiahrb
Copy link

  1. Indicate the version of BORIS (Verify you are using the last version http://www.boris.unito.it/download)

BORIS v.8.27.10 - 2024-10-07

  1. Verify the integrity of your BORIS project using: Project > Check project integrity

The current projects has no issues

  1. Describe the bug

A window opens, with error has ocurred, when trying to use geometric measurements

Steps to reproduce the issue:

  1. Go to 'tools'
  2. Click on 'Geometric measurement'
  3. Click on 'Polyline'
  4. Click with the left mouse button on the video
  5. See error

Expected behavior
I want to measure distances using a polyline.

Information about your system:

  • Desktop: Lenovo Thinkbook 14 G6 IRL
  • OS: Windows 11 10.0.22631
  • Type of BORIS installation (setup or portable ...): BORIS for Windows 64-bit Setup v.8.27.10

In case of crash attach or copy the content of the boris.log file (before relaunching BORIS).

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.10
OS: Windows 11 10.0.22631
CPU: AMD64 Intel64 Family 6 Model 186 Stepping 3, GenuineIntel
Python 3.12.4 (64-bit)
Qt 5.15.2 - PyQt 5.15.11
MPV library version: 2.3
MPV API version: (2, 3)
MPV library file path: C:\Users\ahormaetxe\BORIS\Lib\site-packages\boris\misc\libmpv-2.dll

Error succeded at 2024-11-21 08:38

Traceback (most recent call last):
File "C:\Users\ahormaetxe\BORIS\Lib\site-packages\boris\core.py", line 1782, in frame_image_clicked
geometric_measurement.image_clicked(self, n_player, event)
File "C:\Users\ahormaetxe\BORIS\Lib\site-packages\boris\geometric_measurement.py", line 554, in image_clicked
media_file_name = str(pl.Path(fn).relative_to(pl.Path(self.projectFileName).parent))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ahormaetxe\BORIS\Lib\pathlib.py", line 682, in relative_to
raise ValueError(f"{str(self)!r} is not in the subpath of {str(other)!r}")
ValueError: 'C:\Users\ahormaetxe\OneDrive - Neiker, S.A\LOOKHEN compartido\GRABACIONES\TEST\D01_0919_0831.mp4' is not in the subpath of 'C:\Users\ahormaetxe\Desktop\pruebas boris'

System info

Nombre de host: L-PW08SZHW
Nombre del sistema operativo: Microsoft Windows 11 Pro
Versi¢n del sistema operativo: 10.0.22631 N/D Compilaci¢n 22631
Fabricante del sistema operativo: Microsoft Corporation
Configuraci¢n del sistema operativo: Estaci¢n de trabajo miembro
Tipo de compilaci¢n del sistema operativo: Multiprocessor Free
Propiedad de: usr_iktlocal
Organizaci¢n registrada: N/D
Id. del producto: 00355-61257-21777-AAOEM
Fecha de instalaci¢n original: 15/05/2024, 20:25:24
Tiempo de arranque del sistema: 21/11/2024, 7:32:12
Fabricante del sistema: LENOVO
Modelo el sistema: 21KG
Tipo de sistema: x64-based PC
Procesador(es): 1 Procesadores instalados.
[01]: Intel64 Family 6 Model 186 Stepping 3 GenuineIntel ~1300 Mhz
Versi¢n del BIOS: LENOVO MMCN36WW, 26/03/2024
Directorio de Windows: C:\Windows
Directorio de sistema: C:\Windows\system32
Dispositivo de arranque: \Device\HarddiskVolume1
Configuraci¢n regional del sistema: es;Espa¤ol (internacional)
Idioma de entrada: es;Espa¤ol (tradicional)
Zona horaria: (UTC+01:00) Bruselas, Copenhague, Madrid, Par¡s
Cantidad total de memoria f¡sica: 15.902 MB
Memoria f¡sica disponible: 5.670 MB
Memoria virtual: tama¤o m ximo: 16.926 MB
Memoria virtual: disponible: 2.483 MB
Memoria virtual: en uso: 14.443 MB
Ubicaci¢n(es) de archivo de paginaci¢n: C:\pagefile.sys
Dominio: neiker.lan
Servidor de inicio de sesi¢n: \NKDERDC01
Revisi¢n(es): 6 revisi¢n(es) instaladas.
[01]: KB5045935
[02]: KB5027397
[03]: KB5031274
[04]: KB5036212
[05]: KB5046633
[06]: KB5044620
Tarjeta(s) de red: 4 Tarjetas de interfaz de red instaladas.
[01]: Intel(R) Ethernet Connection (23) I219-V
Nombre de conexi¢n: Ethernet
Estado: Medios desconectados
[02]: Intel(R) Wi-Fi 6 AX203
Nombre de conexi¢n: Wi-Fi
Estado: Medios desconectados
[03]: TAP-Windows Adapter V9
Nombre de conexi¢n: Conexi¢n de rea local
Estado: Medios desconectados
[04]: Realtek USB GbE Family Controller
Nombre de conexi¢n: Ethernet 3
DHCP habilitado: S¡
Servidor DHCP: 172.20.15.10
Direcciones IP
[01]: 172.20.14.118
[02]: fe80::3d61:dcbd:af8d:52d6
Requisitos Hyper-V: Se detect¢ un hipervisor. No se mostrar n las caracter¡sticas necesarias para Hyper-V.

MEDIA FILE INFORMATION

MPV information
Video format: hevc
Number of media in media list: 1
Current time position: 7.789000000000001
Duration: 3238.34
FPS: 15.0
Video size: 3200x1800
Aspect ratio: 1.778

Duration: 3238.34 seconds (00:53:58.340)
Format long name: MPEG-PS (MPEG-2 Program Stream)
Creation time: NA
Resolution: 3200x1800
Number of frames: 291450600
Bitrate: 2.6 Mb
FPS: 25.0
Has video: True
Has audio: False
File size: 1.1 Gb
Video codec: H.265 / HEVC (High Efficiency Video Coding)
Audio codec: None

Total duration: 3238.34 (00:53:58.340)
boris.log
boris_error.log

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