[Bugs] #1751 UNSP: friends file can get corrupted

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Feb 23 10:33:56 EST 2010


#1751: friends file can get corrupted
------------------------------------------+---------------------------------
    Reporter:  sascha_silbe               |          Owner:  tomeu            
        Type:  defect                     |         Status:  new              
    Priority:  Unspecified by Maintainer  |      Milestone:  0.88             
   Component:  sugar                      |        Version:  Git as of bugdate
    Severity:  Major                      |       Keywords:                   
Distribution:  Unspecified                |   Status_field:  New              
------------------------------------------+---------------------------------
 After adding a client without a public key as a friend, the friends file
 is corrupted:

 {{{
 1266938905.479586 ERROR root: Error parsing friends file
 Traceback (most recent call last):
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/jarabe/model/friends.py", line 67, in load
     success = cp.read([self._path])
   File "/usr/lib/python2.5/ConfigParser.py", line 267, in read
     self._read(fp, filename)
   File "/usr/lib/python2.5/ConfigParser.py", line 490, in _read
     raise e
 ParsingError: File contains parsing errors:
 /home/sascha.silbe/.sugar/default/friends
         [line  5]: '[]\n'
 }}}

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1751>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list