View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000490 | ascend | pygtk gui | public | 2011-02-28 16:03 | 2011-03-01 18:43 |
Reporter | john | ||||
Assigned To | john | ||||
Priority | high | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu | OS Version | 9.04 |
Product Version | 0.9.7 | ||||
Target Version | 0.9.8 | Fixed in Version | 0.9.8 | ||
Summary | 0000490: can't run methods on newly-loaded models | ||||
Description | In the PyGTK GUI, loading model models/johnpye/testlog10.a4c and then attempting to run the 'on_load' method (again) manually results in a Python dialog box containing the error shown below. This would appear to be related to the recent changes for the slvreq functionality. This is important to fix as it's a very natural thing to want to run methods in this way! Workaround: attempting (even unsuccessfully) to solve models seems to then allow methods to be run. | ||||
Additional Information | Traceback (most recent call last): File "/home/john/ascend/pygtk/gtkbrowser.py", line 1136, methodrun_click(self=<gtkbrowser.Browser instance at 0x98996ec>, *args=(<gtk.Button object at 0xa5ba324 (GtkButton at 0xa65af58)>,)) return self.do_method(_method) else: variables: {'_method': ('local', <ascpy.Method; proxy of <Swig Object of type 'Method *' at 0xadb7f98> >), 'self.do_method': ('local', <bound method Browser.do_method of <gtkbrowser.Browser instance at 0x98996ec>>)} File "/home/john/ascend/pygtk/gtkbrowser.py", line 803, do_method(self=<gtkbrowser.Browser instance at 0x98996ec>, method=<ascpy.Method; proxy of <Swig Object of type 'Method *' at 0xadb7f98> >) self.sim.processVarStatus() self.modelview.refreshtree() variables: {'self.sim.processVarStatus': ('local', <bound method Simulation.Simulation_processVarStatus of <ascpy.Simulation; proxy of <Swig Object of type 'Simulation *' at 0xadc6e18> >>)} RuntimeError: No system built | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-02-28 16:03 | john | New Issue | |
2011-02-28 16:03 | john | Status | new => assigned |
2011-02-28 16:03 | john | Assigned To | => john |
2011-03-01 18:43 | john | Note Added: 0000684 | |
2011-03-01 18:43 | john | Status | assigned => resolved |
2011-03-01 18:43 | john | Fixed in Version | => 0.9.8 |
2011-03-01 18:43 | john | Resolution | open => fixed |