[Bugs] #4108 sugar UNSP: Failure to start activities - Cannot create a consistent method resolution order (MRO)

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri Oct 26 14:37:28 EDT 2012


#4108: Failure to start activities - Cannot create a consistent method resolution
order (MRO)
------------------------------------------+---------------------------------
    Reporter:  greenfeld                  |          Owner:  erikos                     
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  0.97.x                     
    Severity:  Unspecified                |       Keywords:                             
Distribution:  OLPC                       |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 Very rarely a Sugar activity fails to start (usually for the first time),
 logging an exception in the activity log.  The last time I saw this was
 with Typing Turtle in 13.1.0 os8; I may have seen this once with Read or
 Browse as well.

 The following is seen in the activity log when this happens.  Launching
 the activity again usually succeeds.

 {{{
 Traceback (most recent call last):
   File "/usr/bin/sugar-activity", line 160, in <module>
     main()
   File "/usr/bin/sugar-activity", line 118, in main
     module = __import__(module_name)
   File "/home/olpc/Activities/TypingTurtle.activity/typingturtle.py", line
 32, in <module>
     from gi.repository import Gtk
   File "/usr/lib/python2.7/site-packages/gi/importer.py", line 76, in
 load_module
     dynamic_module._load()
   File "/usr/lib/python2.7/site-packages/gi/module.py", line 244, in _load
     overrides_modules = __import__('gi.overrides',
 fromlist=[self._namespace])
   File "/usr/lib/python2.7/site-packages/gi/overrides/Gtk.py", line 993,
 in <module>
     class TreeModelSort(Gtk.TreeModelSort):
   File "/usr/lib/python2.7/site-packages/gi/module.py", line 193, in
 __getattr__
     wrapper = metaclass(name, bases, dict_)
   File "/usr/lib/python2.7/site-packages/gi/types.py", line 243, in mro
     return mro(cls)
   File "/usr/lib/python2.7/site-packages/gi/types.py", line 257, in mro
     bases_of_subclasses += list(map(mro, C.__bases__)) +
 [list(C.__bases__)]
   File "/usr/lib/python2.7/site-packages/gi/types.py", line 257, in mro
     bases_of_subclasses += list(map(mro, C.__bases__)) +
 [list(C.__bases__)]
   File "/usr/lib/python2.7/site-packages/gi/types.py", line 269, in mro
     raise TypeError('Cannot create a consistent method resolution '
 TypeError: Cannot create a consistent method resolution order (MRO)
 Exited with status 1, pid 1207 data (None, <open file '<fdopen>', mode 'w'
 at 0x137aac8>, 'a4bbec364ef73d5791bb8c8f7c1258244baad095')
 }}}

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/4108>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list