View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000572 | ascend | pygtk gui | public | 2013-03-28 08:29 | 2013-06-20 18:10 |
Reporter | pallavtinna | ||||
Assigned To | |||||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | open | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000572: Interface Hangs on Ipython exit or quit call | ||||
Description | Ipython console becomes unstable on exit() or quit() call. | ||||
Tags | No tags attached. | ||||
|
Provided a Temporary fix for now by Mapping exit() and quit() calls to None. |
|
removeTemporaryfix.patch (329 bytes)
105,115d104 < ################################################################ < # Temporary fix for now < < # Mapping exit and quit calls to None < < self.updateNamespace({'exit':lambda:None}) < self.updateNamespace({'quit':lambda:None}) < < ################################################################ < < |
|
console_bug572.patch (703 bytes)
21a22,38 > > # Displays a confimation dialog box to quit pygtk main_window > # This method is mapped to quit() and exit() calls in the ipython console. > > def close_window_on_confirm(browser): > dialog = gtk.MessageDialog(browser.window, gtk.DIALOG_MODAL, > gtk.MESSAGE_INFO, gtk.BUTTONS_YES_NO,"Are you sure you want to quit ASCEND?") > > dialog.set_title("Quit") > response = dialog.run() > dialog.destroy() > if response == gtk.RESPONSE_YES: > browser.do_quit() > return False > else: > return True > 40a58,60 > V.updateNamespace({'exit':lambda:close_window_on_confirm(browser)}) > V.updateNamespace({'quit':lambda:close_window_on_confirm(browser)}) > |
|
-> Removed the temporary fix. -> Added a new method close_window_on_confirm(), which displays a confimation dialog box to quit pygtk main_window. -> This method is mapped to quit() and exit() calls in the ipython console. removeTemporaryfix.patch -> ipython_view.py console_bug572.patch -> console.py |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-03-28 08:29 | pallavtinna | New Issue | |
2013-03-29 20:39 | pallavtinna | Note Added: 0000966 | |
2013-04-20 18:27 | pallavtinna | File Added: removeTemporaryfix.patch | |
2013-04-20 18:28 | pallavtinna | File Added: console_bug572.patch | |
2013-04-20 18:28 | pallavtinna | Note Added: 0000967 | |
2013-06-05 21:12 | svn | ||
2013-06-20 18:10 | pallavtinna | Status | new => resolved |