olivierfriard / BORIS

Behavioral Observation Research Interactive Software
http://www.boris.unito.it
GNU General Public License v3.0
169 stars 34 forks source link

Tabular events #738

Open kamikroft opened 3 months ago

kamikroft commented 3 months ago

BORIS version: 8.24.3 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\jjsis\OneDrive\Plocha\BORIS\Lib\site-packages\boris\misc\mpv-2.dll

Error succeded at 2024-04-08 09:38

Traceback (most recent call last): File "C:\Users\jjsis\OneDrive\Plocha\BORIS\Lib\site-packages\boris\connections.py", line 138, in self.actionExportEvents_2.triggered.connect(lambda: export_events.export_tabular_events(self, mode="tabular")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jjsis\OneDrive\Plocha\BORIS\Lib\site-packages\boris\export_events.py", line 130, in export_tabularevents , selected_observations = select_observations.select_observations2( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jjsis\OneDrive\Plocha\BORIS\Lib\site-packages\boris\select_observations.py", line 75, in select_observations2 interval = project_functions.observed_interval(pj[cfg.OBSERVATIONS][obs]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jjsis\OneDrive\Plocha\BORIS\Lib\site-packages\boris\project_functions.py", line 1167, in observed_interval return (dec(min(events)), dec(max(events))) ^^^^^^^^^^^ TypeError: '<' not supported between instances of 'str' and 'int'

System info

Host Name: BABINTB 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: j.j.sistkovi@seznam.cz Registered Organization: N/A Product ID: 00342-20820-95153-AAOEM Original Install Date: 09.04.2023, 12:28:00 System Boot Time: 05.04.2024, 22:14:13 System Manufacturer: ASUSTeK COMPUTER INC. System Model: VivoBook_ASUSLaptop X515EA_X515EA System Type: x64-based PC Processor(s): 1 Processor(s) Installed. 01: Intel64 Family 6 Model 140 Stepping 1 GenuineIntel ~2995 Mhz BIOS Version: American Megatrends International, LLC. X515EA.306, 02.11.2021 Windows Directory: C:\WINDOWS System Directory: C:\WINDOWS\system32 Boot Device: \Device\HarddiskVolume1 System Locale: cs;¬eçtina Input Locale: cs;¬eçtina Time Zone: (UTC+01:00) Praha, Bratislava, Budapeçś, BŘlehrad, Lublaĺ Total Physical Memory: 3˙791 MB Available Physical Memory: 346 MB Virtual Memory: Max Size: 8˙399 MB Virtual Memory: Available: 2˙709 MB Virtual Memory: In Use: 5˙690 MB Page File Location(s): C:\pagefile.sys Domain: WORKGROUP Logon Server: \BABINTB Hotfix(s): 6 Hotfix(s) Installed.

                       [02]: KB5012170
                       [03]: KB5027397
                       [04]: KB5035853
                       [05]: KB5032393
                       [06]: KB5035967

Network Card(s): 2 NIC(s) Installed. 01: Realtek 8821CE Wireless LAN 802.11ac PCI-E NIC Connection Name: Wi-Fi DHCP Enabled: Yes DHCP Server: 192.168.1.1 IP address(es)

                             [02]: fe80::9204:6c02:49e3:7129
                       [02]: Bluetooth Device (Personal Area Network)
                             Connection Name: Sˇśov‚ pýipojenˇ Bluetooth
                             Status:          Media disconnected

Hyper-V Requirements: VM Monitor Mode Extensions: Yes Virtualization Enabled In Firmware: Yes Second Level Address Translation: Yes Data Execution Prevention Available: Yes

olivierfriard commented 3 months ago

Hello, is it possible to access your project file to reproduce this issue? If yes, you can send it by email. Thank you for your collaboration

kamikroft commented 3 months ago

Hello, sending you my project - I cant export events..

Thank you..

st 10. 4. 2024 v 10:11 odesílatel Olivier Friard @.***> napsal:

Hello, is it possible to access your project file to reproduce this issue? If yes, you can send it by email. Thank you for your collaboration

— Reply to this email directly, view it on GitHub https://github.com/olivierfriard/BORIS/issues/738#issuecomment-2046848393, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHTAJXKVEVXRWTUYOOIX6ILY4TX37AVCNFSM6AAAAABF4FC5UWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBWHA2DQMZZGM . You are receiving this because you authored the thread.Message ID: @.***>

-- Kamila Kroftová, Statek Kočvary www.kocvary.cz http://www.kocvary.cz

olivierfriard commented 3 months ago

I did not receive your project file. How did you send it?

kamikroft commented 3 months ago

Its been send in the previous email like an attachment. The file format is "boris."

čt 11. 4. 2024 v 14:38 odesílatel Olivier Friard @.***> napsal:

I did not receive your project file. How did you send it?

— Reply to this email directly, view it on GitHub https://github.com/olivierfriard/BORIS/issues/738#issuecomment-2049602721, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHTAJXOUDWVI5RKTOP7EB7LY4Z72PAVCNFSM6AAAAABF4FC5UWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBZGYYDENZSGE . You are receiving this because you authored the thread.Message ID: @.***>

-- Kamila Kroftová, Statek Kočvary www.kocvary.cz http://www.kocvary.cz

olivierfriard commented 3 months ago

I cannot find it, please send it directly by email not via github. See the about page of the BORIS web site

msliima commented 2 months ago

Versão BORIS: 8.25.4 I have the same problem... I can't export the tabulated data, because in the behaviors section there is no registered behavior, even after I have already registered the ethogram and analyzed the video.

Images of the error in this link - https://photos.app.goo.gl/ej7vjcim3q66jGke7

olivierfriard commented 2 months ago

hi @msliima I need your project file and a detailed procedure to reproduce the issue. Is it possible? You can send it by email (see www.boris.unito.it > About)

msliima commented 2 months ago

Hi Olivier!

Issue: I can't export the file with the tabulated data.

Description: Even after registering the ethogram and analyzing the video, the behaviors are not presented in the “Select Subjects and Behavior” stage. Which results in an export failure.

BORIS version: BORIS v. 8.25.4 - 2024-04-18

Steps to reproduce the behavior:

  1. After starting BORIS, open the project.
  2. Click Observations > Export events > Tabular events.
  3. Select the observation.
  4. Select subjetcs and behaviors.

Expected behavior: Export the data.

Desktop: OS: Windows 10 Home Single Language - 22H2

Thank you for contacting me and I look forward to hearing back from you!

Em qua., 22 de mai. de 2024 às 11:51, Olivier Friard < @.***> escreveu:

hi @msliima https://github.com/msliima I need your project file and a detailed procedure to reproduce the issue. Is it possible? You can send it by email (see www.boris.unito.it > About)

— Reply to this email directly, view it on GitHub https://github.com/olivierfriard/BORIS/issues/738#issuecomment-2125002490, or unsubscribe https://github.com/notifications/unsubscribe-auth/BISBAYSF5P7KQ3RQFA3B4ATZDSWIPAVCNFSM6AAAAABF4FC5UWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRVGAYDENBZGA . You are receiving this because you were mentioned.Message ID: @.***>