View Issue Details

IDProjectCategoryView StatusLast Update
0000437ascendpygtk guipublic2010-03-25 10:58
Reporternsubha 
Assigned Tojohn 
PrioritynormalSeverityminorReproducibilitysometimes
Status resolvedResolutionfixed 
Product Version0.9.7 
Target Version0.9.8Fixed in Version0.9.8 
Summary0000437: attempt to check in the absence of any simulation object
Description1)Open ASCEND
2)Click on Check
3)Bug Detected Message:A programming error has been detected during the execution of this program.

Details:
Traceback (most recent call last):
  File "/ascend-0.9.7/pygtk/gtkbrowser.py", line 1079, check_click(self=<gtkbrowser.Browser instance at 0x9a2bf2c>, *args=(<gtk.ToolButton object at 0xa708be4 (GtkToolButton at 0xa7b4920)>,))
      def check_click(self,*args):
        self.do_check()
        #self.reporter.reportError("CHECK clicked")
  variables: {'self.do_check': ('local', <bound method Browser.do_check of <gtkbrowser.Browser instance at 0x9a2bf2c>>)}
  File "/ascend-0.9.7/pygtk/gtkbrowser.py", line 721, do_check(self=<gtkbrowser.Browser instance at 0x9a2bf2c>)
        try:
          self.sim.build()
        except RuntimeError,e:
AttributeError: 'NoneType' object has no attribute 'build'
TagsNo tags attached.

Relationships

has duplicate 0000444 resolvedjohn Error when 'check' clicked but no model open 

Activities

2010-03-25 07:12

 

437.patch (115 bytes)
1081,1083d1080
< 		if not self.sim:
< 			self.reporter.reportError("No simulation created to check!")
< 			return	
437.patch (115 bytes)

john

2010-03-25 10:28

administrator   ~0000599

Fixed using nsuba's patch

Issue History

Date Modified Username Field Change
2010-03-25 07:01 nsubha New Issue
2010-03-25 07:12 nsubha File Added: 437.patch
2010-03-25 10:12 svn
2010-03-25 10:27 john Status new => assigned
2010-03-25 10:27 john Assigned To => john
2010-03-25 10:28 john Note Added: 0000599
2010-03-25 10:28 john Status assigned => resolved
2010-03-25 10:28 john Fixed in Version => 0.9.8
2010-03-25 10:28 john Resolution open => fixed
2010-03-25 10:58 john Target Version => 0.9.8
2010-03-30 11:09 john Relationship added has duplicate 0000444