#11064 NORM Not Tri: 10.1.3 activity update can't update content (was: sugar-control-panel software update now offers an update for Biology in 10.1.3)

Zarro Boogs per Child bugtracker at laptop.org
Thu Jul 14 16:13:39 EDT 2011


#11064: 10.1.3 activity update can't update content
---------------------------------------+------------------------------------
           Reporter:  jvonau           |       Owner:  dsd          
               Type:  defect           |      Status:  closed       
           Priority:  normal           |   Milestone:  Not Triaged  
          Component:  upgrade utility  |     Version:  not specified
         Resolution:  fixed            |    Keywords:               
        Next_action:  diagnose         |    Verified:  0            
Deployment_affected:                   |   Blockedby:               
           Blocking:                   |  
---------------------------------------+------------------------------------
Changes (by dsd):

  * status:  new => closed
  * resolution:  => fixed
  * component:  build-system => upgrade utility


Comment:

 Confirmed, here is the trace from 10.1.3:

 {{{
 Traceback (most recent call last):
   File "/usr/share/sugar/extensions/cpsection/updater/model.py", line 851,
 in
 set_install_update
     b.install_or_upgrade(registry)
   File "/usr/lib/python2.6/site-packages/bitfrost/update/actutils.py",
 line 166, in
 install_or_upgrade
     self._library_install_or_upgrade(registry)
   File "/usr/lib/python2.6/site-packages/bitfrost/update/actutils.py",
 line 158, in
 _library_install_or_upgrade
     self.bundle.install()
 TypeError: install() takes exactly 2 arguments (1 given)
 }}}

 In Sugar-0.84 the bundle.install() API varies between ContentBundle and
 ActivityBundle, and bitfrost doesn't take account of that.

 In Sugar-0.92 the API is consistent and bitfrost's use of it is correct.

 So 10.1.3 won't be able to update any content bundles. I'll pull the
 update from there and add this to the release notes. This bug can be
 closed as fixed as it works in 11.2.0. Thanks for reporting and
 investigating.

-- 
Ticket URL: <http://dev.laptop.org/ticket/11064#comment:9>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list