Bug 1167818

Summary: Broken translation break activity instalation
Product: [Fedora] Fedora Reporter: Gonzalo Odiard <godiard>
Component: sugar-toolkit-gtk3Assignee: Simon Schampijer <simon>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: dsd, pbrobinson, simon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-25 13:31:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gonzalo Odiard 2014-11-25 13:13:25 UTC
Description of problem:
Activities are not visible in new SoaS when user set the language to French.

The file shell.log show a error:

1416841372.784666 ERROR root: Error while processing installed activity bundle /home/liveuser/Activities/Read.activity:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/jarabe/model/bundleregistry.py", line 269, in _scan_directory
    self.add_bundle(folder, emit_signals=False)
  File "/usr/lib/python2.7/site-packages/jarabe/model/bundleregistry.py", line 285, in add_bundle
    bundle = bundle_from_dir(bundle_path)
  File "/usr/lib/python2.7/site-packages/sugar3/bundle/helpers.py", line 47, in bundle_from_dir
    return ActivityBundle(path)
  File "/usr/lib/python2.7/site-packages/sugar3/bundle/activitybundle.py", line 126, in __init__
    self._parse_linfo(linfo_file)
  File "/usr/lib/python2.7/site-packages/sugar3/bundle/activitybundle.py", line 232, in _parse_linfo
    cp.readfp(linfo_file)
  File "/usr/lib/python2.7/ConfigParser.py", line 324, in readfp
    self._read(fp, filename)
  File "/usr/lib/python2.7/ConfigParser.py", line 546, in _read
    raise e
ParsingError: File contains parsing errors: /home/liveuser/Activities/Read.activity/locale/fr/activity.linfo
	[line  4]: "basculer votre ordinateur de c\xc3\xb4t\xc3\xa9 pour avoir l'impression de tenir un livre !\n"

Version-Release number of selected component (if applicable):

0.102

How reproducible:

Always

Steps to Reproduce:
1. Start SoaS
2. Set language to French

Actual results:

Some activities (Memorize, Jukebox, Read) are not availabl anymore.
If you switch again to English langiage, the activities return.

Expected results:

The activities should be visible in the activities list

Additional info:

A patch is available https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/170.patch

Downstream bug: http://bugs.sugarlabs.org/ticket/4798

Comment 1 Peter Robinson 2014-11-25 13:31:51 UTC
Dealt with in RHBZ 1167791 so will dupe it to that to track in one place

*** This bug has been marked as a duplicate of bug 1167791 ***