Opened 7 years ago

Closed 7 years ago

#1370 closed defect (fixed)

Any error breaks shell instance

Reported by: Tristan Croll Owned by: Tom Goddard
Priority: major Milestone:
Component: General Controls Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Working with today's daily build, if I do anything that causes any error in the ChimeraX shell:

foo()
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-3-c19b6d9633cf> in <module>
----> 1 foo()

NameError: name 'foo' is not defined

... then everything from that point on fails:

session
ERROR: execution aborted

Closing and re-opening the shell gets it running again, but loses all command history (although objects are still current).

Change History (1)

comment:1 by Tom Goddard, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

The broken shell was running IPython 7.0.1 while older working ChimeraX shell used IPython 6.4.0. IPython comes with the PyPi QtConsole package. I've updated it from qtconsole 4.4.1 to qtconsole 4.4.2 and that newer version uses older IPython 6.4.0 which is working.

Note: See TracTickets for help on using tickets.