[Sugar-devel] Problems with Speak (57) and Memorize (55) Activities.

James Cameron quozl at laptop.org
Fri Oct 11 21:58:58 EDT 2019


This was fixed in Memorize-56.1 for Python 2, and Memorize-57 for
Python 3.

Speak has not yet been fixed.

On Thu, Jul 18, 2019 at 09:50:49AM -0400, Aldo Agüero wrote:
> I dowloaded and installed this sugar ([1]http://wiki.laptop.org/go/18.04.0) wen
> you set the system Lenguage to English all the activities works great but wen
> you use Spanish the Speak and Memorize activities does not startup, can someone
> help me with this issues?
> 
> I'm  writing you from Paraguay, thats why i need to use in Spanish
> 
> Greetings.
> 
> Traceback (most recent call last):
>   File "/usr/bin/sugar-activity", line 5, in <module>
>     activityinstance.main()
>   File "/usr/lib/python2.7/dist-packages/sugar3/activity/activityinstance.py",
> line 219, in main
>     instance = create_activity_instance(activity_constructor, activity_handle)
>   File "/usr/lib/python2.7/dist-packages/sugar3/activity/activityinstance.py",
> line 50, in create_activity_instance
>     activity = constructor(handle)
>   File "/usr/share/sugar/activities/Speak.activity/activity.py", line 204, in
> __init__
>     self.face = face.View(fill_color=lighter)
>   File "/usr/share/sugar/activities/Speak.activity/face.py", line 120, in
> __init__
>     self.status = Status()
>   File "/usr/share/sugar/activities/Speak.activity/face.py", line 57, in
> __init__
>     self.voice = voice.defaultVoice()
>   File "/usr/share/sugar/activities/Speak.activity/voice.py", line 138, in
> defaultVoice
>     voices = allVoices()
>   File "/usr/share/sugar/activities/Speak.activity/voice.py", line 117, in
> allVoices
>     _allVoices['English'] = _allVoices['English (America)']
> KeyError: 'English (America)'
> Exited with status 1, pid 4699 data (<open file '<fdopen>', mode 'w' at
> 0x7fd2f0045930>, '15be04bc31ca3d613a11c6ef899e272dfa184120')
> 
> /usr/share/sugar/activities/Memorize.activity/activity.py:29: PyGIWarning: Gdk
> was imported without specifying a version first. Use gi.require_version('Gdk',
> '3.0') before import to ensure that the right version gets loaded.
>   from gi.repository import Gdk
> Traceback (most recent call last):
>   File "/usr/bin/sugar-activity", line 5, in <module>
>     activityinstance.main()
>   File "/usr/lib/python2.7/dist-packages/sugar3/activity/activityinstance.py",
> line 219, in main
>     instance = create_activity_instance(activity_constructor, activity_handle)
>   File "/usr/lib/python2.7/dist-packages/sugar3/activity/activityinstance.py",
> line 50, in create_activity_instance
>     activity = constructor(handle)
>   File "/usr/share/sugar/activities/Memorize.activity/activity.py", line 113,
> in __init__
>     self.createcardpanel = createcardpanel.CreateCardPanel(self.game)
>   File "/usr/share/sugar/activities/Memorize.activity/createcardpanel.py", line
> 116, in __init__
>     self.cardeditor1 = CardEditor(self._game, 1)
>   File "/usr/share/sugar/activities/Memorize.activity/createcardpanel.py", line
> 368, in __init__
>     self.usespeak.set_palette(SpeakPalette(self))
>   File "/usr/share/sugar/activities/Memorize.activity/createcardpanel.py", line
> 513, in __init__
>     self.face = speak.face.View()
>   File "/usr/share/sugar/activities/Memorize.activity/speak/face.py", line 91,
> in __init__
>     self.status = Status()
>   File "/usr/share/sugar/activities/Memorize.activity/speak/face.py", line 44,
> in __init__
>     self.voice = voice.defaultVoice()
>   File "/usr/share/sugar/activities/Memorize.activity/speak/voice.py", line
> 160, in defaultVoice
>     voices = allVoices()
>   File "/usr/share/sugar/activities/Memorize.activity/speak/voice.py", line
> 126, in allVoices
>     _allVoices['English'] = _allVoices['English (America)']
> KeyError: 'English (America)'
> Exited with status 1, pid 4708 data (<open file '<fdopen>', mode 'w' at
> 0x7fd2f0045930>, 'c5340a52bb2ad60b930fea7fc7cc5796762f9f7b')
> 
> --
> [uc]
> 
> References:
> 
> [1] http://wiki.laptop.org/go/18.04.0

> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel


-- 
James Cameron
http://quozl.netrek.org/


More information about the Sugar-devel mailing list