Translated .accomplishment files does not have needs-information entry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Accomplishments Daemon |
Fix Released
|
Critical
|
Rafał Cieślak | ||
Ubuntu Community Accomplishments |
Fix Released
|
Undecided
|
Rafał Cieślak |
Bug Description
Originally reported by Nicola Jelmorini in a comment to another bug (#988415).
The .accomplishment files that are translated does not have needs-information entry, which leads to severe problems with the daemon.
The needs-information field is, however, present in the original .accomplishment files.
=== Original description ===
The problem is that when one installs the daemon (+ viewer + ubuntu-
Of course this results in no trophies being received at all.
At least in my case this is reproducible in 100%.
Related branches
- Jono Bacon: Pending requested
-
Diff: 12 lines (+3/-0)1 file modifiedgeneratelocalizedaccomplishments.py (+3/-0)
description: | updated |
Changed in ubuntu-community-accomplishments: | |
status: | New → Confirmed |
assignee: | nobody → Rafal Cieślak (rafalcieslak256) |
Changed in ubuntu-accomplishments-daemon: | |
assignee: | nobody → Rafal Cieślak (rafalcieslak256) |
Changed in ubuntu-accomplishments-daemon: | |
status: | Confirmed → In Progress |
Changed in ubuntu-community-accomplishments: | |
status: | Confirmed → In Progress |
Changed in ubuntu-accomplishments-daemon: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-community-accomplishments: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-accomplishments-daemon: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-community-accomplishments: | |
status: | Fix Committed → Fix Released |
Okay. Having tracked the problem, I can see that the problem is not with the daemon, but ubuntu- community- accomplishments package. The bug is also present in trunk.
Thing is, that translated .accomplishments files DOES NOT have a 'needs-information' entry. I expect that scripts that regenerate translations simply forget to add that field to translated accomplishments.
A temporary workaround is to run
export LANG=
before running the deamon, which will force it to use default .accomplishment files - which are not affected by this bug.