Thanks a lot for that. Much appreciated. <div>I've got a hunch about what to do about the audio glitches too. </div><div><br></div><div>Thorin<br><div><div><br><br><div class="gmail_quote">On Tue, Jun 7, 2011 at 3:11 PM, <span dir="ltr"><<a href="mailto:forster@ozonline.com.au">forster@ozonline.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">> Plan Ceibal in Uruguay have told me using the camera on the Jam2Jam activity<br>
> crashes the activity. That seems to be as much as they can tell me.<br>
><br>
> They use XO 1.0 with sugar 0.88.1.<br>
<br>
</div>Tested on a XO1 on Dextrose Os373pyg<br>
<br>
Ran OK<br>
Music cannot play full speed, jumps<br>
Was able to have 3 camera shots animating to the beat<br>
seems OK to me apart from not being able to keep up<br>
<br>
Error log fyi:<br>
<br>
1307423112.336714 INFO City run: LOG From activity.py!!<br>
1307423112.584527 INFO City run: building toolbar<br>
1307423113.039730 WARNING root: No gtk.AccelGroup in the top level window.<br>
1307423113.114464 WARNING root: No gtk.AccelGroup in the top level window.<br>
/usr/lib/python2.6/site-packages/sugar/graphics/window.py:290: DeprecationWarning: use toolbar_box instead of toolbox<br>
warnings.warn('use toolbar_box instead of toolbox', DeprecationWarning)<br>
/usr/lib/python2.6/site-packages/sugar/graphics/window.py:294: DeprecationWarning: use toolbar_box instead of toolbox<br>
warnings.warn('use toolbar_box instead of toolbox', DeprecationWarning)<br>
1307423113.724237 INFO City run: FINISHED building toolbar<br>
** (sugar-activity:2208): DEBUG: Got client ID "1099d80e62ce7b5228130742311863925300000018320001"<br>
** (sugar-activity:2208): DEBUG: Setting initial properties<br>
** (sugar-activity:2208): DEBUG: Received SaveYourself(SmSaveLocal, !Shutdown, SmInteractStyleNone, !Fast) in state idle<br>
** (sugar-activity:2208): DEBUG: Sending SaveYourselfDone(True) for initial SaveYourself<br>
** (sugar-activity:2208): DEBUG: Received SaveComplete message in state save-yourself-done<br>
ERROR:root:Exception while loading extension:<br>
Traceback (most recent call last):<br>
File "/usr/lib/python2.6/site-packages/jarabe/controlpanel/cmd.py", line 66, in load_modules<br>
globals(), locals(), ['model'])<br>
File "/usr/share/sugar/extensions/cpsection/modemconfiguration/model.py", line 19, in <module><br>
from jarabe.model.network import GSM_USERNAME_PATH, GSM_PASSWORD_PATH, \<br>
File "/usr/lib/python2.6/site-packages/jarabe/model/network.py", line 440, in <module><br>
class NMSettings(dbus.service.Object):<br>
AttributeError: 'module' object has no attribute 'service'<br>
<br>
time resolution is 2.321 ns<br>
/home/olpc/Activities/jam2jam.activity/City/Parameters.py:39: DeprecationWarning: integer argument expected, got float<br>
img = pygame.transform.scale(img, (img.get_width() * scale[0], img.get_height() * scale[-1]))<br>
1307423135.101402 INFO City run: Play/Pause Button pressed<br>
1307423138.971987 INFO City run: CameraSnap init<br>
1307423141.455364 INFO City run: tempfile is /tmp/tmpNHHNoC.png<br>
1307423141.457240 INFO City run: about to set pipe state to PLAY<br>
1307423142.443953 INFO City run: about to poll<br>
/home/olpc/Activities/jam2jam.activity/activity.py:57: DeprecationWarning: integer argument expected, got float<br>
picsurf = pygame.transform.scale(picsurf, newarea)<br>
1307423152.318542 INFO City run: Play/Pause Button pressed<br>
1307423159.740085 INFO City run: Play/Pause Button pressed<br>
1307423164.242231 INFO City run: Play/Pause Button pressed<br>
1307423168.538828 INFO City run: CameraSnap init<br>
1307423170.077762 INFO City run: tempfile is /tmp/tmprlECcR.png<br>
1307423170.105018 INFO City run: about to set pipe state to PLAY<br>
1307423171.706025 INFO City run: about to poll<br>
1307423191.762452 INFO City run: CameraSnap init<br>
1307423193.311209 INFO City run: tempfile is /tmp/tmpsQMoEs.png<br>
1307423193.313039 INFO City run: about to set pipe state to PLAY<br>
1307423195.055139 INFO City run: about to poll<br>
1307423232.362309 WARNING root: No gtk.AccelGroup in the top level window.<br>
1307423232.536748 WARNING root: .has_key() is deprecated, use 'in'<br>
1307423237.170720 DEBUG City run: ignoring USEREVENT Event( 24, code = 65537,type = 24,filename = '/home/olpc/.sugar/default/au.net.acid.Jam2Jam1/instance/1307423237',metadata = <DSMetadata object at 0x9773be4 (sugar+datastore+datastore+DSMetadata at 0x97cd160)> )<br>
1307423237.217583 WARNING olpcgames.activity: No file created in '/home/olpc/.sugar/default/au.net.acid.Jam2Jam1/instance/1307423237'<br>
1307423237.315907 WARNING root: No gtk.AccelGroup in the top level window.<br>
1307423237.595114 WARNING root: No gtk.AccelGroup in the top level window.<br>
1307423237.597673 WARNING root: No gtk.AccelGroup in the top level window.<br>
SCENE DATA IS [['City', 'A', 'minor', '120', '{}'], ['Blues', 'E', 'minor', '65', '{}'], ['Latin', 'F', 'major', '164', '{}'], ['Reggae', 'G', 'major', '164', '{}'], ['Country', 'E', 'major', '120', '{}']]<br>
loading CsHelpers<br>
BEGAN CppSound::compile()...<br>
BEGAN CppSound::compile(10, 0xb0b46e28)...<br>
0dBFS level = 32768.0<br>
Csound version 5.10 beta (float samples) Dec 3 2009<br>
libsndfile-1.0.20<br>
orchname: /tmp/tmp.orc<br>
scorename: /tmp/tmp.sco<br>
rtaudio: pulseaudio module enabled<br>
orch compiler:<br>
217 lines read<br>
instr 1<br>
instr 2<br>
instr 3<br>
instr 4<br>
instr 5<br>
instr 6<br>
instr 7<br>
instr 8<br>
instr 9<br>
instr 10<br>
sorting score ...<br>
... done<br>
Csound version 5.10 beta (float samples) Dec 3 2009<br>
displays suppressed<br>
0dBFS level = 1.0<br>
orch now loaded<br>
audio buffered in 256 sample-frame blocks<br>
PulseAudio output server: default<br>
pulseaudio output open<br>
writing 1024-byte blks of shorts to dac<br>
SECTION 1:<br>
ENDED CppSound::compile.<br>
ENDED CppSound::compile.<br>
THREAD ID: PLAYER INIT -1320371344<br>
bpm, 120 1.0<br>
frozen = True<br>
frozen = True<br>
inactive allocs returned to freespace<br>
end of score. overall amps: 1.50244 1.52999<br>
overall samples out of range: 236 222<br>
0 errors in performance<br>
8631 1024-byte soundblks of shorts written to dac<br>
Removing temporary file /tmp/fileRWRd1A.srt ...<br>
Exited with status 0, pid 2208 data (None, <open file '<fdopen>', mode 'w' at 0xa8daa20>, '177b4bed585ae3b0d81f1a40b02df1df49b642f5')<br>
<br>
</blockquote></div><br></div></div></div>