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

Aldo Agüero aaguero at paraguayeduca.org
Thu Jul 18 09:50:49 EDT 2019


 I dowloaded and installed this sugar (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')



--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20190718/af11506b/attachment.html>


More information about the Sugar-devel mailing list