spyder-ide / spyder

Official repository for Spyder - The Scientific Python Development Environment
https://www.spyder-ide.org
MIT License
8.34k stars 1.62k forks source link

mvo_test_Jennifer #16421

Closed 13061909965 closed 3 years ago

13061909965 commented 3 years ago

Description

What steps will reproduce the problem?

mvo_test_Jennifer mvo_test_Jennifer mvo_test_Jennifer

Traceback

  File "D:\Downloads\anaconda3\lib\site-packages\spyder\plugins\editor\widgets\codeeditor.py", line 1392, in handle_hover_response
    self.sig_display_object_info.emit(content,
TypeError: CodeEditor.sig_display_object_info[str, bool].emit(): argument 1 has unexpected type 'list'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\Downloads\anaconda3\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "D:\Downloads\anaconda3\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "D:\Downloads\anaconda3\lib\logging\__init__.py", line 664, in format
    record.message = record.getMessage()
  File "D:\Downloads\anaconda3\lib\logging\__init__.py", line 369, in getMessage
    msg = msg % self.args
ValueError: incomplete format
Call stack:
  File "D:\Downloads\anaconda3\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\app\start.py", line 205, in main
    mainwindow.main()
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 3763, in main
    mainwindow = run_spyder(app, options, args)
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 3679, in run_spyder
    app.exec_()
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\plugins\completion\languageserver\client.py", line 493, in on_msg_received
    self.req_reply[req_id](None, {'params': []})
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\plugins\completion\languageserver\plugin.py", line 548, in receive_response
    self.sig_response_ready.emit(
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\plugins\completion\plugin.py", line 123, in receive_response
    self.howto_send_to_codeeditor(req_id)
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\plugins\completion\plugin.py", line 177, in howto_send_to_codeeditor
    self.skip_and_send_to_codeeditor(req_id)
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\plugins\completion\plugin.py", line 205, in skip_and_send_to_codeeditor
    self.gather_and_send_to_codeeditor(request_responses)
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\plugins\completion\plugin.py", line 273, in gather_and_send_to_codeeditor
    response_instance.handle_response(req_type, responses)
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\plugins\editor\widgets\codeeditor.py", line 1019, in handle_response
    handler(params)
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\plugins\editor\widgets\codeeditor.py", line 1406, in handle_hover_response
    self.log_lsp_handle_errors("Error when processing hover")
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\plugins\editor\widgets\codeeditor.py", line 1050, in log_lsp_handle_errors
    logger.error('%', 1, stack_info=True)
Message: '%'
Arguments: (1,)
--- Logging error ---
Traceback (most recent call last):
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\plugins\editor\widgets\codeeditor.py", line 1392, in handle_hover_response
    self.sig_display_object_info.emit(content,
TypeError: CodeEditor.sig_display_object_info[str, bool].emit(): argument 1 has unexpected type 'list'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\Downloads\anaconda3\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "D:\Downloads\anaconda3\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "D:\Downloads\anaconda3\lib\logging\__init__.py", line 664, in format
    record.message = record.getMessage()
  File "D:\Downloads\anaconda3\lib\logging\__init__.py", line 369, in getMessage
    msg = msg % self.args
ValueError: incomplete format
Call stack:
  File "D:\Downloads\anaconda3\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\app\start.py", line 205, in main
    mainwindow.main()
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 3763, in main
    mainwindow = run_spyder(app, options, args)
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 3679, in run_spyder
    app.exec_()
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\plugins\completion\languageserver\client.py", line 493, in on_msg_received
    self.req_reply[req_id](None, {'params': []})
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\plugins\completion\languageserver\plugin.py", line 548, in receive_response
    self.sig_response_ready.emit(
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\plugins\completion\plugin.py", line 123, in receive_response
    self.howto_send_to_codeeditor(req_id)
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\plugins\completion\plugin.py", line 177, in howto_send_to_codeeditor
    self.skip_and_send_to_codeeditor(req_id)
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\plugins\completion\plugin.py", line 205, in skip_and_send_to_codeeditor
    self.gather_and_send_to_codeeditor(request_responses)
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\plugins\completion\plugin.py", line 273, in gather_and_send_to_codeeditor
    response_instance.handle_response(req_type, responses)
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\plugins\editor\widgets\codeeditor.py", line 1019, in handle_response
    handler(params)
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\plugins\editor\widgets\codeeditor.py", line 1406, in handle_hover_response
    self.log_lsp_handle_errors("Error when processing hover")
  File "D:\Downloads\anaconda3\lib\site-packages\spyder\plugins\editor\widgets\codeeditor.py", line 1050, in log_lsp_handle_errors
    logger.error('%', 1, stack_info=True)
Message: '%'
Arguments: (1,)
WARNING:spyder.widgets.github.backend:Failed to send bug report on Github. response={'code': 401, 'json': {'message': 'Bad credentials', 'documentation_url': 'https://docs.github.com/rest'}}

Versions

Dependencies


# Mandatory:
atomicwrites >=1.2.0           :  1.4.0 (OK)
chardet >=2.0.0                :  3.0.4 (OK)
cloudpickle >=0.5.0            :  1.5.0 (OK)
diff_match_patch >=20181111    :  20200713 (OK)
intervaltree                   :  None (OK)
IPython >=4.0                  :  7.16.1 (OK)
jedi =0.17.1                   :  0.17.1 (OK)
nbconvert >=4.0                :  5.6.1 (OK)
numpydoc >=0.6.0               :  1.1.0 (OK)
paramiko >=2.4.0               :  2.7.1 (OK)
parso =0.7.0                   :  0.7.0 (OK)
pexpect >=4.4.0                :  4.8.0 (OK)
pickleshare >=0.4              :  0.7.5 (OK)
psutil >=5.3                   :  5.7.0 (OK)
pygments >=2.0                 :  2.6.1 (OK)
pylint >=1.0                   :  2.5.3 (OK)
pyls >=0.34.0;<1.0.0           :  0.34.1 (OK)
qdarkstyle >=2.8               :  2.8.1 (OK)
qtawesome >=0.5.7              :  0.7.2 (OK)
qtconsole >=4.6.0              :  4.7.5 (OK)
qtpy >=1.5.0                   :  1.9.0 (OK)
rtree >=0.8.3                  :  0.9.4 (OK)
sphinx >=0.6.6                 :  3.1.2 (OK)
spyder_kernels >=1.9.2;<1.10.0 :  1.9.2 (OK)
watchdog                       :  None (OK)
zmq >=17                       :  19.0.1 (OK)

# Optional:
cython >=0.21                  :  0.29.21 (OK)
matplotlib >=2.0.0             :  3.2.2 (OK)
numpy >=1.7                    :  1.18.5 (OK)
pandas >=0.13.1                :  1.0.5 (OK)
scipy >=0.17.0                 :  1.5.0 (OK)
sympy >=0.7.3                  :  1.6.1 (OK)
spyder-bot commented 3 years ago

Thanks for reporting. This issue is a duplicate of #13297 and fixed in our latest version. Please update by opening the Anaconda Prompt and running there:

conda update anaconda
conda install spyder=4.1.5