From Lembrun, 2 Months ago, written in Plain Text.
Embed
  1. _________________________________________________________________________ test_downloading_to_unwritable_destination __________________________________________________________________________
  2.  
  3. request = <FixtureRequest for <Function test_downloading_to_unwritable_destination>>
  4.  
  5.     @pytest.mark.usefixtures(*function_args)
  6.     def scenario_wrapper(request):
  7. >       _execute_scenario(feature, scenario, request, encoding)
  8.  
  9. .tox/py38-pyqt515-cov/lib/python3.8/site-packages/pytest_bdd/:
  10. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  11. .tox/py38-pyqt515-cov/lib/python3.8/site-packages/pytest_bdd/: in _execute_scenario
  12.     _execute_step_function(request, scenario, step, step_func)
  13. .tox/py38-pyqt515-cov/lib/python3.8/site-packages/pytest_bdd/: in _execute_step_function
  14.     return_value = step_func(**kwargs)
  15. tests/end2end/features/: in expect_message
  16.     quteproc.mark_expected(category='message',
  17. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  18.  
  19. self = <end2end.fixtures.quteprocess.QuteProc object at 0x7ff6d78aba60>, category = 'message', loglevel = 40, message = 'Download error: Permission denied'
  20.  
  21.     def mark_expected(self, category=None, loglevel=None, message=None):
  22.         """Mark a given logging message as expected."""
  23. >       line = self.wait_for(category=category, loglevel=loglevel,
  24.                              message=message)
  25. E       end2end.fixtures.testprocess.WaitForTimeout: Timed out after 5000ms waiting for {'category': 'message', 'loglevel': 40, 'message': 'Download error: Permission denied'}.
  26.  
  27. tests/end2end/fixtures/: WaitForTimeout
  28. ------------------------------------------------------------------------------------- qutebrowser output --------------------------------------------------------------------------------------
  29. [154 lines suppressed, use -v to show]
  30. 21:32:53.526 DEBUG    commands   argparser:multitype_conv:158 Trying to parse '/tmp/pytest-of-amadeus/pytest-27/test_downloading_to_unwritable0/downloads' as <class 'str'>
  31. 21:32:53.527 DEBUG    commands   argparser:multitype_conv:158 Trying to parse None as <class 'NoneType'>
  32. 21:32:53.528 DEBUG    commands   command:run:551 Calling qutebrowser.config.configcommands.ConfigCommands.set(<qutebrowser.config.configcommands.ConfigCommands object at 0x7f5f581e65e0>, 0, '', '/tmp/pytest-of-amadeus/pytest-27/test_downloading_to_unwritable0/downloads', True, False, pattern=None)
  33. 21:32:53.528 DEBUG    config     config:set_str:468 Setting  (type Directory) to '/tmp/pytest-of-amadeus/pytest-27/test_downloading_to_unwritable0/downloads' (converted from '/tmp/pytest-of-amadeus/pytest-27/test_downloading_to_unwritable0/downloads')
  34. 21:32:53.529 DEBUG    config     config:_set_value:318 Config option changed:  = /tmp/pytest-of-amadeus/pytest-27/test_downloading_to_unwritable0/downloads
  35. ----> found it
  36.  
  37. ============================== :download-cancel --all ==============================
  38.  
  39.  
  40. ----> Waiting for 'Read from socket *' in the log
  41. 21:32:53.546 DEBUG    ipc        ipc:handle_connection:270 Client connected (socket 0x7f5f1c0cae50).
  42. 21:32:53.546 DEBUG    ipc        ipc:on_ready_read:382 Read from socket 0x7f5f1c0cae50: b'{"args": [":download-cancel --all"], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}\n'
  43. 21:32:53.546 DEBUG    ipc        ipc:_handle_data:320 Processing: {"args": [":download-cancel --all"], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}
  44.  
  45. 21:32:53.547 DEBUG    ipc        ipc:on_error:249 Socket 0x7f5f1c0cae50: error 1: QLocalSocket: Remote closed
  46. 21:32:53.547 DEBUG    ipc        ipc:on_disconnected:292 Client disconnected from socket 0x7f5f1c0cae50.
  47. 21:32:53.548 DEBUG    ipc        ipc:handle_connection:267 No new connection to handle.
  48. 21:32:53.548 DEBUG    init       app:process_pos_args:273 Startup cmd ':download-cancel --all'
  49. 21:32:53.549 DEBUG    commands   command:run:537 command called: download-cancel ['--all']
  50. 21:32:53.549 DEBUG    commands   command:run:551 Calling _cancel(<qutebrowser.browser.downloads.DownloadModel object at 0x7f5f240ef940>, True, 0)
  51. ----> found it
  52.  
  53. ----> Already found 'command called: *' in the log: 21:32:53.549 DEBUG    commands   command:run:537 command called: download-cancel ['--all']
  54.  
  55. ============================== :download-clear ==============================
  56.  
  57.  
  58. ----> Waiting for 'Read from socket *' in the log
  59. 21:32:53.565 DEBUG    ipc        ipc:handle_connection:270 Client connected (socket 0x7f5eec0cd040).
  60. 21:32:53.565 DEBUG    ipc        ipc:on_ready_read:382 Read from socket 0x7f5eec0cd040: b'{"args": [":download-clear"], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}\n'
  61. 21:32:53.565 DEBUG    ipc        ipc:_handle_data:320 Processing: {"args": [":download-clear"], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}
  62.  
  63. 21:32:53.566 DEBUG    ipc        ipc:on_error:249 Socket 0x7f5eec0cd040: error 1: QLocalSocket: Remote closed
  64. 21:32:53.566 DEBUG    ipc        ipc:on_disconnected:292 Client disconnected from socket 0x7f5eec0cd040.
  65. 21:32:53.566 DEBUG    ipc        ipc:handle_connection:267 No new connection to handle.
  66. 21:32:53.567 DEBUG    init       app:process_pos_args:273 Startup cmd ':download-clear'
  67. 21:32:53.567 DEBUG    commands   command:run:537 command called: download-clear
  68. 21:32:53.568 DEBUG    commands   command:run:551 Calling _clear(<qutebrowser.browser.downloads.DownloadModel object at 0x7f5f240ef940>)
  69. 21:32:53.568 DEBUG    downloads  downloads:_on_begin_remove_row:1046 _on_begin_remove_row with idx 0, webengine False
  70. 21:32:53.568 DEBUG    downloads  downloads:_remove_item:965 Removed download 1: content-size [100%|2.00B]
  71. ----> found it
  72.  
  73. ----> Already found 'command called: *' in the log: 21:32:53.567 DEBUG    commands   command:run:537 command called: download-clear
  74.  
  75. ============================== :set -t "downloads.remove_finished" "-1" ==============================
  76.  
  77.  
  78. ----> Waiting for 'Read from socket *' in the log
  79. 21:32:53.599 DEBUG    ipc        ipc:handle_connection:270 Client connected (socket 0x7f5eec1b5160).
  80. 21:32:53.599 DEBUG    ipc        ipc:on_ready_read:382 Read from socket 0x7f5eec1b5160: b'{"args": [":set -t \\"downloads.remove_finished\\" \\"-1\\""], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}\n'
  81. 21:32:53.599 DEBUG    ipc        ipc:_handle_data:320 Processing: {"args": [":set -t \"downloads.remove_finished\" \"-1\""], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}
  82.  
  83. 21:32:53.600 DEBUG    ipc        ipc:on_error:249 Socket 0x7f5eec1b5160: error 1: QLocalSocket: Remote closed
  84. 21:32:53.600 DEBUG    ipc        ipc:on_disconnected:292 Client disconnected from socket 0x7f5eec1b5160.
  85. 21:32:53.601 DEBUG    ipc        ipc:handle_connection:267 No new connection to handle.
  86. 21:32:53.601 DEBUG    init       app:process_pos_args:273 Startup cmd ':set -t "downloads.remove_finished" "-1"'
  87. 21:32:53.602 DEBUG    commands   command:run:537 command called: set ['-t', 'downloads.remove_finished', '-1']
  88. 21:32:53.602 DEBUG    commands   argparser:multitype_conv:158 Trying to parse 'downloads.remove_finished' as <class 'NoneType'>
  89. 21:32:53.603 DEBUG    commands   argparser:multitype_conv:162 Got option: Invalid NoneType value downloads.remove_finished for <class 'NoneType'>
  90. 21:32:53.603 DEBUG    commands   argparser:multitype_conv:158 Trying to parse 'downloads.remove_finished' as <class 'str'>
  91. 21:32:53.603 DEBUG    commands   argparser:multitype_conv:158 Trying to parse '-1' as <class 'NoneType'>
  92. 21:32:53.603 DEBUG    commands   argparser:multitype_conv:162 Got value: Invalid NoneType value -1 for <class 'NoneType'>
  93. 21:32:53.603 DEBUG    commands   argparser:multitype_conv:158 Trying to parse '-1' as <class 'str'>
  94. 21:32:53.604 DEBUG    commands   argparser:multitype_conv:158 Trying to parse None as <class 'NoneType'>
  95. 21:32:53.604 DEBUG    commands   command:run:551 Calling qutebrowser.config.configcommands.ConfigCommands.set(<qutebrowser.config.configcommands.ConfigCommands object at 0x7f5f581e65e0>, 0, 'downloads.remove_finished', '-1', True, False, pattern=None)
  96. 21:32:53.604 DEBUG    config     config:set_str:468 Setting downloads.remove_finished (type Int) to -1 (converted from '-1')
  97. 21:32:53.605 DEBUG    config     config:_set_value:318 Config option changed: downloads.remove_finished = -1
  98. ----> found it
  99.  
  100. ----> Already found 'command called: *' in the log: 21:32:53.602 DEBUG    commands   command:run:537 command called: set ['-t', 'downloads.remove_finished', '-1']
  101.  
  102. ----> Already found 'Config option changed: *' in the log: 21:32:53.605 DEBUG    config     config:_set_value:318 Config option changed: downloads.remove_finished = -1
  103.  
  104. ============================== :set -t "downloads.location.prompt" "false" ==============================
  105.  
  106.  
  107. ----> Waiting for 'Read from socket *' in the log
  108. 21:32:53.646 DEBUG    ipc        ipc:handle_connection:270 Client connected (socket 0x7f5f1c0cadc0).
  109. 21:32:53.647 DEBUG    ipc        ipc:on_ready_read:382 Read from socket 0x7f5f1c0cadc0: b'{"args": [":set -t \\"downloads.location.prompt\\" \\"false\\""], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}\n'
  110. 21:32:53.647 DEBUG    ipc        ipc:_handle_data:320 Processing: {"args": [":set -t \"downloads.location.prompt\" \"false\""], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}
  111.  
  112. 21:32:53.648 DEBUG    ipc        ipc:on_error:249 Socket 0x7f5f1c0cadc0: error 1: QLocalSocket: Remote closed
  113. 21:32:53.648 DEBUG    ipc        ipc:on_disconnected:292 Client disconnected from socket 0x7f5f1c0cadc0.
  114. 21:32:53.648 DEBUG    ipc        ipc:handle_connection:267 No new connection to handle.
  115. 21:32:53.648 DEBUG    init       app:process_pos_args:273 Startup cmd ':set -t "downloads.location.prompt" "false"'
  116. 21:32:53.649 DEBUG    commands   command:run:537 command called: set ['-t', 'downloads.location.prompt', 'false']
  117. 21:32:53.650 DEBUG    commands   argparser:multitype_conv:158 Trying to parse 'downloads.location.prompt' as <class 'NoneType'>
  118. 21:32:53.650 DEBUG    commands   argparser:multitype_conv:162 Got option: Invalid NoneType value downloads.location.prompt for <class 'NoneType'>
  119. 21:32:53.650 DEBUG    commands   argparser:multitype_conv:158 Trying to parse 'downloads.location.prompt' as <class 'str'>
  120. 21:32:53.650 DEBUG    commands   argparser:multitype_conv:158 Trying to parse 'false' as <class 'NoneType'>
  121. 21:32:53.651 DEBUG    commands   argparser:multitype_conv:162 Got value: Invalid NoneType value false for <class 'NoneType'>
  122. 21:32:53.651 DEBUG    commands   argparser:multitype_conv:158 Trying to parse 'false' as <class 'str'>
  123. 21:32:53.651 DEBUG    commands   argparser:multitype_conv:158 Trying to parse None as <class 'NoneType'>
  124. 21:32:53.651 DEBUG    commands   command:run:551 Calling qutebrowser.config.configcommands.ConfigCommands.set(<qutebrowser.config.configcommands.ConfigCommands object at 0x7f5f581e65e0>, 0, 'downloads.location.prompt', 'false', True, False, pattern=None)
  125. 21:32:53.652 DEBUG    config     config:set_str:468 Setting downloads.location.prompt (type Bool) to False (converted from 'false')
  126. 21:32:53.652 DEBUG    config     config:_set_value:318 Config option changed: downloads.location.prompt = False
  127. ----> found it
  128.  
  129. ----> Already found 'command called: *' in the log: 21:32:53.649 DEBUG    commands   command:run:537 command called: set ['-t', 'downloads.location.prompt', 'false']
  130.  
  131. ----> Already found 'Config option changed: *' in the log: 21:32:53.652 DEBUG    config     config:_set_value:318 Config option changed: downloads.location.prompt = False
  132.  
  133. ============================== :download  --dest /tmp/pytest-of-amadeus/pytest-27/test_downloading_to_unwritable0/downloads/unwritable ==============================
  134.  
  135.  
  136. ----> Waiting for 'Read from socket *' in the log
  137. 21:32:53.690 DEBUG    ipc        ipc:handle_connection:270 Client connected (socket 0x7f5eec1b5160).
  138. 21:32:53.691 DEBUG    ipc        ipc:on_ready_read:382 Read from socket 0x7f5eec1b5160: b'{"args": [":download  --dest /tmp/pytest-of-amadeus/pytest-27/test_downloading_to_unwritable0/downloads/unwritable"], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}\n'
  139. 21:32:53.691 DEBUG    ipc        ipc:_handle_data:320 Processing: {"args": [":download  --dest /tmp/pytest-of-amadeus/pytest-27/test_downloading_to_unwritable0/downloads/unwritable"], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}
  140.  
  141. 21:32:53.692 DEBUG    ipc        ipc:on_error:249 Socket 0x7f5eec1b5160: error 1: QLocalSocket: Remote closed
  142. 21:32:53.692 DEBUG    ipc        ipc:on_disconnected:292 Client disconnected from socket 0x7f5eec1b5160.
  143. 21:32:53.692 DEBUG    ipc        ipc:handle_connection:267 No new connection to handle.
  144. 21:32:53.692 DEBUG    init       app:process_pos_args:273 Startup cmd ':download  --dest /tmp/pytest-of-amadeus/pytest-27/test_downloading_to_unwritable0/downloads/unwritable'
  145. 21:32:53.694 DEBUG    commands   command:run:537 command called: download [', '--dest', '/tmp/pytest-of-amadeus/pytest-27/test_downloading_to_unwritable0/downloads/unwritable']
  146. 21:32:53.695 DEBUG    commands   command:run:551 Calling (<qutebrowser.browser.commands.CommandDispatcher>, ', mhtml_=False, dest='/tmp/pytest-of-amadeus/pytest-27/test_downloading_to_unwritable0/downloads/unwritable')
  147. 21:32:53.696 DEBUG    downloads  qtnetworkdownloads:fetch:547 fetch: PyQt5.QtCore.QUrl(') -> download.bin
  148. 21:32:53.698 DEBUG    downloads  downloads:_on_begin_insert_row:1034 _on_begin_insert_row with idx 0, webengine False
  149. 21:32:53.698 DEBUG    downloads  downloads:_after_create_parent_question:750 Setting filename to /tmp/pytest-of-amadeus/pytest-27/test_downloading_to_unwritable0/downloads/unwritable/download.bin
  150. ----> found it
  151.  
  152. ----> Already found 'command called: *' in the log: 21:32:53.694 DEBUG    commands   command:run:537 command called: download [', '--dest', '/tmp/pytest-of-amadeus/pytest-27/test_downloading_to_unwritable0/downloads/unwritable']
  153.  
  154. ----> Waiting for 'Download error: Permission denied' in the log
  155. 21:32:53.715 DEBUG    message    message:_log_stack:42 Stack for error message:
  156.   File "/home/amadeus/.pyenv/versions/3.8.6/lib/python3.8/", line 194, in _run_module_as_main
  157.     return _run_code(code, main_globals, None,
  158.   File "/home/amadeus/.pyenv/versions/3.8.6/lib/python3.8/", line 87, in _run_code
  159.     exec(code, run_globals)
  160.   File "/home/amadeus/p/qutebrowser/qutebrowser/__main__.py", line 29, in <module>
  161.     sys.exit(qutebrowser.qutebrowser.main())
  162.   File "/home/amadeus/p/qutebrowser/qutebrowser/", line 217, in main
  163.     return (args)
  164.   File "/home/amadeus/p/qutebrowser/qutebrowser/", line 129, in run
  165.     ret = qt_mainloop()
  166.   File "/home/amadeus/p/qutebrowser/qutebrowser/", line 139, in qt_mainloop
  167.     return objects.qapp.exec()
  168.   File "/home/amadeus/p/qutebrowser/qutebrowser/misc/", line 384, in on_ready_read
  169.     self._handle_data(data)
  170.   File "/home/amadeus/p/qutebrowser/qutebrowser/misc/", line 357, in _handle_data
  171.     _args.emit(args, target_arg, cwd)
  172.   File "/home/amadeus/p/qutebrowser/qutebrowser/", line 125, in <lambda>
  173.     process_pos_args(args, cwd=cwd, via_ipc=True,
  174.   File "/home/amadeus/p/qutebrowser/qutebrowser/", line 275, in process_pos_args
  175.     _safely(cmd[1:])
  176.   File "/home/amadeus/p/qutebrowser/qutebrowser/commands/", line 319, in run_safely
  177.     (text, count, safely=True)
  178.   File "/home/amadeus/p/qutebrowser/qutebrowser/commands/", line 374, in run
  179.     (self._win_id, args, count=count)
  180.   File "/home/amadeus/p/qutebrowser/qutebrowser/commands/", line 553, in run
  181.     self.handler(*posargs, **kwargs)
  182.   File "/home/amadeus/p/qutebrowser/qutebrowser/browser/", line 1326, in download
  183.     download_manager.get(url, target=target)
  184.   File "/home/amadeus/p/qutebrowser/qutebrowser/browser/", line 444, in get
  185.     return self.get_request(req, **kwargs)
  186.   File "/home/amadeus/p/qutebrowser/qutebrowser/browser/", line 507, in get_request
  187.     return self._fetch_request(request,
  188.   File "/home/amadeus/p/qutebrowser/qutebrowser/browser/", line 526, in _fetch_request
  189.     return self.fetch(reply, **kwargs)
  190.   File "/home/amadeus/p/qutebrowser/qutebrowser/browser/", line 553, in fetch
  191.     download.set_target(target)
  192.   File "/home/amadeus/p/qutebrowser/qutebrowser/browser/", line 831, in set_target
  193.     self._set_filename(
  194.   File "/home/amadeus/p/qutebrowser/qutebrowser/browser/", line 726, in _set_filename
  195.     self._after_create_parent_question(force_overwrite,
  196.   File "/home/amadeus/p/qutebrowser/qutebrowser/browser/", line 772, in _after_create_parent_question
  197.     self._after_set_filename()
  198.   File "/home/amadeus/p/qutebrowser/qutebrowser/browser/", line 212, in _after_set_filename
  199.     self._create_fileobj()
  200.   File "/home/amadeus/p/qutebrowser/qutebrowser/browser/", line 115, in _create_fileobj
  201.     self._die(e.strerror)
  202.   File "/home/amadeus/p/qutebrowser/qutebrowser/browser/", line 540, in _die
  203.     self.error.emit(msg)
  204.   File "/home/amadeus/p/qutebrowser/qutebrowser/browser/", line 945, in _on_error
  205.     message.error("Download error: {}".format(msg))
  206.   File "/home/amadeus/p/qutebrowser/qutebrowser/utils/", line 54, in error
  207.     stack = ''.join(traceback.format_stack())
  208. 21:32:53.716 ERROR    message    message:error:59 Download error: Permission non accordée
  209. 21:32:53.743 DEBUG    misc       mainwindow:_update_overlay_geometry:350 new geometry for <qutebrowser.mainwindow.messageview.MessageView object at 0x7f5f1c155d30>: PyQt5.QtCore.QRect(0, 137, 801, 445)
  210. ---------------------------------------------------------------------------------------- server output ----------------------------------------------------------------------------------------
  211. {"verb": "GET", "path": "/data/downloads/download.bin", "status": 200}
  212. ---------------------------------------------------------------------------------------- BDD scenario -----------------------------------------------------------------------------------------
  213. Feature: Downloading things from a website.
  214.   Scenario: Downloading to unwritable destination (features/downloads.feature:610)
  215.     Given I set up a temporary download dir (0.15s)
  216.     And I clean old downloads (0.05s)
  217.     And I set downloads.remove_finished to -1 (0.05s)
  218.     When the unwritable dir is unwritable (0.00s)
  219.     And I set downloads.location.prompt to false (0.04s)
  220.     And I run :download  --dest (tmpdir)/downloads/unwritable (0.03s)
  221.     Then the error "Download error: Permission denied" should be shown (5.26s)
  222. -------------------------------------------------------------------------------------- Captured log call --------------------------------------------------------------------------------------
  223. DEBUG    ipc: Connecting to /tmp/qutebrowser-basedir-mhghepjj/runtime/ipc-d8277a4ae14c5e5b6c9084e1bb577390
  224. INFO     ipc: Opening in existing instance
  225. DEBUG    ipc: Writing: b'{"args": [":config-clear"], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}\n'
  226. DEBUG    ipc: Connecting to /tmp/qutebrowser-basedir-mhghepjj/runtime/ipc-d8277a4ae14c5e5b6c9084e1bb577390
  227. INFO     ipc: Opening in existing instance
  228. DEBUG    ipc: Writing: b'{"args": [":set -t \\"messages.timeout\\" \\"0\\""], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}\n'
  229. DEBUG    ipc: Connecting to /tmp/qutebrowser-basedir-mhghepjj/runtime/ipc-d8277a4ae14c5e5b6c9084e1bb577390
  230. INFO     ipc: Opening in existing instance
  231. DEBUG    ipc: Writing: b'{"args": [":set -t \\"auto_save.interval\\" \\"0\\""], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}\n'
  232. DEBUG    ipc: Connecting to /tmp/qutebrowser-basedir-mhghepjj/runtime/ipc-d8277a4ae14c5e5b6c9084e1bb577390
  233. INFO     ipc: Opening in existing instance
  234. DEBUG    ipc: Writing: b'{"args": [":set -t \\"new_instance_open_target_window\\" \\"last-opened\\""], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}\n'
  235. DEBUG    ipc: Connecting to /tmp/qutebrowser-basedir-mhghepjj/runtime/ipc-d8277a4ae14c5e5b6c9084e1bb577390
  236. INFO     ipc: Opening in existing instance
  237. DEBUG    ipc: Writing: b'{"args": [":set -t \\"downloads.location.prompt\\" \\"false\\""], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}\n'
  238. DEBUG    ipc: Connecting to /tmp/qutebrowser-basedir-mhghepjj/runtime/ipc-d8277a4ae14c5e5b6c9084e1bb577390
  239. INFO     ipc: Opening in existing instance
  240. DEBUG    ipc: Writing: b'{"args": [":set -t \\"downloads.location.remember\\" \\"false\\""], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}\n'
  241. DEBUG    ipc: Connecting to /tmp/qutebrowser-basedir-mhghepjj/runtime/ipc-d8277a4ae14c5e5b6c9084e1bb577390
  242. INFO     ipc: Opening in existing instance
  243. DEBUG    ipc: Writing: b'{"args": [":set -t \\"\\" \\"/tmp/pytest-of-amadeus/pytest-27/test_downloading_to_unwritable0/downloads\\""], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}\n'
  244. DEBUG    ipc: Connecting to /tmp/qutebrowser-basedir-mhghepjj/runtime/ipc-d8277a4ae14c5e5b6c9084e1bb577390
  245. INFO     ipc: Opening in existing instance
  246. DEBUG    ipc: Writing: b'{"args": [":download-cancel --all"], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}\n'
  247. DEBUG    ipc: Connecting to /tmp/qutebrowser-basedir-mhghepjj/runtime/ipc-d8277a4ae14c5e5b6c9084e1bb577390
  248. INFO     ipc: Opening in existing instance
  249. DEBUG    ipc: Writing: b'{"args": [":download-clear"], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}\n'
  250. DEBUG    ipc: Connecting to /tmp/qutebrowser-basedir-mhghepjj/runtime/ipc-d8277a4ae14c5e5b6c9084e1bb577390
  251. INFO     ipc: Opening in existing instance
  252. DEBUG    ipc: Writing: b'{"args": [":set -t \\"downloads.remove_finished\\" \\"-1\\""], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}\n'
  253. DEBUG    ipc: Connecting to /tmp/qutebrowser-basedir-mhghepjj/runtime/ipc-d8277a4ae14c5e5b6c9084e1bb577390
  254. INFO     ipc: Opening in existing instance
  255. DEBUG    ipc: Writing: b'{"args": [":set -t \\"downloads.location.prompt\\" \\"false\\""], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}\n'
  256. DEBUG    ipc: Connecting to /tmp/qutebrowser-basedir-mhghepjj/runtime/ipc-d8277a4ae14c5e5b6c9084e1bb577390
  257. INFO     ipc: Opening in existing instance
  258. DEBUG    ipc: Writing: b'{"args": [":download  --dest /tmp/pytest-of-amadeus/pytest-27/test_downloading_to_unwritable0/downloads/unwritable"], "target_arg": "", "version": "2.0.2", "protocol_version": 1, "cwd": "/home/amadeus/p/qutebrowser"}\n'
  259.  
  260. tests/end2end/features/test_downloads_bdd.py ...s.sss                                                                                                                                   [  1%]
  261. tests/end2end/features/test_editor_bdd.py ...........^CERROR: got KeyboardInterrupt signal
  262. ___________________________________________________________________________________________ summary ___________________________________________________________________________________________
  263. ERROR:   py38-pyqt515-cov: keyboardinterrupt
  264. ERROR:   mypy: undefined
  265.