Opened 9 years ago

Last modified 9 years ago

#4858 new defect

Gears-6 flashing colours on resume from journal

Reported by: quozl Owned by:
Priority: Normal Milestone: Unspecified
Component: Sugar Version: Git as of bugdate
Severity: Major Keywords:
Cc: iain@…, martin.abente.lahaye@…, lionel.laske@…, gonzalo@… Distribution/OS: Ubuntu
Bug Status: New



  • install Gears-6
  • run, and make a model, then stop,
  • resume from journal.

Expected result:

  • normal operation, colours as before, ability to stop.

Observed result:

  • colours of gears flash continually, buttons do not respond, stop does not work, have to kill the process.

Change History (9)

comment:1 Changed 9 years ago by quozl

  • Cc martin.abente.lahaye@… added

comment:2 Changed 9 years ago by tch

This particular bug was fixed in the upstream repository [1], but there hasn't been a new release.

There is another problem though, even when this bug is fixed, another upstream patch broke datastore integration, so we can't release it as it is. I am looking at it now.



comment:3 Changed 9 years ago by tch

  • Cc lionel.laske@… added

Update: as suggested by Gonzalo, reverting this [1] patch solves the second problem with datastore integration, but the diff is too big to tell what exactly make the breakage.

Please note that this bug affects also Sugar running in Fedora 21.

CC'ing Lionel.


Last edited 9 years ago by tch (previous) (diff)

comment:4 Changed 9 years ago by tch

  • Cc gonzalo@… added

comment:5 follow-up: Changed 9 years ago by llaske

comment:6 in reply to: ↑ 5 Changed 9 years ago by tch

Replying to llaske:

Already fixed in source code here:
Commited here
BTW I'm not sure that this fixed was included in a Gears release.

Thanks for the reply Lionel, I already mentioned it, but another patch you added (the one I mentioned above) seems to break integration with the datastore, any idea why?

comment:7 Changed 9 years ago by llaske

Hmmm. Had a look on it and I've reproduced the issue.
I guessed it was related to an issue on my Sugar-Web version (that is compatible with both Sugar and Sugarizer) but it works for others activities.
I'm going to have a deep look on the issue.

comment:8 Changed 9 years ago by llaske

I've found where is the issue.
It's related to the writing into datastore.
Gears activity write into the datastore when there is a click on the stop button [1].
But the stop button generate also the closing of the activity [2].
It seems that the writing into the datastore had no time to do its job before the closing. So nothing is saved into the datastore.

In my pull request I've updated the Sugar-Web version to the last version and in the previous version embedded into the application, there was a wait on data stored [3].

There is no issue into Sugarizer because of course closing of activity is handle by the JavaScript engine too, not by Python.


comment:9 Changed 9 years ago by llaske

Finally find a way to fix the issue on datastore integration.
I've introduced a delay before close using a not needed datastore save [1].
I've send a pull request.


Note: See TracTickets for help on using tickets.