#8919 HIGH 8.2.0 (: olpc-update AssertionError

Zarro Boogs per Child bugtracker at laptop.org
Sun Nov 2 14:25:17 EST 2008


#8919: olpc-update AssertionError
---------------------------------+------------------------------------------
   Reporter:  genesee            |       Owner:  sayamindu           
       Type:  defect             |      Status:  new                 
   Priority:  high               |   Milestone:  8.2.0 (was Update.2)
  Component:  terminal-activity  |     Version:                      
 Resolution:                     |    Keywords:                      
Next_action:  never set          |    Verified:  0                   
  Blockedby:                     |    Blocking:                      
---------------------------------+------------------------------------------
Changes (by mikus):

 * cc: mikus at bga.com (added)
  * priority:  normal => high


Comment:

 Running with 767.  Trying to olpc-update alternate-build content from 2522
 to 2523.  Got:
   bash-3.2# olpc-update --full -v joyride-2523
   Downloading contents of build joyride-2523.
   Updating to version hash e49e302326141de7903e373f4f8d6638
   Deleting old pristine version 33542d9baeb32f1837a869db81f5446d
   Traceback (most recent call last):
     File "/usr/sbin/olpc-update", line 209, in <module>
       if __name__ == '__main__': main ()
     File "/usr/sbin/olpc-update", line 75, in main
       olpc_update(options, args)
     File "/usr/lib/python2.5/site-packages/bitfrost/update/setup.py", line
 68, in new_f
       return f(*args, **kwds)
     File "/usr/sbin/olpc-update", line 206, in olpc_update
       force=options.force, poweroff=options.poweroff)
     File "/usr/lib/python2.5/site-packages/bitfrost/update/setup.py", line
 99, in new_f
       return f(*args, **kwds)
     File "/usr/lib/python2.5/site-packages/bitfrost/update/setup.py", line
 68, in new_f
       return f(*args, **kwds)
     File "/usr/lib/python2.5/site-packages/bitfrost/update/setup.py", line
 326, in perform_update
       clean_versions(report, partitioned, cur_hash, new_hash)
     File "/usr/lib/python2.5/site-packages/bitfrost/update/setup.py", line
 180, in clean_versions
       assert len(f) > 0 and '.' not in f # defensive programming.
   AssertionError

   bash-3.2#
 [[BR]]
 Got rid of assert error by manually deleting from /versions the alternate-
 build I was trying to replace.  Then the olpc-update ran o.k.

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


More information about the Bugs mailing list