Translated .accomplishment files does not have needs-information entry

Bug #988518 reported by Rafał Cieślak
12
This bug affects 2 people
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-community-accomplishments) from daily PPA on a clean system (so using the newest config file that points now to /usr/share/accomplishments), it is somehow unable to use user's extra-information - it is neither passed to scripts (they all fail with exit code 4), nor is returned by getAllExtraInformation() (and thus user is unable to edit his credentials).
Of course this results in no trophies being received at all.
At least in my case this is reproducible in 100%.

description: updated
Revision history for this message
Rafał Cieślak (rafalcieslak256) wrote :

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.

summary: - Daemon configured as in PPA is unable to access extra-information
+ Translated .accomplishment files does not have needs-information entry
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
Revision history for this message
Nicola Jelmorini (jelmorini) wrote :

Hello Rafal,

I can confirm you that now I can see all my Trophies. Now the accomplishments-viewer works correctly, and I don't need anymore to start the daemon separately.
Thank you for your good job :-)

Jono Bacon (jonobacon)
Changed in ubuntu-accomplishments-daemon:
status: Fix Committed → Fix Released
Changed in ubuntu-community-accomplishments:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.