#5849 NORM Never A: olpc-update 653 gives python traceback

Zarro Boogs per Child bugtracker at laptop.org
Fri Jan 4 17:22:37 EST 2008


#5849: olpc-update 653 gives python traceback
--------------------+-------------------------------------------------------
 Reporter:  rbh00   |       Owner:  jg            
     Type:  defect  |      Status:  new           
 Priority:  normal  |   Milestone:  Never Assigned
Component:  distro  |     Version:                
 Keywords:          |    Verified:  0             
 Blocking:          |   Blockedby:                
--------------------+-------------------------------------------------------
 To reproduce:
 1. Power on the XO
 2. Bring up a Terminal Activity
 3. Get to root with su -.
 4. Give the command olpc-update 653 > bug 2>&1
 5. cat bug
 6. Observe this:
 Downloading contents of build 653.
 Updating to version hash 1b24b4ece7a15f9397490b6d4c78e001
 Traceback (most recent call last):
   File "/usr/sbin/olpc-update", line 108, in <module>
     if __name__ == '__main__': main ()
   File "/usr/sbin/olpc-update", line 43, in main
     olpc_update(options, args)
   File "/usr/lib/python2.5/site-packages/bitfrost/update/setup.py", line
 23, in new_f
     return f(*args, **kwds)
   File "/usr/sbin/olpc-update", line 105, in olpc_update
     options.verbosity if not options.quiet else -1)
   File "/usr/lib/python2.5/site-packages/bitfrost/update/setup.py", line
 60, in new_f
     return f(*args, **kwds)
   File "/usr/lib/python2.5/site-packages/bitfrost/update/setup.py", line
 23, in new_f
     return f(*args, **kwds)
   File "/usr/lib/python2.5/site-packages/bitfrost/update/setup.py", line
 231, in perform_update
     clean_versions(report, partitioned, cur_hash, new_hash)
   File "/usr/lib/python2.5/site-packages/bitfrost/update/setup.py", line
 163, in clean_versions
     assert len(f) > 0 and not f.startswith('.') # defensive programming.
 AssertionError


 Note:  Connectivity is via Ethernet, with USB-to-Ethernet adapter plugged
 into the left-side USB port.

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



More information about the Bugs mailing list