BORIS icon indicating copy to clipboard operation
BORIS copied to clipboard

BORIS closes automatically when I click on video

Open AmbiBambie opened this issue 5 years ago • 8 comments

Hi! I have been using BORIS for a while now. I have been experiencing frequent crashes, but when I restart the program it is often (temporally) fixed. However, recently a new issue emerged, which prevents me from using the program. When I start a new observation and click on the video (to zoom in), BORIS closes automatically. The problem is not fixed when I reopen the program. Is there a way that this issue can be fixed?

In other messages I read that I should upload the error log, but I cannot write the code in the script.

AmbiBambie avatar Apr 03 '21 18:04 AmbiBambie

Hi,

what version of BORIS are you using? I do not understand what you mean by "write the code in the script" If you are using the current BORIS version (7.10.2) and you are not able to copy the content of the boris_error.log you can send a screenshot of the file content. Olivier

On Sat, Apr 3, 2021 at 8:56 PM AmbiBambie @.***> wrote:

Hi! I have been using BORIS for a while now. I have been experiencing frequent crashes, but when I restart the program it is often (temporally) fixed. However, recently a new issue emerged, which prevents me from using the program. When I start a new observation and click on the video (to zoom in), BORIS closes automatically. The problem is not fixed when I reopen the program. Is there a way that this issue can be fixed?

In other messages I read that I should upload the error log, but I cannot write the code in the script.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/olivierfriard/BORIS/issues/386, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABR2AYSPKUS6QHL6RYZIEYLTG5QHNANCNFSM42KQYLAQ .

-- University of Torino Dept of Life Sciences and Systems Biology Via dell'Accademia Albertina, 13 10123 TORINO (Italy) tel: +39 011 6704542 http://penelope.unito.it/friard/ http://orcid.org/0000-0002-0374-9872

olivierfriard avatar Apr 04 '21 16:04 olivierfriard

Hi Olivier,

I am using the current BORIS version (7.10.2) for Windows. The program shuts down when I click on the video frame to focus on a video area.

I get the following in the error document: 14:40:27,36 core l.7466 DEBUG initialize new project... 14:40:27,49 core l.561 DEBUG menu_options function 14:40:35,533 core l.4700 DEBUG load events from obs: T2_5920 14:40:35,534 core l.4216 DEBUG function: initialize new observation for VLC 14:40:35,551 player_dock_widget l.101 DEBUG video frame resized 14:40:35,557 core l.4307 DEBUG media file: C:/Users/Amber/Documents/Training_videos/Week2/SERT_Week2_5920-5921-5923-5924.MTS 14:40:35,558 core l.4311 DEBUG media_full_path: C:\Users\Amber\Documents\Training_videos\Week2\SERT_Week2_5920-5921-5923-5924.MTS 14:40:35,600 core l.4356 DEBUG playing media #0 14:40:35,609 core l.3067 DEBUG seek mediaplayer in player #0 to 0 14:40:35,610 core l.3068 DEBUG self.dw_player[player].mediaplayer.get_state() #0 State.Paused 14:40:35,610 core l.3093 DEBUG paused? True 14:40:35,610 core l.3104 DEBUG play 14:40:35,611 core l.3111 DEBUG time sleep 14:40:35,811 core l.3118 DEBUG pause 14:40:35,912 core l.3124 DEBUG set new time 14:40:35,913 core l.561 DEBUG menu_options function 14:40:35,917 core l.5832 DEBUG function: display statusbar info: T2_5920 14:40:35,949 player_dock_widget l.101 DEBUG video frame resized 14:40:35,959 core l.561 DEBUG menu_options function Traceback (most recent call last): File "C:\Users\Amber\BORIS\lib\site-packages\boris\player_dock_widget.py", line 55, in mousePressEvent QMessageBox.warning(self, programName, NameError: name 'QMessageBox' is not defined

The problem only occured until recently. Before, I was able to zoom in on a specific area of the videos.

Amber

AmbiBambie avatar Apr 15 '21 12:04 AmbiBambie

Thank you,

Can you download again BORIS (same version) and try if the issue is fixed or not? Olivier

On Thu, Apr 15, 2021 at 2:47 PM AmbiBambie @.***> wrote:

Hi Olivier,

I am using the current BORIS version (7.10.2) for Windows. The program shuts down when I click on the video frame to focus on a video area.

