1 | reserved credentials (10014, 10029) |
---|
2 | adding group: /usr/sbin/groupadd -o -g 10029 10029 |
---|
3 | groupadd: group 10029 exists |
---|
4 | adding user: /usr/sbin/useradd -m -u 10014 -g 10029 -c vu.lux.olpc.Speak.10014 -d /home/olpc/isolation/1/uid_to_home_dir/10014 10014 |
---|
5 | Creating mailbox file: File exists |
---|
6 | dropping privilege to (10014, 10029) |
---|
7 | chdir to /home/olpc/Activities/Speak.activity |
---|
8 | umask(0) |
---|
9 | about to execve |
---|
10 | argv: dbus.Array([dbus.UTF8String('sugar-activity'), dbus.UTF8String('activity.SpeakActivity'), dbus.UTF8String('-s'), dbus.UTF8String('-b'), dbus.UTF8String('vu.lux.olpc.Speak'), dbus.UTF8String('-a'), dbus.UTF8String('2527a24974cd0a95e4be7c66d70f7938fa3aaec2')], signature=dbus.Signature('s')) |
---|
11 | env: dbus.Dictionary({dbus.UTF8String('LOGNAME'): dbus.UTF8String('olpc'), 'USER': '10014', dbus.UTF8String('HOME'): '/home/olpc/isolation/1/uid_to_home_dir/10014', dbus.UTF8String('PATH'): dbus.UTF8String('/home/olpc/Activities/Speak.activity/bin:/usr/bin:/bin'), dbus.UTF8String('DISPLAY'): dbus.UTF8String(':0'), dbus.UTF8String('LANG'): dbus.UTF8String('en_US.UTF-8'), dbus.UTF8String('SHELL'): dbus.UTF8String('/bin/bash'), dbus.UTF8String('TZ'): dbus.UTF8String('UTC'), dbus.UTF8String('XDG_SESSION_COOKIE'): dbus.UTF8String('484922eca4e9095076114dbb48eed5f4-1256941193.168417-761265881'), dbus.UTF8String('SESSION_MANAGER'): dbus.UTF8String('local/unix:@/tmp/.ICE-unix/1237,unix/unix:/tmp/.ICE-unix/1237'), dbus.UTF8String('SHLVL'): dbus.UTF8String('1'), dbus.UTF8String('ICEAUTHORITY'): '/home/olpc/isolation/1/uid_to_home_dir/10014/.ICEauthority', dbus.UTF8String('WINDOWPATH'): dbus.UTF8String('3'), dbus.UTF8String('SUGAR_BUNDLE_PATH'): dbus.UTF8String('/home/olpc/Activities/Speak.activity'), dbus.UTF8String('SUGAR_LOCALEDIR'): dbus.UTF8String('/home/olpc/Activities/Speak.activity/locale'), dbus.UTF8String('SUGAR_THEME'): dbus.UTF8String('sugar-xo'), dbus.UTF8String('SUGAR_ACTIVITY_ROOT'): '/home/olpc/isolation/1/uid_to_home_dir/10014', dbus.UTF8String('GTK2_RC_FILES'): dbus.UTF8String('/usr/share/sugar/data/sugar-xo.gtkrc'), dbus.UTF8String('SUGAR_BUNDLE_ID'): dbus.UTF8String('vu.lux.olpc.Speak'), dbus.UTF8String('DBUS_SESSION_BUS_ADDRESS'): dbus.UTF8String('unix:path=/tmp/olpc-session-bus,guid=6dab9cb5566df4271aa514784aeb6689'), 'TMPDIR': '/home/olpc/isolation/1/uid_to_home_dir/10014/tmp', dbus.UTF8String('XAUTHORITY'): '/home/olpc/isolation/1/uid_to_home_dir/10014/.Xauthority', dbus.UTF8String('GTK_IM_MODULE'): dbus.UTF8String('gtk-im-context-simple'), dbus.UTF8String('XSERVERAUTH'): dbus.UTF8String('/var/tmp/olpc-auth/.Xserverauth'), dbus.UTF8String('PWD'): dbus.UTF8String('/home/olpc')}, signature=dbus.Signature('ss')) |
---|
12 | closing all fds but (1, 2) |
---|
13 | {dbus.UTF8String('LOGNAME'): dbus.UTF8String('olpc'), 'USER': '10014', 'PATH': dbus.UTF8String('/home/olpc/Activities/Speak.activity/bin:/usr/bin:/bin'), dbus.UTF8String('HOME'): '/home/olpc/isolation/1/uid_to_home_dir/10014', 'DISPLAY': dbus.UTF8String(':0'), 'LANG': dbus.UTF8String('en_US.UTF-8'), 'TERM': 'linux', dbus.UTF8String('SHELL'): dbus.UTF8String('/bin/bash'), dbus.UTF8String('TZ'): dbus.UTF8String('UTC'), 'XAUTHORITY': '/home/olpc/isolation/1/uid_to_home_dir/10014/.Xauthority', dbus.UTF8String('SESSION_MANAGER'): dbus.UTF8String('local/unix:@/tmp/.ICE-unix/1237,unix/unix:/tmp/.ICE-unix/1237'), dbus.UTF8String('SHLVL'): dbus.UTF8String('1'), 'ICEAUTHORITY': '/home/olpc/isolation/1/uid_to_home_dir/10014/.ICEauthority', dbus.UTF8String('WINDOWPATH'): dbus.UTF8String('3'), dbus.UTF8String('SUGAR_BUNDLE_PATH'): dbus.UTF8String('/home/olpc/Activities/Speak.activity'), dbus.UTF8String('SUGAR_LOCALEDIR'): dbus.UTF8String('/home/olpc/Activities/Speak.activity/locale'), dbus.UTF8String('SUGAR_THEME'): dbus.UTF8String('sugar-xo'), 'UPSTART_JOB': 'rainbow', 'UPSTART_JOB_ID': '3', dbus.UTF8String('SUGAR_BUNDLE_ID'): dbus.UTF8String('vu.lux.olpc.Speak'), 'DBUS_SESSION_BUS_ADDRESS': dbus.UTF8String('unix:path=/tmp/olpc-session-bus,guid=6dab9cb5566df4271aa514784aeb6689'), 'TMPDIR': '/home/olpc/isolation/1/uid_to_home_dir/10014/tmp', dbus.UTF8String('XDG_SESSION_COOKIE'): dbus.UTF8String('484922eca4e9095076114dbb48eed5f4-1256941193.168417-761265881'), dbus.UTF8String('GTK_IM_MODULE'): dbus.UTF8String('gtk-im-context-simple'), dbus.UTF8String('XSERVERAUTH'): dbus.UTF8String('/var/tmp/olpc-auth/.Xserverauth'), dbus.UTF8String('SUGAR_ACTIVITY_ROOT'): '/home/olpc/isolation/1/uid_to_home_dir/10014', dbus.UTF8String('PWD'): dbus.UTF8String('/home/olpc'), 'UPSTART_EVENT': 'started', 'GTK2_RC_FILES': dbus.UTF8String('/usr/share/sugar/data/sugar-xo.gtkrc')} |
---|
14 | OIL: ERROR liboiltest.c 361: oil_test_check_impl(): illegal instruction in mmxCombineAddU |
---|
15 | |
---|
16 | (rainbow-daemon:1949): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: Permission denied |
---|
17 | |
---|
18 | (rainbow-daemon:1949): libgnomevfs-WARNING **: gnome_vfs_init(): .gnome does not exist |
---|
19 | GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 2: IOR file '/tmp/gconfd-root/lock/ior' not opened successfully, no gconfd located: No such file or directory) |
---|
20 | OIL: ERROR liboiltest.c 361: oil_test_check_impl(): illegal instruction in mmxCombineAddU |
---|
21 | |
---|
22 | (rainbow-daemon:1167): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: Permission denied |
---|
23 | |
---|
24 | (rainbow-daemon:1167): libgnomevfs-WARNING **: gnome_vfs_init(): .gnome does not exist |
---|
25 | GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 2: IOR file '/tmp/gconfd-root/lock/ior' not opened successfully, no gconfd located: No such file or directory) |
---|
26 | 1256943397.519012 WARNING speak: Can not find gst-espeak, fallback to espeak command: espeak |
---|
27 | Best voice for LANG en_US.UTF-8 seems to be en Default |
---|
28 | /usr/lib/python2.5/site-packages/sugar/graphics/combobox.py:93: PangoWarning: error opening config file '/root/.pangorc': Permission denied |
---|
29 | |
---|
30 | self._model.append([action_id, text, pixbuf, False]) |
---|
31 | 1256943406.505026 WARNING root: No gtk.AccelGroup in the top level window. |
---|
32 | 1256943406.577943 WARNING root: No gtk.AccelGroup in the top level window. |
---|
33 | /usr/lib/python2.5/site-packages/sugar/graphics/window.py:116: GtkWarning: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed |
---|
34 | self._vbox.remove(self.toolbox) |
---|
35 | 1256943408.417479 ERROR speak: Cannot speak "Hello rocco. Type something.": no element "espeak" |
---|
36 | ** (rainbow-daemon:1167): DEBUG: Got client ID "10f1b2c4a2db2ca027125694340996407300000012370005" |
---|
37 | ** (rainbow-daemon:1167): DEBUG: Setting initial properties |
---|
38 | ** (rainbow-daemon:1167): DEBUG: Received SaveYourself(SmSaveLocal, !Shutdown, SmInteractStyleNone, !Fast) in state idle |
---|
39 | ** (rainbow-daemon:1167): DEBUG: Sending SaveYourselfDone(True) for initial SaveYourself |
---|
40 | ** (rainbow-daemon:1167): DEBUG: Received SaveComplete message in state save-yourself-done |
---|
41 | Loading brain from bot/alice.brn... done (43393 categories in 18.74 seconds) |
---|
42 | 1256943445.367907 ERROR speak: Cannot speak "Hello, I'am a robot "Alice". Ask me any question. Sorry, I can speak Default, let's speak English instead.": no element "espeak" |
---|
43 | --------------------------------------------------------------------------- |
---|
44 | OSError Traceback (most recent call last) |
---|
45 | |
---|
46 | /home/olpc/Activities/Speak.activity/brain.py in load_brain(old_cursor=<GdkCursor at 0x9cee540>) |
---|
47 | 81 % BOTS[voice]['name'] |
---|
48 | 82 hello += ' ' + sorry |
---|
49 | ---> 83 self.activity.face.say_notification(hello) |
---|
50 | global self.activity.face.say_notification = undefined |
---|
51 | hello = 'Hello, I\'am a robot "Alice". Ask me any question. Sorry, I can speak Default, let\'s speak English instead.' |
---|
52 | 84 elif sorry: |
---|
53 | 85 self.activity.face.say_notification(sorry) |
---|
54 | |
---|
55 | /home/olpc/Activities/Speak.activity/face.py in say_notification(self=<View object at 0x9cd22fc (GtkEventBox at 0x98a22e8)>, something='Hello, I\'am a robot "Alice". Ask me any question...I can speak Default, let\'s speak English instead.') |
---|
56 | 176 status = (self._peding or self.status).clone() |
---|
57 | 177 status.voice = voice.DEFAULT |
---|
58 | --> 178 self._audio.speak(status, something) |
---|
59 | self._audio.speak = <bound method AudioGrab.speak of <AudioGrab object at 0x9cd22d4 (audio+AudioGrab at 0x9d15c30)>> |
---|
60 | status = <face.Status instance at 0x9caf48c> |
---|
61 | something = 'Hello, I\'am a robot "Alice". Ask me any question. Sorry, I can speak Default, let\'s speak English instead.' |
---|
62 | 179 |
---|
63 | 180 def shut_up(self): |
---|
64 | |
---|
65 | /home/olpc/Activities/Speak.activity/audio.py in speak(self=<AudioGrab object at 0x9cd22d4 (audio+AudioGrab at 0x9d15c30)>, status=<face.Status instance at 0x9caf48c>, text='Hello, I\'am a robot "Alice". Ask me any question...I can speak Default, let\'s speak English instead.') |
---|
66 | 70 rate = 80 + (370-80) * int(status.rate) / 100 |
---|
67 | 71 wavpath = "/tmp/speak.wav" |
---|
68 | ---> 72 subprocess.call(["espeak", "-w", wavpath, "-p", str(status.pitch), "-s", str(rate), "-v", status.voice.name, text], stdout=subprocess.PIPE) |
---|
69 | global subprocess.call = <function call at 0xb75e32cc> |
---|
70 | wavpath = '/tmp/speak.wav' |
---|
71 | global str = undefined |
---|
72 | status.pitch = 49 |
---|
73 | rate = 175 |
---|
74 | status.voice.name = 'default' |
---|
75 | text = 'Hello, I\'am a robot "Alice". Ask me any question. Sorry, I can speak Default, let\'s speak English instead.' |
---|
76 | global stdout = undefined |
---|
77 | global subprocess.PIPE = -1 |
---|
78 | 73 self._playfile(wavpath) |
---|
79 | 74 |
---|
80 | |
---|
81 | /usr/lib/python2.5/subprocess.py in call(*popenargs=(['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'default', 'Hello, I\'am a robot "Alice". Ask me any question...I can speak Default, let\'s speak English instead.'],), **kwargs={'stdout': -1}) |
---|
82 | 441 retcode = call(["ls", "-l"]) |
---|
83 | 442 """ |
---|
84 | --> 443 return Popen(*popenargs, **kwargs).wait() |
---|
85 | global Popen = <class 'subprocess.Popen'> |
---|
86 | popenargs = (['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'default', 'Hello, I\'am a robot "Alice". Ask me any question. Sorry, I can speak Default, let\'s speak English instead.'],) |
---|
87 | kwargs.wait = undefined |
---|
88 | 444 |
---|
89 | 445 |
---|
90 | |
---|
91 | /usr/lib/python2.5/subprocess.py in __init__(self=<subprocess.Popen object at 0xfa7d9cc>, args=['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'default', 'Hello, I\'am a robot "Alice". Ask me any question...I can speak Default, let\'s speak English instead.'], bufsize=0, executable=None, stdin=None, stdout=-1, stderr=None, preexec_fn=None, close_fds=False, shell=False, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0) |
---|
92 | 591 p2cread, p2cwrite, |
---|
93 | 592 c2pread, c2pwrite, |
---|
94 | --> 593 errread, errwrite) |
---|
95 | errread = None |
---|
96 | errwrite = None |
---|
97 | 594 |
---|
98 | 595 # On Windows, you cannot just redirect one or two handles: You |
---|
99 | |
---|
100 | /usr/lib/python2.5/subprocess.py in _execute_child(self=<subprocess.Popen object at 0xfa7d9cc>, args=['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'default', 'Hello, I\'am a robot "Alice". Ask me any question...I can speak Default, let\'s speak English instead.'], executable='espeak', preexec_fn=None, close_fds=False, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0, shell=False, p2cread=None, p2cwrite=None, c2pread=4, c2pwrite=5, errread=None, errwrite=None) |
---|
101 | 1003 self._set_cloexec_flag(errpipe_write) |
---|
102 | 1004 |
---|
103 | -> 1005 self.pid = os.fork() |
---|
104 | self.pid = None |
---|
105 | global os.fork = <built-in function fork> |
---|
106 | 1006 self._child_created = True |
---|
107 | 1007 if self.pid == 0: |
---|
108 | |
---|
109 | OSError: [Errno 12] Cannot allocate memory |
---|
110 | 1256943464.438786 ERROR speak: Cannot speak "Hi there!": no element "espeak" |
---|
111 | --------------------------------------------------------------------------- |
---|
112 | OSError Traceback (most recent call last) |
---|
113 | |
---|
114 | /home/olpc/Activities/Speak.activity/activity.py in _entry_activate_cb(self=<SpeakActivity object at 0x9be3a54 (SugarActivity at 0x9cf2820)>, entry=<gtk.Entry object at 0x9cd2324 (GtkEntry at 0x9cf2ae0)>) |
---|
115 | 377 # speak the text |
---|
116 | 378 if self.toolbox.get_current_toolbar() == BOT_TOOLBAR: |
---|
117 | --> 379 self.face.say(self.bot.respond(text)) |
---|
118 | self.face.say = <bound method View.say of <View object at 0x9cd22fc (GtkEventBox at 0x98a22e8)>> |
---|
119 | self.bot.respond = <bound method Toolbar.respond of <Toolbar object at 0x9cad2d4 (GtkToolbar at 0x9d291f8)>> |
---|
120 | text = 'helo' |
---|
121 | 380 else: |
---|
122 | 381 self.face.say(text) |
---|
123 | |
---|
124 | /home/olpc/Activities/Speak.activity/face.py in say(self=<View object at 0x9cd22fc (GtkEventBox at 0x98a22e8)>, something='Hi there!') |
---|
125 | 171 |
---|
126 | 172 def say(self, something): |
---|
127 | --> 173 self._audio.speak(self._peding or self.status, something) |
---|
128 | self._audio.speak = <bound method AudioGrab.speak of <AudioGrab object at 0x9cd22d4 (audio+AudioGrab at 0x9d15c30)>> |
---|
129 | self._peding = None |
---|
130 | self.status = <face.Status instance at 0x9be5b4c> |
---|
131 | something = 'Hi there!' |
---|
132 | 174 |
---|
133 | 175 def say_notification(self, something): |
---|
134 | |
---|
135 | /home/olpc/Activities/Speak.activity/audio.py in speak(self=<AudioGrab object at 0x9cd22d4 (audio+AudioGrab at 0x9d15c30)>, status=<face.Status instance at 0x9be5b4c>, text='Hi there!') |
---|
136 | 70 rate = 80 + (370-80) * int(status.rate) / 100 |
---|
137 | 71 wavpath = "/tmp/speak.wav" |
---|
138 | ---> 72 subprocess.call(["espeak", "-w", wavpath, "-p", str(status.pitch), "-s", str(rate), "-v", status.voice.name, text], stdout=subprocess.PIPE) |
---|
139 | global subprocess.call = <function call at 0xb75e32cc> |
---|
140 | wavpath = '/tmp/speak.wav' |
---|
141 | global str = undefined |
---|
142 | status.pitch = 49 |
---|
143 | rate = 175 |
---|
144 | status.voice.name = 'english' |
---|
145 | text = 'Hi there!' |
---|
146 | global stdout = undefined |
---|
147 | global subprocess.PIPE = -1 |
---|
148 | 73 self._playfile(wavpath) |
---|
149 | 74 |
---|
150 | |
---|
151 | /usr/lib/python2.5/subprocess.py in call(*popenargs=(['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'Hi there!'],), **kwargs={'stdout': -1}) |
---|
152 | 441 retcode = call(["ls", "-l"]) |
---|
153 | 442 """ |
---|
154 | --> 443 return Popen(*popenargs, **kwargs).wait() |
---|
155 | global Popen = <class 'subprocess.Popen'> |
---|
156 | popenargs = (['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'Hi there!'],) |
---|
157 | kwargs.wait = undefined |
---|
158 | 444 |
---|
159 | 445 |
---|
160 | |
---|
161 | /usr/lib/python2.5/subprocess.py in __init__(self=<subprocess.Popen object at 0xfa87d8c>, args=['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'Hi there!'], bufsize=0, executable=None, stdin=None, stdout=-1, stderr=None, preexec_fn=None, close_fds=False, shell=False, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0) |
---|
162 | 591 p2cread, p2cwrite, |
---|
163 | 592 c2pread, c2pwrite, |
---|
164 | --> 593 errread, errwrite) |
---|
165 | errread = None |
---|
166 | errwrite = None |
---|
167 | 594 |
---|
168 | 595 # On Windows, you cannot just redirect one or two handles: You |
---|
169 | |
---|
170 | /usr/lib/python2.5/subprocess.py in _execute_child(self=<subprocess.Popen object at 0xfa87d8c>, args=['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'Hi there!'], executable='espeak', preexec_fn=None, close_fds=False, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0, shell=False, p2cread=None, p2cwrite=None, c2pread=11, c2pwrite=12, errread=None, errwrite=None) |
---|
171 | 1003 self._set_cloexec_flag(errpipe_write) |
---|
172 | 1004 |
---|
173 | -> 1005 self.pid = os.fork() |
---|
174 | self.pid = None |
---|
175 | global os.fork = <built-in function fork> |
---|
176 | 1006 self._child_created = True |
---|
177 | 1007 if self.pid == 0: |
---|
178 | |
---|
179 | OSError: [Errno 12] Cannot allocate memory |
---|
180 | 1256943468.139796 ERROR speak: Cannot speak "Hi there!": no element "espeak" |
---|
181 | --------------------------------------------------------------------------- |
---|
182 | OSError Traceback (most recent call last) |
---|
183 | |
---|
184 | /home/olpc/Activities/Speak.activity/activity.py in _entry_activate_cb(self=<SpeakActivity object at 0x9be3a54 (SugarActivity at 0x9cf2820)>, entry=<gtk.Entry object at 0x9cd2324 (GtkEntry at 0x9cf2ae0)>) |
---|
185 | 377 # speak the text |
---|
186 | 378 if self.toolbox.get_current_toolbar() == BOT_TOOLBAR: |
---|
187 | --> 379 self.face.say(self.bot.respond(text)) |
---|
188 | self.face.say = <bound method View.say of <View object at 0x9cd22fc (GtkEventBox at 0x98a22e8)>> |
---|
189 | self.bot.respond = <bound method Toolbar.respond of <Toolbar object at 0x9cad2d4 (GtkToolbar at 0x9d291f8)>> |
---|
190 | text = 'helo' |
---|
191 | 380 else: |
---|
192 | 381 self.face.say(text) |
---|
193 | |
---|
194 | /home/olpc/Activities/Speak.activity/face.py in say(self=<View object at 0x9cd22fc (GtkEventBox at 0x98a22e8)>, something='Hi there!') |
---|
195 | 171 |
---|
196 | 172 def say(self, something): |
---|
197 | --> 173 self._audio.speak(self._peding or self.status, something) |
---|
198 | self._audio.speak = <bound method AudioGrab.speak of <AudioGrab object at 0x9cd22d4 (audio+AudioGrab at 0x9d15c30)>> |
---|
199 | self._peding = None |
---|
200 | self.status = <face.Status instance at 0x9be5b4c> |
---|
201 | something = 'Hi there!' |
---|
202 | 174 |
---|
203 | 175 def say_notification(self, something): |
---|
204 | |
---|
205 | /home/olpc/Activities/Speak.activity/audio.py in speak(self=<AudioGrab object at 0x9cd22d4 (audio+AudioGrab at 0x9d15c30)>, status=<face.Status instance at 0x9be5b4c>, text='Hi there!') |
---|
206 | 70 rate = 80 + (370-80) * int(status.rate) / 100 |
---|
207 | 71 wavpath = "/tmp/speak.wav" |
---|
208 | ---> 72 subprocess.call(["espeak", "-w", wavpath, "-p", str(status.pitch), "-s", str(rate), "-v", status.voice.name, text], stdout=subprocess.PIPE) |
---|
209 | global subprocess.call = <function call at 0xb75e32cc> |
---|
210 | wavpath = '/tmp/speak.wav' |
---|
211 | global str = undefined |
---|
212 | status.pitch = 49 |
---|
213 | rate = 175 |
---|
214 | status.voice.name = 'english' |
---|
215 | text = 'Hi there!' |
---|
216 | global stdout = undefined |
---|
217 | global subprocess.PIPE = -1 |
---|
218 | 73 self._playfile(wavpath) |
---|
219 | 74 |
---|
220 | |
---|
221 | /usr/lib/python2.5/subprocess.py in call(*popenargs=(['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'Hi there!'],), **kwargs={'stdout': -1}) |
---|
222 | 441 retcode = call(["ls", "-l"]) |
---|
223 | 442 """ |
---|
224 | --> 443 return Popen(*popenargs, **kwargs).wait() |
---|
225 | global Popen = <class 'subprocess.Popen'> |
---|
226 | popenargs = (['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'Hi there!'],) |
---|
227 | kwargs.wait = undefined |
---|
228 | 444 |
---|
229 | 445 |
---|
230 | |
---|
231 | /usr/lib/python2.5/subprocess.py in __init__(self=<subprocess.Popen object at 0x9caf3cc>, args=['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'Hi there!'], bufsize=0, executable=None, stdin=None, stdout=-1, stderr=None, preexec_fn=None, close_fds=False, shell=False, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0) |
---|
232 | 591 p2cread, p2cwrite, |
---|
233 | 592 c2pread, c2pwrite, |
---|
234 | --> 593 errread, errwrite) |
---|
235 | errread = None |
---|
236 | errwrite = None |
---|
237 | 594 |
---|
238 | 595 # On Windows, you cannot just redirect one or two handles: You |
---|
239 | |
---|
240 | /usr/lib/python2.5/subprocess.py in _execute_child(self=<subprocess.Popen object at 0x9caf3cc>, args=['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'Hi there!'], executable='espeak', preexec_fn=None, close_fds=False, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0, shell=False, p2cread=None, p2cwrite=None, c2pread=15, c2pwrite=16, errread=None, errwrite=None) |
---|
241 | 1003 self._set_cloexec_flag(errpipe_write) |
---|
242 | 1004 |
---|
243 | -> 1005 self.pid = os.fork() |
---|
244 | self.pid = None |
---|
245 | global os.fork = <built-in function fork> |
---|
246 | 1006 self._child_created = True |
---|
247 | 1007 if self.pid == 0: |
---|
248 | |
---|
249 | OSError: [Errno 12] Cannot allocate memory |
---|
250 | 1256943473.089431 ERROR speak: Cannot speak "Hi there!": no element "espeak" |
---|
251 | --------------------------------------------------------------------------- |
---|
252 | OSError Traceback (most recent call last) |
---|
253 | |
---|
254 | /home/olpc/Activities/Speak.activity/activity.py in _entry_activate_cb(self=<SpeakActivity object at 0x9be3a54 (SugarActivity at 0x9cf2820)>, entry=<gtk.Entry object at 0x9cd2324 (GtkEntry at 0x9cf2ae0)>) |
---|
255 | 377 # speak the text |
---|
256 | 378 if self.toolbox.get_current_toolbar() == BOT_TOOLBAR: |
---|
257 | --> 379 self.face.say(self.bot.respond(text)) |
---|
258 | self.face.say = <bound method View.say of <View object at 0x9cd22fc (GtkEventBox at 0x98a22e8)>> |
---|
259 | self.bot.respond = <bound method Toolbar.respond of <Toolbar object at 0x9cad2d4 (GtkToolbar at 0x9d291f8)>> |
---|
260 | text = 'hello' |
---|
261 | 380 else: |
---|
262 | 381 self.face.say(text) |
---|
263 | |
---|
264 | /home/olpc/Activities/Speak.activity/face.py in say(self=<View object at 0x9cd22fc (GtkEventBox at 0x98a22e8)>, something='Hi there!') |
---|
265 | 171 |
---|
266 | 172 def say(self, something): |
---|
267 | --> 173 self._audio.speak(self._peding or self.status, something) |
---|
268 | self._audio.speak = <bound method AudioGrab.speak of <AudioGrab object at 0x9cd22d4 (audio+AudioGrab at 0x9d15c30)>> |
---|
269 | self._peding = None |
---|
270 | self.status = <face.Status instance at 0x9be5b4c> |
---|
271 | something = 'Hi there!' |
---|
272 | 174 |
---|
273 | 175 def say_notification(self, something): |
---|
274 | |
---|
275 | /home/olpc/Activities/Speak.activity/audio.py in speak(self=<AudioGrab object at 0x9cd22d4 (audio+AudioGrab at 0x9d15c30)>, status=<face.Status instance at 0x9be5b4c>, text='Hi there!') |
---|
276 | 70 rate = 80 + (370-80) * int(status.rate) / 100 |
---|
277 | 71 wavpath = "/tmp/speak.wav" |
---|
278 | ---> 72 subprocess.call(["espeak", "-w", wavpath, "-p", str(status.pitch), "-s", str(rate), "-v", status.voice.name, text], stdout=subprocess.PIPE) |
---|
279 | global subprocess.call = <function call at 0xb75e32cc> |
---|
280 | wavpath = '/tmp/speak.wav' |
---|
281 | global str = undefined |
---|
282 | status.pitch = 49 |
---|
283 | rate = 175 |
---|
284 | status.voice.name = 'english' |
---|
285 | text = 'Hi there!' |
---|
286 | global stdout = undefined |
---|
287 | global subprocess.PIPE = -1 |
---|
288 | 73 self._playfile(wavpath) |
---|
289 | 74 |
---|
290 | |
---|
291 | /usr/lib/python2.5/subprocess.py in call(*popenargs=(['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'Hi there!'],), **kwargs={'stdout': -1}) |
---|
292 | 441 retcode = call(["ls", "-l"]) |
---|
293 | 442 """ |
---|
294 | --> 443 return Popen(*popenargs, **kwargs).wait() |
---|
295 | global Popen = <class 'subprocess.Popen'> |
---|
296 | popenargs = (['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'Hi there!'],) |
---|
297 | kwargs.wait = undefined |
---|
298 | 444 |
---|
299 | 445 |
---|
300 | |
---|
301 | /usr/lib/python2.5/subprocess.py in __init__(self=<subprocess.Popen object at 0xfa87d8c>, args=['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'Hi there!'], bufsize=0, executable=None, stdin=None, stdout=-1, stderr=None, preexec_fn=None, close_fds=False, shell=False, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0) |
---|
302 | 591 p2cread, p2cwrite, |
---|
303 | 592 c2pread, c2pwrite, |
---|
304 | --> 593 errread, errwrite) |
---|
305 | errread = None |
---|
306 | errwrite = None |
---|
307 | 594 |
---|
308 | 595 # On Windows, you cannot just redirect one or two handles: You |
---|
309 | |
---|
310 | /usr/lib/python2.5/subprocess.py in _execute_child(self=<subprocess.Popen object at 0xfa87d8c>, args=['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'Hi there!'], executable='espeak', preexec_fn=None, close_fds=False, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0, shell=False, p2cread=None, p2cwrite=None, c2pread=19, c2pwrite=20, errread=None, errwrite=None) |
---|
311 | 1003 self._set_cloexec_flag(errpipe_write) |
---|
312 | 1004 |
---|
313 | -> 1005 self.pid = os.fork() |
---|
314 | self.pid = None |
---|
315 | global os.fork = <built-in function fork> |
---|
316 | 1006 self._child_created = True |
---|
317 | 1007 if self.pid == 0: |
---|
318 | |
---|
319 | OSError: [Errno 12] Cannot allocate memory |
---|
320 | 1256943485.462369 ERROR speak: Cannot speak "hello": no element "espeak" |
---|
321 | --------------------------------------------------------------------------- |
---|
322 | OSError Traceback (most recent call last) |
---|
323 | |
---|
324 | /home/olpc/Activities/Speak.activity/activity.py in _entry_activate_cb(self=<SpeakActivity object at 0x9be3a54 (SugarActivity at 0x9cf2820)>, entry=<gtk.Entry object at 0x9cd2324 (GtkEntry at 0x9cf2ae0)>) |
---|
325 | 379 self.face.say(self.bot.respond(text)) |
---|
326 | 380 else: |
---|
327 | --> 381 self.face.say(text) |
---|
328 | self.face.say = <bound method View.say of <View object at 0x9cd22fc (GtkEventBox at 0x98a22e8)>> |
---|
329 | text = 'hello' |
---|
330 | 382 |
---|
331 | 383 # add this text to our history unless it is the same as the last item |
---|
332 | |
---|
333 | /home/olpc/Activities/Speak.activity/face.py in say(self=<View object at 0x9cd22fc (GtkEventBox at 0x98a22e8)>, something='hello') |
---|
334 | 171 |
---|
335 | 172 def say(self, something): |
---|
336 | --> 173 self._audio.speak(self._peding or self.status, something) |
---|
337 | self._audio.speak = <bound method AudioGrab.speak of <AudioGrab object at 0x9cd22d4 (audio+AudioGrab at 0x9d15c30)>> |
---|
338 | self._peding = None |
---|
339 | self.status = <face.Status instance at 0x9be5b4c> |
---|
340 | something = 'hello' |
---|
341 | 174 |
---|
342 | 175 def say_notification(self, something): |
---|
343 | |
---|
344 | /home/olpc/Activities/Speak.activity/audio.py in speak(self=<AudioGrab object at 0x9cd22d4 (audio+AudioGrab at 0x9d15c30)>, status=<face.Status instance at 0x9be5b4c>, text='hello') |
---|
345 | 70 rate = 80 + (370-80) * int(status.rate) / 100 |
---|
346 | 71 wavpath = "/tmp/speak.wav" |
---|
347 | ---> 72 subprocess.call(["espeak", "-w", wavpath, "-p", str(status.pitch), "-s", str(rate), "-v", status.voice.name, text], stdout=subprocess.PIPE) |
---|
348 | global subprocess.call = <function call at 0xb75e32cc> |
---|
349 | wavpath = '/tmp/speak.wav' |
---|
350 | global str = undefined |
---|
351 | status.pitch = 49 |
---|
352 | rate = 175 |
---|
353 | status.voice.name = 'english' |
---|
354 | text = 'hello' |
---|
355 | global stdout = undefined |
---|
356 | global subprocess.PIPE = -1 |
---|
357 | 73 self._playfile(wavpath) |
---|
358 | 74 |
---|
359 | |
---|
360 | /usr/lib/python2.5/subprocess.py in call(*popenargs=(['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'hello'],), **kwargs={'stdout': -1}) |
---|
361 | 441 retcode = call(["ls", "-l"]) |
---|
362 | 442 """ |
---|
363 | --> 443 return Popen(*popenargs, **kwargs).wait() |
---|
364 | global Popen = <class 'subprocess.Popen'> |
---|
365 | popenargs = (['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'hello'],) |
---|
366 | kwargs.wait = undefined |
---|
367 | 444 |
---|
368 | 445 |
---|
369 | |
---|
370 | /usr/lib/python2.5/subprocess.py in __init__(self=<subprocess.Popen object at 0xfa87e4c>, args=['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'hello'], bufsize=0, executable=None, stdin=None, stdout=-1, stderr=None, preexec_fn=None, close_fds=False, shell=False, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0) |
---|
371 | 591 p2cread, p2cwrite, |
---|
372 | 592 c2pread, c2pwrite, |
---|
373 | --> 593 errread, errwrite) |
---|
374 | errread = None |
---|
375 | errwrite = None |
---|
376 | 594 |
---|
377 | 595 # On Windows, you cannot just redirect one or two handles: You |
---|
378 | |
---|
379 | /usr/lib/python2.5/subprocess.py in _execute_child(self=<subprocess.Popen object at 0xfa87e4c>, args=['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'hello'], executable='espeak', preexec_fn=None, close_fds=False, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0, shell=False, p2cread=None, p2cwrite=None, c2pread=23, c2pwrite=24, errread=None, errwrite=None) |
---|
380 | 1003 self._set_cloexec_flag(errpipe_write) |
---|
381 | 1004 |
---|
382 | -> 1005 self.pid = os.fork() |
---|
383 | self.pid = None |
---|
384 | global os.fork = <built-in function fork> |
---|
385 | 1006 self._child_created = True |
---|
386 | 1007 if self.pid == 0: |
---|
387 | |
---|
388 | OSError: [Errno 12] Cannot allocate memory |
---|
389 | 1256943491.780983 ERROR speak: Cannot speak "hello": no element "espeak" |
---|
390 | --------------------------------------------------------------------------- |
---|
391 | OSError Traceback (most recent call last) |
---|
392 | |
---|
393 | /home/olpc/Activities/Speak.activity/activity.py in _entry_activate_cb(self=<SpeakActivity object at 0x9be3a54 (SugarActivity at 0x9cf2820)>, entry=<gtk.Entry object at 0x9cd2324 (GtkEntry at 0x9cf2ae0)>) |
---|
394 | 379 self.face.say(self.bot.respond(text)) |
---|
395 | 380 else: |
---|
396 | --> 381 self.face.say(text) |
---|
397 | self.face.say = <bound method View.say of <View object at 0x9cd22fc (GtkEventBox at 0x98a22e8)>> |
---|
398 | text = 'hello' |
---|
399 | 382 |
---|
400 | 383 # add this text to our history unless it is the same as the last item |
---|
401 | |
---|
402 | /home/olpc/Activities/Speak.activity/face.py in say(self=<View object at 0x9cd22fc (GtkEventBox at 0x98a22e8)>, something='hello') |
---|
403 | 171 |
---|
404 | 172 def say(self, something): |
---|
405 | --> 173 self._audio.speak(self._peding or self.status, something) |
---|
406 | self._audio.speak = <bound method AudioGrab.speak of <AudioGrab object at 0x9cd22d4 (audio+AudioGrab at 0x9d15c30)>> |
---|
407 | self._peding = None |
---|
408 | self.status = <face.Status instance at 0x9be5b4c> |
---|
409 | something = 'hello' |
---|
410 | 174 |
---|
411 | 175 def say_notification(self, something): |
---|
412 | |
---|
413 | /home/olpc/Activities/Speak.activity/audio.py in speak(self=<AudioGrab object at 0x9cd22d4 (audio+AudioGrab at 0x9d15c30)>, status=<face.Status instance at 0x9be5b4c>, text='hello') |
---|
414 | 70 rate = 80 + (370-80) * int(status.rate) / 100 |
---|
415 | 71 wavpath = "/tmp/speak.wav" |
---|
416 | ---> 72 subprocess.call(["espeak", "-w", wavpath, "-p", str(status.pitch), "-s", str(rate), "-v", status.voice.name, text], stdout=subprocess.PIPE) |
---|
417 | global subprocess.call = <function call at 0xb75e32cc> |
---|
418 | wavpath = '/tmp/speak.wav' |
---|
419 | global str = undefined |
---|
420 | status.pitch = 49 |
---|
421 | rate = 175 |
---|
422 | status.voice.name = 'english' |
---|
423 | text = 'hello' |
---|
424 | global stdout = undefined |
---|
425 | global subprocess.PIPE = -1 |
---|
426 | 73 self._playfile(wavpath) |
---|
427 | 74 |
---|
428 | |
---|
429 | /usr/lib/python2.5/subprocess.py in call(*popenargs=(['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'hello'],), **kwargs={'stdout': -1}) |
---|
430 | 441 retcode = call(["ls", "-l"]) |
---|
431 | 442 """ |
---|
432 | --> 443 return Popen(*popenargs, **kwargs).wait() |
---|
433 | global Popen = <class 'subprocess.Popen'> |
---|
434 | popenargs = (['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'hello'],) |
---|
435 | kwargs.wait = undefined |
---|
436 | 444 |
---|
437 | 445 |
---|
438 | |
---|
439 | /usr/lib/python2.5/subprocess.py in __init__(self=<subprocess.Popen object at 0xfa87e0c>, args=['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'hello'], bufsize=0, executable=None, stdin=None, stdout=-1, stderr=None, preexec_fn=None, close_fds=False, shell=False, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0) |
---|
440 | 591 p2cread, p2cwrite, |
---|
441 | 592 c2pread, c2pwrite, |
---|
442 | --> 593 errread, errwrite) |
---|
443 | errread = None |
---|
444 | errwrite = None |
---|
445 | 594 |
---|
446 | 595 # On Windows, you cannot just redirect one or two handles: You |
---|
447 | |
---|
448 | /usr/lib/python2.5/subprocess.py in _execute_child(self=<subprocess.Popen object at 0xfa87e0c>, args=['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'hello'], executable='espeak', preexec_fn=None, close_fds=False, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0, shell=False, p2cread=None, p2cwrite=None, c2pread=27, c2pwrite=28, errread=None, errwrite=None) |
---|
449 | 1003 self._set_cloexec_flag(errpipe_write) |
---|
450 | 1004 |
---|
451 | -> 1005 self.pid = os.fork() |
---|
452 | self.pid = None |
---|
453 | global os.fork = <built-in function fork> |
---|
454 | 1006 self._child_created = True |
---|
455 | 1007 if self.pid == 0: |
---|
456 | |
---|
457 | OSError: [Errno 12] Cannot allocate memory |
---|
458 | 1256943492.253472 ERROR speak: Cannot speak "hello": no element "espeak" |
---|
459 | --------------------------------------------------------------------------- |
---|
460 | OSError Traceback (most recent call last) |
---|
461 | |
---|
462 | /home/olpc/Activities/Speak.activity/activity.py in _entry_activate_cb(self=<SpeakActivity object at 0x9be3a54 (SugarActivity at 0x9cf2820)>, entry=<gtk.Entry object at 0x9cd2324 (GtkEntry at 0x9cf2ae0)>) |
---|
463 | 379 self.face.say(self.bot.respond(text)) |
---|
464 | 380 else: |
---|
465 | --> 381 self.face.say(text) |
---|
466 | self.face.say = <bound method View.say of <View object at 0x9cd22fc (GtkEventBox at 0x98a22e8)>> |
---|
467 | text = 'hello' |
---|
468 | 382 |
---|
469 | 383 # add this text to our history unless it is the same as the last item |
---|
470 | |
---|
471 | /home/olpc/Activities/Speak.activity/face.py in say(self=<View object at 0x9cd22fc (GtkEventBox at 0x98a22e8)>, something='hello') |
---|
472 | 171 |
---|
473 | 172 def say(self, something): |
---|
474 | --> 173 self._audio.speak(self._peding or self.status, something) |
---|
475 | self._audio.speak = <bound method AudioGrab.speak of <AudioGrab object at 0x9cd22d4 (audio+AudioGrab at 0x9d15c30)>> |
---|
476 | self._peding = None |
---|
477 | self.status = <face.Status instance at 0x9be5b4c> |
---|
478 | something = 'hello' |
---|
479 | 174 |
---|
480 | 175 def say_notification(self, something): |
---|
481 | |
---|
482 | /home/olpc/Activities/Speak.activity/audio.py in speak(self=<AudioGrab object at 0x9cd22d4 (audio+AudioGrab at 0x9d15c30)>, status=<face.Status instance at 0x9be5b4c>, text='hello') |
---|
483 | 70 rate = 80 + (370-80) * int(status.rate) / 100 |
---|
484 | 71 wavpath = "/tmp/speak.wav" |
---|
485 | ---> 72 subprocess.call(["espeak", "-w", wavpath, "-p", str(status.pitch), "-s", str(rate), "-v", status.voice.name, text], stdout=subprocess.PIPE) |
---|
486 | global subprocess.call = <function call at 0xb75e32cc> |
---|
487 | wavpath = '/tmp/speak.wav' |
---|
488 | global str = undefined |
---|
489 | status.pitch = 49 |
---|
490 | rate = 175 |
---|
491 | status.voice.name = 'english' |
---|
492 | text = 'hello' |
---|
493 | global stdout = undefined |
---|
494 | global subprocess.PIPE = -1 |
---|
495 | 73 self._playfile(wavpath) |
---|
496 | 74 |
---|
497 | |
---|
498 | /usr/lib/python2.5/subprocess.py in call(*popenargs=(['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'hello'],), **kwargs={'stdout': -1}) |
---|
499 | 441 retcode = call(["ls", "-l"]) |
---|
500 | 442 """ |
---|
501 | --> 443 return Popen(*popenargs, **kwargs).wait() |
---|
502 | global Popen = <class 'subprocess.Popen'> |
---|
503 | popenargs = (['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'hello'],) |
---|
504 | kwargs.wait = undefined |
---|
505 | 444 |
---|
506 | 445 |
---|
507 | |
---|
508 | /usr/lib/python2.5/subprocess.py in __init__(self=<subprocess.Popen object at 0xfa87dec>, args=['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'hello'], bufsize=0, executable=None, stdin=None, stdout=-1, stderr=None, preexec_fn=None, close_fds=False, shell=False, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0) |
---|
509 | 591 p2cread, p2cwrite, |
---|
510 | 592 c2pread, c2pwrite, |
---|
511 | --> 593 errread, errwrite) |
---|
512 | errread = None |
---|
513 | errwrite = None |
---|
514 | 594 |
---|
515 | 595 # On Windows, you cannot just redirect one or two handles: You |
---|
516 | |
---|
517 | /usr/lib/python2.5/subprocess.py in _execute_child(self=<subprocess.Popen object at 0xfa87dec>, args=['espeak', '-w', '/tmp/speak.wav', '-p', '49', '-s', '175', '-v', 'english', 'hello'], executable='espeak', preexec_fn=None, close_fds=False, cwd=None, env=None, universal_newlines=False, startupinfo=None, creationflags=0, shell=False, p2cread=None, p2cwrite=None, c2pread=31, c2pwrite=32, errread=None, errwrite=None) |
---|
518 | 1003 self._set_cloexec_flag(errpipe_write) |
---|
519 | 1004 |
---|
520 | -> 1005 self.pid = os.fork() |
---|
521 | self.pid = None |
---|
522 | global os.fork = <built-in function fork> |
---|
523 | 1006 self._child_created = True |
---|
524 | 1007 if self.pid == 0: |
---|
525 | |
---|
526 | OSError: [Errno 12] Cannot allocate memory |
---|
527 | 1256943502.765407 WARNING root: No gtk.AccelGroup in the top level window. |
---|
528 | 1256943502.791370 WARNING root: No gtk.AccelGroup in the top level window. |
---|