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
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,
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
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
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:
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
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/
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.
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
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
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:
[1A[2KChrome 25.0 (Linux) datastore object should be able to set and get
metadata
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
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
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
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
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
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
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:
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
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
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
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
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
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
24 matches
Mail list logo