<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi, Gonzalo<br>
<br>
Sadly, the log shows nothing. I get the exception on a <br>
try:<br>
datastore.get(obj) (where obj =
olpcgames.ACTIVITY.game_handle)<br>
<br>
where the activity uses the standard olpcgames activity.py, <br>
<br>
the activity.py in olpcgames has:<br>
<br>
def __init__(self, handle):<br>
<br>
if handle.object_Id:<br>
self.game_handle = handle.object_id<br>
<br>
along with some magic code (def make_global) to make
olpcgames.ACTIVITY refer to 'self'.<br>
<br>
The activity is derived from the one in ASLO, but I added the
ability to start a quiz by resume from the Journal so this datastore
usage is not in that <br>
version. However, this code worked in 13.2.2.<br>
<br>
Tony<br>
<br>
<div class="moz-cite-prefix">On 09/02/2015 12:26 PM, Gonzalo Odiard
wrote:<br>
</div>
<blockquote
cite="mid:CAJ+iPVR9JmYxxeripgw+4jponW=TDnU-q8GKn46_VJpWXw9Hjg@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Tony,
<div>Could you attach log files and link to the activity version
you are using?</div>
<div>The information provided is not enough to guess what is
happening</div>
<div>"<span style="font-size:12.8000001907349px">DBusException('Did
not receive a reply, ...)." means the datastore is not
replying,</span></div>
<div><span style="font-size:12.8000001907349px">(or is taking a
too log time) but why that is happening is not clear.</span></div>
<div><br>
</div>
<div>Gonzalo</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Sep 2, 2015 at 5:27 AM, Tony
Anderson <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:tony_anderson@usa.net" target="_blank">tony_anderson@usa.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Another
problem. The Quiz activity crashes in various ways. On some
occasions, it completes normally.<br>
The log shows no error messages. However, it reports in some
cases terminated with signal 6 or signal 11.<br>
<br>
Using try, I was able to narrow it down to a datastore.get.
The exception is 'dbus.exceptions.DBusException'>,<br>
DBusException('Did not receive a reply, ...).<br>
<br>
I assume the lack of error messages relates to the same<br>
problem, the error occurs in a different process.<br>
<br>
I have also seen an isolated (preceded and followed by
unrelated messages from the activity) message in the log:<br>
<br>
Fatal Python error: (pygame parachute) Segmentation fault<br>
<br>
In this case, the log reported a signal 6.<br>
<br>
Tony<br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a moz-do-not-send="true"
href="mailto:Sugar-devel@lists.sugarlabs.org"
target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a moz-do-not-send="true"
href="http://lists.sugarlabs.org/listinfo/sugar-devel"
rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">Gonzalo Odiard<br>
<br>
<div>SugarLabs - Software [for | by] children learning <br>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>