You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried the other applicable steps from the Troubleshooting Guide
Completed the Problem Description, Steps to Reproduce and Version sections below
Inspect doesn't work on Linux.
Inspect doesn't work on Linux. Inspect works on Windows and opens the Help Pane.
What steps reproduce the problem?
In the script editor input import datetime as dt
Use dt.datetime
The datetime classes docstring should display as a popup balloon
It doesn't on Windows or Linux
Highlight the datetime class and select Inspect
Nothing Happens on Linux, Help Pane Loads the Documentation on Windows
Right click it and press Ctrl + i
Nothing Happens, Help Pane Loads the Documentation on Windows
What is the expected output? What do you see instead?
The list of identifiers display from dt. as expected:
The docstring popup balloon displays for the date class as expected:
No docstring popup balloon displays for the datetime class:
Highlighting the datetime class and selecting Inspect:
This does nothing on Linux and opens the documentation up in the Help Pane in Windows. The same behaviour happens with a builtin such as print so more generally the Help Pane can't be used in Linux.
The list of identifiers displays correctly in the IPython Console and the docstring displays here for the datetime class:
No docstring displays for the datetime class (possible there is some confusion because the module and the class are both called datetime) or the tzinfo abstract class. Works fine for the other functions and classes in the datetime module.
Code completion works much better in this version of Spyder than previous versions. However it now works better in Windows than in Linux. If np. is input and the down arrow is pressed to highlight an item. On Windows the docstring displays, on Linux it displays for an instance and then subsequently disappears:
The docstring displays properly when the full function name is input:
Paste Traceback/Error Below (if applicable)
PASTE TRACEBACK HERE
Versions
Spyder version: 5.4.2
Python version: 3.11.0
Qt version: 5.15.6
PyQt version: 5.15.7
Operating System name/version: Linux 6.16-200.fc37.x86_64
Hey @PhilipYip1988, thanks for reporting. I think I know what's the cause for this problem and we'll take a look at it in Spyder 6, to be released during the second half of the year.
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Inspect doesn't work on Linux.
Inspect doesn't work on Linux. Inspect works on Windows and opens the Help Pane.
What steps reproduce the problem?
import datetime as dt
dt.datetime
Ctrl
+i
What is the expected output? What do you see instead?
The list of identifiers display from
dt.
as expected:The docstring popup balloon displays for the date class as expected:
No docstring popup balloon displays for the datetime class:
Highlighting the
datetime
class and selecting Inspect:This does nothing on Linux and opens the documentation up in the Help Pane in Windows. The same behaviour happens with a builtin such as
print
so more generally the Help Pane can't be used in Linux.The list of identifiers displays correctly in the IPython Console and the docstring displays here for the datetime class:
No docstring displays for the datetime class (possible there is some confusion because the module and the class are both called datetime) or the tzinfo abstract class. Works fine for the other functions and classes in the datetime module.
Code completion works much better in this version of Spyder than previous versions. However it now works better in Windows than in Linux. If
np.
is input and the down arrow is pressed to highlight an item. On Windows the docstring displays, on Linux it displays for an instance and then subsequently disappears:The docstring displays properly when the full function name is input:
Paste Traceback/Error Below (if applicable)
Versions
Dependencies
The text was updated successfully, but these errors were encountered: