Bug 1167818 - Broken translation break activity instalation
Summary: Broken translation break activity instalation
Keywords:
Status: CLOSED DUPLICATE of bug 1167791
Alias: None
Product: Fedora
Classification: Fedora
Component: sugar-toolkit-gtk3
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Simon Schampijer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-25 13:13 UTC by Gonzalo Odiard
Modified: 2014-11-25 13:31 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-11-25 13:31:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.