#1217: ClassDesigner Crash on Create a New Form
---------------------+------------------------------------------------------
  Reporter:  CraigJ  |       Owner:                               
      Type:  defect  |      Status:  new                          
  Priority:  major   |   Milestone:  0.9.2                        
 Component:  ide     |     Version:  0.9.1                        
Resolution:          |    Keywords:  ClassDesigner DesForm CxnFile
---------------------+------------------------------------------------------
Comment (by CraigJ):

 Replying to [comment:1 ed]:
 > Can you do a grep to find where 'CxnFile' is still referenced? The only
 place in the IDE should be the lines in ClassDesigner.py (557-558) that
 remove it if present.

 Not so simple, unfortunately.  The reference is a dynamic attribute
 reference.  I've bypassed it for now with a try block so:
 {{{
  for prop in obj.DesignerProps:
         try:
             ret[prop] = eval("obj.%s" % prop)
         except AttributeError:
             ret[prop] = None
 }}}
 which seems to work.  I've about 2 hours of Dabo experience, so I've no
 idea if that none value will break something else.  Time will tell, I
 guess.

-- 
Ticket URL: <http://trac.dabodev.com/ticket/1217#comment:2>
Dabo Trac <http://trac.dabodev.com>
Trac Page for Dabo

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to