[Bugs] #1586 UNSP: TableView widget

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun Jan 31 05:19:16 EST 2010


#1586: TableView widget
------------------------------------------+---------------------------------
    Reporter:  alsroot                    |          Owner:  tomeu            
        Type:  enhancement                |         Status:  new              
    Priority:  Unspecified by Maintainer  |      Milestone:  0.88             
   Component:  sugar                      |        Version:  Git as of bugdate
    Severity:  Unspecified                |       Keywords:  r!               
Distribution:  Unspecified                |   Status_field:  Needinfo         
------------------------------------------+---------------------------------
Changes (by tomeu):

  * keywords:  r? => r!


Comment:

 The journal is not starting for me:

 {{{
   File "/home/tomeu/sugar-jhbuild/install/lib/python2.6/site-
 packages/jarabe/journal/view.py", line 69, in <lambda>
     VIEW_LIST: lambda: self._view_new(ListView),
   File "/home/tomeu/sugar-jhbuild/install/lib/python2.6/site-
 packages/jarabe/journal/view.py", line 193, in _view_new
     view = view_class()
 TypeError: __init__() takes exactly 2 arguments (1 given)
 }}}

 As an aside, I think this case illustrates the point of using python's
 dynamic capabilities sparingly: it takes longer to discover what __init__
 method the stack trace refers to. In order to know it, I have to trace the
 code and see which are the possible values of the variable "view_class".

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1586#comment:27>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list