[Bugs] #4448 Read UNSP: "Collaboration" does not work in the latest version of mainline "Read" activity

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Mar 6 11:17:37 EST 2013


#4448: "Collaboration" does not work in the latest version of mainline "Read"
activity
------------------------------------------+---------------------------------
    Reporter:  ajay_garg                  |          Owner:  godiard                    
        Type:  defect                     |         Status:  closed                     
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Read                       |        Version:  Git as of bugdate          
    Severity:  Unspecified                |     Resolution:  fixed                      
    Keywords:                             |   Distribution:  Fedora                     
Status_field:  Unconfirmed                |  
------------------------------------------+---------------------------------

Comment(by manuq):

 (please add a clear description of the issue next time)

 TestCase:

 - open a book in Read (use GetBooks to download one for example)
 - share activity
 - go to mesh, invite someone to join
 - on the remote XO, accept invitation
 - the book should be shared.  currently, a white canvas is displayed, and
 there is a traceback in the log:

 {{{
 Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/gi/_gobject/__init__.py", line
 266, in obj_set_property
     prop.fset(self, value)
   File "/usr/lib/python2.7/site-packages/sugar3/activity/activity.py",
 line 459, in set_active
     self.save()
   File "/usr/lib/python2.7/site-packages/sugar3/activity/activity.py",
 line 739, in save
     self.write_file(file_path)
   File "/home/olpc/Activities/Read.activity/readactivity.py", line 727, in
 write_file
     self.metadata['filehash'] = self.filehash
 AttributeError: 'ReadActivity' object has no attribute 'filehash'
 }}}

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/4448#comment:7>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list