id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,distribution,status_field
623,Do not write timestamp when not managed to connect,skierpage,erikos,"I booted recent Rawhide-XO on my XO off SD card.  After logging in to Sugar, after the cursor got chunky but before the Home view appeared, the  screen went black and the Gnome spinning cursor returned.

I looked in Sugar's shell.log and saw:
{{{
Traceback (most recent call last):
  File ""/usr/bin/sugar-session"", line 173, in <module>
    main()
  File ""/usr/bin/sugar-session"", line 157, in main
    home_window = HomeWindow()
  File ""/usr/lib/python2.6/site-packages/jarabe/desktop/homewindow.py"", line 57, in __init__
    self._mesh_box = MeshBox()
  File ""/usr/lib/python2.6/site-packages/jarabe/desktop/meshbox.py"", line 755, in __init__
    netmgr_observer.listen()
  File ""/usr/lib/python2.6/site-packages/jarabe/desktop/meshbox.py"", line 654, in listen
    settings = network.get_settings()
  File ""/usr/lib/python2.6/site-packages/jarabe/model/network.py"", line 312, in get_settings
    load_connections()
  File ""/usr/lib/python2.6/site-packages/jarabe/model/network.py"", line 365, in load_connections
    timestamp = int(config.get(section, 'timestamp'))
ValueError: invalid literal for int() with base 10: 'None'
}}}

I guess Python won't turn 'None' into an int, so the code needs to handle this.  I looked in older shell.log files and it happened another time.  I don't know whether this is the reason my Sugar session didn't start.  If it is, it seems all this networking code should be in a try-catch block -- a network failure shouldn't stop the Sugar desktop from launching.",defect,closed,Unspecified by Maintainer,0.84,sugar,0.84.x,Blocker,fixed,r+,,Fedora,Resolved
