Error when getting hover of "dict"
See original GitHub issueDescription
What steps will reproduce the problem?
I got the following error after writing
dict()
in the editor and placing the mouse on top of it.
Traceback
at_point=self._last_point)
signature = self._format_signature(signature)
parameter=parameter,
IndexError: tuple index out of range
Traceback (most recent call last):
msg = self.format(record)
return fmt.format(record)
record.message = record.getMessage()
msg = msg % self.args
ValueError: incomplete format
Call stack:
start.main()
mainwindow.main()
mainwindow = run_spyder(app, options, args)
app.exec_()
handler(resp['result'], req_id)
{'params': contents})
handler(params)
self.log_lsp_handle_errors("Error when processing hover")
logger.error('%', 1, stack_info=True)
Arguments: (1,)
Versions
- Spyder version: 4.0.0.dev0 061f7c3d0
- Python version: 3.6.6
- Qt version: 5.9.6
- PyQt5 version: 5.9.2
- Operating System: Linux 4.13.16-041316-generic
Dependencies
pygments >=2.0 : 2.3.1 (OK)
qdarkstyle >=2.6.4: 2.6.5 (OK)
sphinx >=0.6.6 : 1.8.2 (OK)
psutil >=0.3 : 5.4.8 (OK)
pyls >=0.19.0 : 0.90.0.dev0 (OK)
nbconvert >=4.0 : 5.4.1 (OK)
pandas >=0.13.1 : 0.23.4 (OK)
numpy >=1.7 : 1.15.4 (OK)
sympy >=0.7.3 : 1.3 (OK)
cython >=0.21 : 0.29.2 (OK)
qtconsole >=4.2.0 : 4.4.2 (OK)
IPython >=4.0 : 7.3.0 (OK)
matplotlib >=2.0.0: 3.0.2 (OK)
pylint >=0.25 : 2.1.1 (OK)
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Hover dictionary is broken "Failed to retreive linguistic data"
Hey! It doesn't work. Language Reactor has detected an error has occured. The developers have been notified. Try reloading the page, or else...
Read more >Syntax error with nesting dictionaries in Python - Stack Overflow
I'm getting a syntax error on line 8 (the second 'stat': 'OK' ) and have no idea what is wrong with my syntax....
Read more >Hover_data error - Plotly Python
Hello, i am trying to use hover_data in a scatter plot but i am always getting the same error: “RuntimeError: dictionary changed size...
Read more >Hover text/Help text on Form field which extends the task table
Solved: I have a requirement to add hover text on a field present on the Change form. ... Right click on a field,...
Read more >Power Automate Desktop Click failed (failed to get window) error
Power Automate Desktop Click failed (failed to get window) error ... RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@goanpeca, please take a look at this one.
I think that’s not robust enough. The simplest solution should be: if you can’t find a signature, simply return the docstring.