#6483 BLOC Never A: Sharing doesn't work in Read Activity
Zarro Boogs per Child
bugtracker at laptop.org
Sun Feb 17 18:46:23 EST 2008
#6483: Sharing doesn't work in Read Activity
----------------------------+-----------------------------------------------
Reporter: wad | Owner: rwh
Type: defect | Status: new
Priority: blocker | Milestone: Never Assigned
Component: read-activity | Version:
Resolution: | Keywords: read sharing
Verified: 0 | Blocking: 1, 1
Blockedby: |
----------------------------+-----------------------------------------------
Changes (by rwh):
* cc: morgs, tomeu, marco, sjoerd (added)
Comment:
Ouch! I tested here on Salut back-end (either I can't get Gabble to work
or olpc.collabora.co.uk is not functioning). I think there are two issues:
the first is that the timeout for the (local) Activity.Join call is a bit
short (anybody an idea what the default is?), and two: the stream tubes
seem to have trouble transferring the whole file. I'm not sure where the
problem is exactly, but the GlibURLDownloader always used to work. It
checks whether the data blocks are the expected size (4096). I changed the
code to just check whether there is data at all, and this is the result:
{{{
1203291580.779578 DEBUG read-activity: Downloaded 4096 bytes from tube
514189109...
1203291580.792029 DEBUG read-activity: Downloaded 8192 bytes from tube
514189109...
1203291580.795031 DEBUG read-activity: Downloaded 12288 bytes from tube
514189109...
1203291580.796583 DEBUG read-activity: Downloaded 12377 bytes from tube
514189109...
1203291580.798068 DEBUG read-activity: Downloaded 12377 bytes from tube
514189109...
1203291580.799587 DEBUG read-activity: Got document /tmp/1203291580
(1203291580) from tube 514189109
}}}
No more data seems to be coming, although the 'server' instance definitely
writes the whole file.
Any ideas?
--
Ticket URL: <http://dev.laptop.org/ticket/6483#comment:1>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list