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

Test fails: bubblesub/tests/ui/test_vim_text_edit.py Fatal Python error: Aborted #89

Open
pea-ppod opened this issue Aug 25, 2022 · 6 comments

Comments

@pea-ppod
Copy link

On 1450f6f

# sudo docker run bubblesub
============================= test session starts ==============================
platform linux -- Python 3.10.4, pytest-7.1.2, pluggy-1.0.0
PyQt5 5.15.6 -- Qt runtime 5.15.3 -- Qt compiled 5.15.3
rootdir: /bubblesub, configfile: pyproject.toml
plugins: qt-4.1.0
collected 1490 items

bubblesub/tests/test_ass_util.py ..........                              [  0%]
bubblesub/tests/test_command_help.py ..                                  [  0%]
bubblesub/tests/test_command_naming.py ..                                [  0%]
bubblesub/tests/test_common.py .                                         [  1%]
bubblesub/tests/test_docstring.py ...................................... [  3%]
........................................................................ [  8%]
........................................................................ [ 13%]
........................................................................ [ 18%]
........................................................................ [ 22%]
........................................................................ [ 27%]
........................................................................ [ 32%]
........................................................................ [ 37%]
........................................................................ [ 42%]
........................................................................ [ 47%]
........................................................................ [ 51%]
........................................................................ [ 56%]
........................................................................ [ 61%]
........................................................................ [ 66%]
........................................................................ [ 71%]
...........                                                              [ 71%]
bubblesub/tests/test_preamble.py ....................................... [ 74%]
........................................................................ [ 79%]
.........................                                                [ 81%]
bubblesub/tests/test_run.py .                                            [ 81%]
bubblesub/tests/test_util.py ................                            [ 82%]
bubblesub/tests/api/test_cmd.py .............                            [ 83%]
bubblesub/tests/api/test_video_stream.py ............................... [ 85%]
...........................                                              [ 86%]
bubblesub/tests/cmd/common/test_pts.py ................................. [ 89%]
........................................................................ [ 94%]
.....................................                                    [ 96%]
bubblesub/tests/cmd/common/test_sub_selection.py ....................... [ 98%]
......                                                                   [ 98%]
bubblesub/tests/ui/test_vim_text_edit.py Fatal Python error: Aborted

Current thread 0x00007f532e612000 (most recent call first):
  File "/usr/local/lib/python3.10/dist-packages/pytestqt/plugin.py", line 66 in qapp
  File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 890 in call_fixture_func
  File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 1111 in pytest_fixture_setup
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 39 in _multicall
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 265 in __call__
  File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 1057 in execute
  File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 659 in _compute_fixture_value
  File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 573 in _get_active_fixturedef
  File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 1033 in execute
  File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 659 in _compute_fixture_value
  File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 573 in _get_active_fixturedef
  File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 554 in getfixturevalue
  File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 541 in _fillfixtures
  File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1764 in setup
  File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 491 in setup
  File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 154 in pytest_runtest_setup
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 39 in _multicall
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 265 in __call__
  File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 259 in <lambda>
  File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 338 in from_call
  File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 258 in call_runtest_hook
  File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 219 in call_and_report
  File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 124 in runtestprotocol
  File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 111 in pytest_runtest_protocol
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 39 in _multicall
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 265 in __call__
  File "/usr/local/lib/python3.10/dist-packages/_pytest/main.py", line 347 in pytest_runtestloop
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 39 in _multicall
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 265 in __call__
  File "/usr/local/lib/python3.10/dist-packages/_pytest/main.py", line 322 in _main
  File "/usr/local/lib/python3.10/dist-packages/_pytest/main.py", line 268 in wrap_session
  File "/usr/local/lib/python3.10/dist-packages/_pytest/main.py", line 315 in pytest_cmdline_main
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 39 in _multicall
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 265 in __call__
  File "/usr/local/lib/python3.10/dist-packages/_pytest/config/__init__.py", line 164 in main
  File "/usr/local/lib/python3.10/dist-packages/_pytest/config/__init__.py", line 187 in console_main
  File "/usr/local/lib/python3.10/dist-packages/pytest/__main__.py", line 5 in <module>
  File "/usr/lib/python3.10/runpy.py", line 86 in _run_code
  File "/usr/lib/python3.10/runpy.py", line 196 in _run_module_as_main