I get the following in the error document: 14:40:27,36 core l.7466 DEBUG initialize new project... 14:40:27,49 core l.561 DEBUG menu_options function 14:40:35,533 core l.4700 DEBUG load events from obs: T2_5920 14:40:35,534 core l.4216 DEBUG function: initialize new observation for VLC 14:40:35,551 player_dock_widget l.101 DEBUG video frame resized 14:40:35,557 core l.4307 DEBUG media file: C:/Users/Amber/Documents/Training_videos/Week2/SERT_Week2_5920-5921-5923-5924.MTS 14:40:35,558 core l.4311 DEBUG media_full_path: C:\Users\Amber\Documents\Training_videos\Week2\SERT_Week2_5920-5921-5923-5924.MTS 14:40:35,600 core l.4356 DEBUG playing media #0 14:40:35,609 core l.3067 DEBUG seek mediaplayer in player #0 to 0 14:40:35,610 core l.3068 DEBUG self.dw_player[player].mediaplayer.get_state() #0 State.Paused 14:40:35,610 core l.3093 DEBUG paused? True 14:40:35,610 core l.3104 DEBUG play 14:40:35,611 core l.3111 DEBUG time sleep 14:40:35,811 core l.3118 DEBUG pause 14:40:35,912 core l.3124 DEBUG set new time 14:40:35,913 core l.561 DEBUG menu_options function 14:40:35,917 core l.5832 DEBUG function: display statusbar info: T2_5920 14:40:35,949 player_dock_widget l.101 DEBUG video frame resized 14:40:35,959 core l.561 DEBUG menu_options function Traceback (most recent call last): File "C:\Users\Amber\BORIS\lib\site-packages\boris\player_dock_widget.py", line 55, in mousePressEvent QMessageBox.warning(self, programName, NameError: name 'QMessageBox' is not defined

The problem only occured until recently. Before, I was able to zoom in on a specific area of the videos.

Amber

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/olivierfriard/BORIS/issues/386#issuecomment-820395107, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABR2AYWWVDMIYU3ZTCAFZMDTI3N7VANCNFSM42KQYLAQ .

-- University of Torino Dept of Life Sciences and Systems Biology Via dell'Accademia Albertina, 13 10123 TORINO (Italy) tel: +39 011 6704542 http://penelope.unito.it/friard/ http://orcid.org/0000-0002-0374-9872

olivierfriard avatar Apr 15 '21 13:04 olivierfriard

I have redownloaded the programme, but I still have the same issue as before.

AmbiBambie avatar Apr 16 '21 13:04 AmbiBambie

boris_error.log

I've included the error log again

I made a new project and then I was able to zoom in again, yay! However, the program froze and shut down due to another bug (I was unable to go back and the screen froze while the audio kept playing). Since this error, I am unable to zoom in on the video again.

AmbiBambie avatar Apr 16 '21 14:04 AmbiBambie

This bug should be fixed in the v. 7.10.3 Please let me know and eventually close this issue

olivierfriard avatar May 03 '21 09:05 olivierfriard

Hi Olivier,

I downloaded the newest version. When I click on the video I get a warning that 'the focus video area is not available because the video resolution is not available'. It suggests that I should re-encode the video. I tried to do this, but I still encountered the same issue after re-coding it (with default settings). Do you know how to correctly re-encode the video, so that I can focus on the video? What are the requirements for the video resolution?

Amber

AmbiBambie avatar May 08 '21 13:05 AmbiBambie

Hi AmbiBambie,

Why do you have to click on the video? If the resolution is not available you cannot zoom it

o

On Sat, May 8, 2021 at 3:20 PM AmbiBambie @.***> wrote:

Hi Olivier,

I downloaded the newest version. When I click on the video I get a warning that 'the focus video area is not available because the video resolution is not available'. It suggests that I should re-encode the video. I tried to do this, but I still encountered the same issue after re-coding it (with default settings). Do you know how to correctly re-encode the video, so that I can focus on the video? What are the requirements for the video resolution?

Amber

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/olivierfriard/BORIS/issues/386#issuecomment-835360998, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABR2AYQGC5CCKNUH6C4A6E3TMU3ABANCNFSM42KQYLAQ .

-- University of Torino Dept of Life Sciences and Systems Biology Via dell'Accademia Albertina, 13 10123 TORINO (Italy) tel: +39 011 6704542 http://penelope.unito.it/friard/ http://orcid.org/0000-0002-0374-9872

olivierfriard avatar May 09 '21 09:05 olivierfriard