#1075: Ditch Dabo's logger objects; use Python's logging
--------------------------+-------------------------------------------------
  Reporter:  paul         |       Owner:  dj      
      Type:  enhancement  |      Status:  reopened
  Priority:  minor        |   Milestone:  0.9     
 Component:  ui           |     Version:          
Resolution:               |    Keywords:          
--------------------------+-------------------------------------------------
Changes (by paul):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 Ok, let's try this again. :)

 Revision [3194] caused Dabo apps to stop running. This caused the
 following:

  * Dabo API Docs were not auto-generated last night
  * The nightly tarball posted on Dabo-dev today will not work if anyone
 downloads it

 There were at least a few obvious syntax errors (obvious if the changes
 had been tested before committing). These are:

  * bitwise ~= causes a syntax error in Python.
  * missing comma in a property definition
  * 'self' doesn't exist in the context of a method signature

 Even after I fixed the above problems, something else somewhere keeps my
 Dabo app from starting:

 {{{
   class SelectTextBox(SelectControlMixin, dabo.ui.dTextBox): pass
 TypeError: Error when calling the metaclass bases
     metaclass conflict: the metaclass of a derived class must be a (non-
 strict) subclass of the metaclass of all its bases
 }}}

 I have no idea why changing the logger would affect something in the ui
 layer, and I don't have any inclination to continue hunting down these
 errors at this time.

 Now that I'm looking at this, why bitwise anyway (why not a Python list)?
 And why not use Python's logger instead of continuing to roll our own?

 If you want to do this again, please make a branch by issuing:

 svn copy http://svn.dabodev.com/dabo/trunk
 http://svn.dabodev.com/dabo/branches/dj

 then make your changes to the branch, test, and when confident that the
 changes will result in a functional drop-in for the existing logger, merge
 it back into the trunk.

 Thanks.

-- 
Ticket URL: <http://svn.dabodev.com/trac/dabo/ticket/1075#comment:3>
Dabo <http://svn.dabodev.com/trac/dabo>
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/dabo-dev/[EMAIL PROTECTED]

Reply via email to