Extension modules: PyQt5.QtCore, PyQt5.QtGui, PyQt5.QtWidgets, PyQt5.QtTest, regex._regex, yaml._yaml, numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, PIL._imaging, numpy.linalg.lapack_lite (total: 21)
Aborted (core dumped)
@rr-
Copy link
Collaborator

rr- commented Sep 2, 2022

GitHub actions pass, though.

@pepa65
Copy link

pepa65 commented Sep 13, 2022

Similar issue here, my output:

bubblesub/tests/cmd/common/test_sub_selection.py ....................... [ 98%]                                                                   
......                                                                   [ 98%]                                                                   
bubblesub/tests/ui/test_vim_text_edit.py Fatal Python error: Aborted                                                                              
                                                                                                                                                  
Current thread 0x00007f52e2547000 (most recent call first):                                                                                       
  File "/usr/local/lib/python3.10/dist-packages/pytestqt/plugin.py", line 66 in qapp                                                              
  File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 900 in call_fixture_func                                               
  File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 1121 in pytest_fixture_setup                                           
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 39 in _multicall                                                        
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 80 in _hookexec                                                         
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 265 in __call__                                                           
  File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 1067 in execute                                                        
  File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 669 in _compute_fixture_value                                          
  File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 583 in _get_active_fixturedef                                          
  File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 1043 in execute                                                        
  File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 669 in _compute_fixture_value                                          
  File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 583 in _get_active_fixturedef                                          
  File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 564 in getfixturevalue                                                 
  File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 551 in _fillfixtures                                                   
  File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1764 in setup                                                            
  File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 491 in setup                                                             
  File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 154 in pytest_runtest_setup                                              
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 39 in _multicall      
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 80 in _hookexec                                                 [0/4746]
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 265 in __call__                                                           
  File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 259 in <lambda>
  File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 338 in from_call
  File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 258 in call_runtest_hook                                                 
  File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 219 in call_and_report                                                   
  File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 124 in runtestprotocol                                                   
  File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 111 in pytest_runtest_protocol                                           
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 39 in _multicall                                                        
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 80 in _hookexec                                                         
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 265 in __call__
  File "/usr/local/lib/python3.10/dist-packages/_pytest/main.py", line 347 in pytest_runtestloop                                                  
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 39 in _multicall                                                        
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 80 in _hookexec                                                         
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 265 in __call__
  File "/usr/local/lib/python3.10/dist-packages/_pytest/main.py", line 322 in _main                
  File "/usr/local/lib/python3.10/dist-packages/_pytest/main.py", line 268 in wrap_session             
  File "/usr/local/lib/python3.10/dist-packages/_pytest/main.py", line 315 in pytest_cmdline_main
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 39 in _multicall
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 265 in __call__   
  File "/usr/local/lib/python3.10/dist-packages/_pytest/config/__init__.py", line 164 in main           
  File "/usr/local/lib/python3.10/dist-packages/_pytest/config/__init__.py", line 187 in console_main   
  File "/usr/local/lib/python3.10/dist-packages/pytest/__main__.py", line 5 in <module>   
  File "/usr/lib/python3.10/runpy.py", line 86 in _run_code                                                                                       
  File "/usr/lib/python3.10/runpy.py", line 196 in _run_module_as_main                                                                            
                                                                                                                                                  
Extension modules: PyQt5.QtCore, PyQt5.QtGui, PyQt5.QtWidgets, PyQt5.QtTest, regex._regex, yaml._yaml, numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, PIL._imaging, numpy.linalg.lapack_lite (total: 21)                                                                                                 
Aborted (core dumped)         

Does that mean there is no way to use bubblesub for me? No Docker, no AppImage available?

@rr-
Copy link
Collaborator

rr- commented Sep 13, 2022

There is a Dockerfile. You can play with that.

@pepa65
Copy link

pepa65 commented Sep 13, 2022

The Dockerfile is sort of a starting point? So it works for some people but not for others?? Or I can edit the Dockerfile to not run the tests and the application might be usable?

@rr-
Copy link
Collaborator

rr- commented Sep 13, 2022

Yes, just remove the tests. Or disable the vim integration. Sorry but I unfortunately don't have time to help you more than this.

@pepa65
Copy link

pepa65 commented Sep 13, 2022

Thank you, that is very helpful.

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

3 participants