[Bugs] #3080 UNSP: Cannot override a system-installed activity with an older bundle

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun Sep 4 15:26:12 EDT 2011


#3080: Cannot override a system-installed activity with an older bundle
------------------------------------------+---------------------------------
    Reporter:  sascha_silbe               |          Owner:                             
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  Git as of bugdate          
    Severity:  Minor                      |       Keywords:                             
Distribution:                             |   Status_field:  New                        
------------------------------------------+---------------------------------
 When trying to downgrade a system-installed activity by "resuming" an
 older bundle from the Journal, there's no visible reaction in the Journal
 (no downgrade alert), but the following exception in {{{shell.log}}}:

 {{{
 1315162453.556646 DEBUG root: get_file asked for entry with id
 dbus.ByteArray('e971fa24-59aa-429a-a9e7-ff3bffe92ad9', variant_level=1)
 1315162453.571456 DEBUG root: TempFilePath created
 dbus.String(u'/home/sascha.silbe/.sugar/default/data/e971fa24-59aa-429a-
 a9e7-ff3bffe92ad9-18445069-d7e4-450d-b9cb-3447
 c553685c_NtqeqT.xo')
 1315162453.594111 DEBUG root: Upgrading activity bundle
 1315162453.594877 WARNING root: Unable to uninstall system activity,
 installing upgraded version in user activities
 1315162453.599186 ERROR root: Traceback (most recent call last):
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.6/site-
 packages/jarabe/journal/listview.py", line 544, in __icon_clicked_cb
     misc.resume(metadata)
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.6/site-
 packages/jarabe/journal/misc.py", line 188, in resume
     registry.upgrade(bundle)
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.6/site-
 packages/jarabe/model/bundleregistry.py", line 443, in upgrade
     self.install(bundle)
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.6/site-
 packages/jarabe/model/bundleregistry.py", line 376, in install
     raise AlreadyInstalledException
 AlreadyInstalledException
 }}}

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


More information about the Bugs mailing list