[Sugar-devel] multiple instances of activities

tom.staubitz at fhtw-berlin.de tom.staubitz at fhtw-berlin.de
Tue Oct 19 10:01:02 EDT 2010

Oops. Seems I wrote the previous mail a bit too soon.
I applied the patch to both, the XO-1 and the XO-1.5 [1]
Before I applied the patch I tried if I can reproduce the bug by double clicking an activity's icon in the home view.
This worked for at least 4-5 times in a row (I didn't check more often) on both machines. Having applied the patch, double clicking did 
not do any harm no more, on both machines.

A couple of hours later, after several restarts, the behavior reappeared. I can't tell for sure if I single or double clicked.
I got 5 instances of TamTamJam at once on the XO-1.5. See screenshot here: http://www.flatlandfarm.de/blog/?p=39
Again I tried to reproduce it but I couldn't. 

By the way, is this here the right place to post this anyway? Would it be preferred if I post bugs in trac directly?
If yes: is it better to open a new ticket, or to append my findings to probably related tickets?

I will keep an eye on the XO-1, to see if it reoccurs there as well.

Just to be sure if I applied the patch to the correct files:

According to [2], this should be the right place, right?
I'm not too familiar with Python, I know that there are compiled files (.pyc). Do I have to replace them manually after applying a patch?
or do they get replaced automatically? If this needs to be done manually: is deleting them enough to get them generated anew automatically?
Where do I find them?


XO 1.5
Build: 850
Sugar: 0.84.16
Firmware: Q3A48
Wireless Firmware: 9.70.7.p0

XO 1.0
Build: 852
Sugar: 0.84.16
Firmware: Q2E45
Wireless Firmware: 5.110.22.p23

[2] http://wiki.laptop.org/go/Source_code

On Oct 19, 2010, at 12:29 PM, tom.staubitz at fhtw-berlin.de wrote:

> Hi James,
> thanks for your help. It looks as if this solves the problem.
> Is there a better way to apply a patch than to do it manually? 
> I found an old discussion about having an activity to apply patches, but these ideas do not seem to have turned into reality?
> Applying the patch manually typing or copy/pasting the code seems to be pretty error prone.
> I will also have to do this on seven XOs, a one click solution would be really great.
> How is this handled at schools? I guess the kids are not expected to this themselves? If teachers have to to do the patching, I guess it's quite a lot of workload.
> Thanks,
> Tom
> On Oct 18, 2010, at 5:01 AM, James Cameron wrote:
>> On Sun, Oct 17, 2010 at 02:15:47PM +0200, tom.staubitz at fhtw-berlin.de wrote:
>>> The behavior was not connected to a single activity as I encountered
>>> it in Record, TamTamJam and Etoys. It was not intentionally
>>> reproducible but it happened quite often. Most of the time none of the
>>> instances got started properly. Record for example looked quite ok,
>>> but did not display a camera image.  One of the icons in the frame
>>> kept pulsing and the instances could not be stopped. The XO had to be
>>> restarted. This happened on at least three different XO-1s all running
>>> Build 852, Sugar 0.84.16. 
>> This sounds like http://dev.laptop.org/ticket/10016 also recorded as
>> http://bugs.sugarlabs.org/ticket/1719 for which a patch is available.
>> Could you please try the patch?  You can find it in #10016.
>> -- 
>> James Cameron
>> http://quozl.linux.org.au/

Tom Staubitz
tom.staubitz at fhtw-berlin.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20101019/b463341d/attachment.html>

More information about the Sugar-devel mailing list