View Issue Details

IDProjectCategoryView StatusLast Update
0000490ascendpygtk guipublic2011-03-01 18:43
Assigned Tojohn 
Status resolvedResolutionfixed 
PlatformLinuxOSUbuntuOS Version9.04
Product Version0.9.7 
Target Version0.9.8Fixed in Version0.9.8 
Summary0000490: can't run methods on newly-loaded models
DescriptionIn 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/", line 1136, methodrun_click(self=<gtkbrowser.Browser instance at 0x98996ec>, *args=(<gtk.Button object at 0xa5ba324 (GtkButton at 0xa65af58)>,))
  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/", line 803, do_method(self=<gtkbrowser.Browser instance at 0x98996ec>, method=<ascpy.Method; proxy of <Swig Object of type 'Method *' at 0xadb7f98> >)
  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
TagsNo tags attached.




2011-03-01 18:43

administrator   ~0000684

fixed in changeset 3274.

Issue History

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