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

James Cameron quozl at laptop.org
Fri Jul 19 01:51:13 EDT 2019


Thanks for testing, Aldo!  You are the first to test Speak and
Memorize in Spanish since release in August and October last year.

The problem is a combination of events;

- a new version of espeak-ng, with change of voice names,

- new packages of espeak-ng on Ubuntu 18.04,

- my changes to fix with system language set to English,

I tested with Ubuntu 18.04 set to Spanish, and got the same
tracebacks.  It took me several hours because I had to translate.

I've created two issues;

https://github.com/sugarlabs/speak/issues/23
https://github.com/sugarlabs/memorize-activity/issues/26

I don't know how to fix this.  Sugar Labs has had no Spanish-speaking
developers testing or working on activities in the past year or two.

Do you have any developers you can contact?  Skills needed are Python
and Linux.  We'll be very happy to help as much as we can!

On Thu, Jul 18, 2019 at 09:50:49AM -0400, Aldo Agüero wrote:
> 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')
> 
> --
> [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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20190719/f1de0267/attachment.sig>


More information about the Sugar-devel mailing list