Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#4448 closed defect (fixed)

"Collaboration" does not work in the latest version of mainline "Read" activity

Reported by: ajay_garg Owned by: godiard
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Read Version: Git as of bugdate
Severity: Unspecified Keywords:
Cc: ajay_garg, Cerlyn, dsd Distribution/OS: Fedora
Bug Status: Unconfirmed

Description


Attachments (1)

0001-Calculate-the-md5-at-write-when-a-file-is-received-S.patch (1.5 KB) - added by godiard 11 years ago.
Alternative solution

Download all attachments as: .zip

Change History (9)

Changed 11 years ago by godiard

Alternative solution

comment:2 Changed 11 years ago by godiard

Attached is a alternative solution, whithout loosing the optimization in startup time.

comment:3 Changed 11 years ago by godiard

  • Cc Cerlyn added

Sam, can you confirm this activity is working?

http://dev.laptop.org/~gonzalo/activities/Read-107.xo

comment:4 Changed 11 years ago by godiard

  • Cc dsd added
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in #4448.

Please dsd, add to the next image.

comment:5 Changed 11 years ago by godiard

Sorry, was fixed in version 107

comment:6 Changed 11 years ago by dsd

This ticket was opened with no description. What is the bug in question here?

Without any indication what the bug is, it is hard to know what to test.

comment:7 Changed 11 years ago 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'

comment:8 Changed 11 years ago by godiard

Note than the bookmarks are not shared in Read. Only the document (the book) is transferred.

Note: See TracTickets for help on using tickets.