#12159 HIGH Not Tri: Problem upgrading software (Activities)

Zarro Boogs per Child bugtracker at laptop.org
Tue Oct 9 15:54:57 EDT 2012


#12159: Problem upgrading software (Activities)
-----------------------------+----------------------------------------------
 Reporter:  netsys           |                 Owner:               
     Type:  defect           |                Status:  new          
 Priority:  high             |             Milestone:  Not Triaged  
Component:  upgrade utility  |               Version:  not specified
 Keywords:                   |           Next_action:  never set    
 Verified:  0                |   Deployment_affected:               
Blockedby:                   |              Blocking:               
-----------------------------+----------------------------------------------
 I have installed XO-1.75 with OLPC 11.3.1 installed on my system.

 $ sugar-control-panel -s install_update all

 [olpc at xo-74-33-76 ~]$ sugar-control-panel -s install_update all
 Failure updating Analyze None None
 92.5%
 Traceback (most recent call last):
   File "/usr/share/sugar/extensions/cpsection/updater/model.py", line 476,
 in refresh
     refresh_existing(row)
   File "/usr/share/sugar/extensions/cpsection/updater/model.py", line 377,
 in refresh_existing
     _retrieve_update_version(act, net_good, net_bad)
   File "/usr/share/sugar/extensions/cpsection/updater/model.py", line 155,
 in _retrieve_update_version
     newv, newu = microformat.only_best_update(vlist + [(oldv, None)])
   File "/usr/lib/python2.7/site-packages/bitfrost/update/microformat.py",
 line 189, in only_best_update
     if bestv is None or ver > bestv:
   File "/usr/lib/python2.7/site-packages/sugar/bundle/bundleversion.py",
 line 144, in __lt__
     self._cannot_compare(other)
   File "/usr/lib/python2.7/site-packages/sugar/bundle/bundleversion.py",
 line 135, in _cannot_compare
     % (type(self).__name__, type(other).__name__))
 TypeError: Can not compare NormalizedVersion and str
 ERROR:root:Error loading bundle
 '/usr/share/sugar/activities/StopWatch.activity'
 Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/jarabe/model/bundleregistry.py",
 line 230, in _add_bundle
     bundle = ActivityBundle(bundle_path)
   File "/usr/lib/python2.7/site-packages/sugar/bundle/activitybundle.py",
 line 69, in __init__
     raise MalformedBundleException('No activity.info file')
 MalformedBundleException: No activity.info file
 Actualizando Abacus...
 Error instalando Abacus.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando Charlar...
 Error instalando Charlar.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando Distancia...
 Error instalando Distancia.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando Escribiendo la tortuga...
 Error instalando Escribiendo la tortuga.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando Escribir...
 Error instalando Escribir.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando Finance...
 Error instalando Finance.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando Grabar...
 Error instalando Grabar.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando HablarConSara...
 Error instalando HablarConSara.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando Implode...
 Error instalando Implode.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando InfoSlicer...
 Error instalando InfoSlicer.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando Laberinto...
 Error instalando Laberinto.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando Laberinto...
 Error instalando Laberinto.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando Leer...
 Error instalando Leer.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando Luna...
 Error instalando Luna.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando Memorizar...
 Error instalando Memorizar.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando Máquina de discos...
 Error instalando Máquina de discos.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando Navegar...
 Error instalando Navegar.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando Physics...
 Error instalando Physics.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando Pintar...
 Error instalando Pintar.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando Registro...
 Error instalando Registro.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando Terminal...
 Error instalando Terminal.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando TortugArte...
 Error instalando TortugArte.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'
 Actualizando visor de imagenes...
 Error instalando visor de imagenes.
 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.7/site-packages/bitfrost/update/actutils.py",
 line 164, in install_or_upgrade
     self._activity_install_or_upgrade(registry)
   File "/usr/lib/python2.7/site-packages/bitfrost/update/actutils.py",
 line 143, in _activity_install_or_upgrade
     ainfo = registry.get_activity(self.bundle.get_bundle_id())
 AttributeError: 'BundleRegistry' object has no attribute 'get_activity'

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


More information about the Bugs mailing list