Opened 6 years ago
Closed 5 years ago
#2115 closed defect (fixed)
Erratic shell tab completion
| Reported by: | Owned by: | Eric Pettersen | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General Controls | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
The following bug report has been submitted:
Platform: Linux-3.10.0-957.12.2.el7.x86_64-x86_64-with-centos-7.6.1810-Core
ChimeraX Version: 0.91 (2019-06-25)
Description
Seems to have lost some tab-completion functionality in the shell:
import numpy
numpy.<tab><tab> # does nothing (should list available methods)
numpy.linal<tab> # does nothing (should auto-complete to linalg)
numpy.linalg.nor<tab> # does nothing (should auto-complete to norm)
from matplotlib import pyplot as plt
plt.<tab><tab> # Does nothing (but did seem to hang for a second or two the first time)
plt.sca<tab> # Successfully autocompletes to scatter
from chimerax import atomic
atomic.<tab><tab> # Works as expected
Log:
UCSF ChimeraX version: 0.91 (2019-06-25)
© 2016-2019 Regents of the University of California. All rights reserved.
How to cite UCSF ChimeraX
> toolshed show Shell
/opt/UCSF/ChimeraX-daily/lib/python3.7/site-
packages/IPython/core/history.py:226: UserWarning: IPython History requires
SQLite, your history will not be saved
warn("IPython History requires SQLite, your history will not be saved")
OpenGL version: 3.3.0 NVIDIA 415.27
OpenGL renderer: TITAN Xp/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation
Change History (3)
comment:1 by , 6 years ago
| Cc: | added |
|---|---|
| Component: | Unassigned → General Controls |
| Owner: | set to |
| Platform: | → all |
| Project: | → ChimeraX |
| Status: | new → assigned |
| Summary: | ChimeraX bug report submission → Erratic shell tab completion |
comment:2 by , 5 years ago
| Cc: | removed |
|---|---|
| Owner: | changed from to |
comment:3 by , 5 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Seemingly fixed in current daily build
Note:
See TracTickets
for help on using tickets.
Jupyter apparently uses something far fancier that simply looking at dir(module) for tab completion, and gets confused by complex modules like numpy and matplotlib. There is some discussion here: https://github.com/davidhalter/jedi/issues/372 . Seems like all we can do is hope that future releases of ipython improve the behavior.