Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Daniel Narvaez
Interesting that he has different tests failing, on buildbot it seems to be always the same. Maybe he can try to osbuild pull, try to reproduce again, and post build/logs/check-modules.log? Seeing a slightly different failure might help us understanding. The timeout is 5 seconds so it's probably

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Gonzalo Odiard
Datastore api have a few places with comments about function/methods than should be async, but are sync. Ex: https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/src/sugar3/datastore/datastore.py#L369 No idea about if is related, just a comment. Gonzalo On Thu, Dec 12, 2013 at 6:33 AM,

[Sugar-devel] Hoodie, a good reference for Sugar Web

2013-12-12 Thread Manuel Quiñones
http://hood.ie/ specially for data storing, authentication, and its offliine-first philosophy. I'm sorry I don't find time for Sugar lately, I will be back into hacking, reviewing and discussions soon! -- .. manuq .. ___ Sugar-devel mailing list

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Rogelio Mita
2013/12/12 Gonzalo Odiard gonz...@laptop.org Datastore api have a few places with comments about function/methods than should be async, but are sync. Ex: https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/src/sugar3/datastore/datastore.py#L369 No idea about if is related, just a

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Gonzalo Odiard
On Thu, Dec 12, 2013 at 12:28 PM, Rogelio Mita rogeliom...@activitycentral.com wrote: 2013/12/12 Gonzalo Odiard gonz...@laptop.org Datastore api have a few places with comments about function/methods than should be async, but are sync. Ex:

Re: [Sugar-devel] Hoodie, a good reference for Sugar Web

2013-12-12 Thread Code Raguet
Very interesting... On Thu, Dec 12, 2013 at 11:23 AM, Manuel Quiñones ma...@laptop.org wrote: http://hood.ie/ specially for data storing, authentication, and its offliine-first philosophy. I'm sorry I don't find time for Sugar lately, I will be back into hacking, reviewing and

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Rogelio Mita
2013/12/12 Gonzalo Odiard gonz...@laptop.org breaking carefully :) don't worry! the idea is not to change anything without testing, datastore has enough tests, first of all we would begin to look at these =) -- Roger Activity Central http://activitycentral.com/

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Rogelio Mita
2013/12/11 Daniel Narvaez dwnarv...@gmail.com That's not enough to say if python is never sending the message or if javascript is never receiving/handling it. So I make gwebsockets log sent messages to... when we get the next failure we can check if that helps figuring out what is going on.

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Rogelio Mita
2013/12/12 Daniel Narvaez dwnarv...@gmail.com Interesting that he has different tests failing, on buildbot it seems to be always the same. Maybe he can try to osbuild pull, try to reproduce again, and post build/logs/check-modules.log? Seeing a slightly different failure might help us

[Sugar-devel] [ASLO] Release Yellow Dot-2

2013-12-12 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4629 Sugar Platform: 0.96 - 0.98 Download Now: http://activities.sugarlabs.org/downloads/file/28419/yellow_dot-2.xo Release notes: 2 * Improved interaction * Improved translations Sugar Labs Activities http://activities.sugarlabs.org

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Code Raguet
Today it failed again, but in two tests: - datastore object should be able to set and get metadata - datastore object should be able to save and load text both from datastore and due to timeout log excerpt: [1AChrome 25.0 (Linux) datastore object should be able to set and get metadata

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Code Raguet
BTW: gwebsockets's log shows no error On Thu, Dec 12, 2013 at 4:11 PM, Code Raguet irag...@activitycentral.comwrote: Today it failed again, but in two tests: - datastore object should be able to set and get metadata - datastore object should be able to save and load text both from

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Rogelio Mita
2013/12/12 Gonzalo Odiard gonz...@laptop.org Just remember than this is different to env.js, we have already a lot of users of this api, then we need look how to solve these issues I catch your point here, the idea is not change the API usage, because motive you said above, or if it changes

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Daniel Narvaez
On 12 December 2013 16:28, Rogelio Mita rogeliom...@activitycentral.comwrote: good point Gonzalo, finishing with env.js we will move to review datastore at any time. Daniel, I think we can increase the timeout until we can find a solution? while we work on a solution we can go see if

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Daniel Narvaez
On 12 December 2013 20:11, Code Raguet irag...@activitycentral.com wrote: what about this? Traceback (most recent call last): File /home/broot/sugar-build/build/out/install/lib/python2.7/site-packages/jarabe/frame/devicestray.py, line 35, in __init__ mod.setup(self) File

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Daniel Narvaez
When failing 1386868991.611618 DEBUG gwebsockets: Received text message {method:datastore.set_metadata,id:3,params:[d02d98ab-7bab-4cf5-92c8-24409a6c35d7,{title:hello}],jsonrpc:2.0} 1386868994.676076 DEBUG gwebsockets: Got data, length 278 1386868995.920466 DEBUG gwebsockets: Got data, length 214

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Daniel Narvaez
Very similar delay in your logs 1386875635.966910 DEBUG root: IndexStore.flush: force=True _pending_writes=0 1386875641.161983 DEBUG root: FileStore: Nothing to do There is a 5 seconds timeout in datastore too # Force a flush after _n_ seconds since the last change to the db _FLUSH_TIMEOUT = 5

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Daniel Narvaez
So I added a couple of logs around database.update(), which is the only place it seems it could block for a while. A good log looks like 1386896014.997774 DEBUG root: IndexStore.flush: force=True _pending_writes=0 1386896014.997934 DEBUG root: Start database flush 1386896015.016607 DEBUG root:

Re: [Sugar-devel] Hoodie, a good reference for Sugar Web

2013-12-12 Thread Daniel Narvaez
I have not looked at the API carefully but I wonder if we could implement datastore on standalone sugar-web using that. On 12 December 2013 15:23, Manuel Quiñones ma...@laptop.org wrote: http://hood.ie/ specially for data storing, authentication, and its offliine-first philosophy. I'm

Re: [Sugar-devel] Frequent buildbot check failures in sugar-web

2013-12-12 Thread Daniel Narvaez
Right, as expected 1386897905.351919 DEBUG root: IndexStore.flush: force=True _pending_writes=0 1386897905.352442 DEBUG root: Start database flush 1386897909.310487 DEBUG root: Completed database flush 1386897909.334923 DEBUG root: FileStore: Nothing to do Only on the first save(). Using

[Sugar-devel] [ASLO] Release Prime Dimensions-54

2013-12-12 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4674 Sugar Platform: 0.82 - 0.100 Download Now: http://activities.sugarlabs.org/downloads/file/28839/prime_dimensions-54.xo Release notes: New translations Sugar Labs Activities http://activities.sugarlabs.org

[Sugar-devel] [ASLO] Release Word Dimensions-54

2013-12-12 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4675 Sugar Platform: 0.82 - 0.100 Download Now: http://activities.sugarlabs.org/downloads/file/28840/word_dimensions-54.xo Release notes: New translations Sugar Labs Activities http://activities.sugarlabs.org

[Sugar-devel] [ASLO] Release SimpleGNUChess-12

2013-12-12 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4593 Sugar Platform: 0.96 - 0.100 Download Now: http://activities.sugarlabs.org/downloads/file/28841/simplegnuchess-12.xo Release notes: New translations Sugar Labs Activities http://activities.sugarlabs.org

[Sugar-devel] [ASLO] Release Story-10

2013-12-12 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4565 Sugar Platform: 0.96 - 0.100 Download Now: http://activities.sugarlabs.org/downloads/file/28842/story-10.xo Release notes: New translations Sugar Labs Activities http://activities.sugarlabs.org