workrave does not appear in dash due to 2 multiline Comments in workrave.desktop (Comment[pl] & Comment[ru]

Bug #1154647 reported by Jack Leigh
72
This bug affects 45 people
Affects Status Importance Assigned to Milestone
workrave (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Install workrave
Search for workrave in dash

Workrave is not found (only an Amazon result)

Icon should appear for program

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: workrave 1.10-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-12.21-generic 3.8.2
Uname: Linux 3.8.0-12-generic x86_64
ApportVersion: 2.9.1-0ubuntu1
Architecture: amd64
Date: Wed Mar 13 15:35:11 2013
InstallationDate: Installed on 2013-03-02 (11 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130302)
MarkForUpload: True
SourcePackage: workrave
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jack Leigh (leighman) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

This is likely an issue with the application's .desktop file causing it not to appear.

Revision history for this message
Jack Leigh (leighman) wrote :

Seems to be the multiline Comment translations

Revision history for this message
razor7 (ghiamar) wrote :

Edited .desktop contents in /usr/share/applications/workrave.desktop with this and worked.

[Desktop Entry]
Version=1.0
Terminal=false
Icon=workrave
Type=Application
Categories=Utility;GTK;Accessibility
Exec=workrave
Name=Workrave
GenericName=Workrave
Comment=Assists in the prevention and recovery of Repetitive Strain Injury (RSI)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity (Ubuntu):
status: New → Confirmed
Changed in workrave (Ubuntu):
status: New → Confirmed
Doug McMahon (mc3man)
summary: - workrave does not appear in dash
+ workrave does not appear in dash due to 2 multiline Comments in
+ workrave.desktop (Comment[pl] & Comment[ru]
Revision history for this message
Christian Kirbach (christian-kirbach-e) wrote :

When upgrading deb packages I get:

WARNING:softwarecenter.db.update:The file: '/usr/share/app-install/desktop/workrave:workrave.desktop' could not be read correctly. The application associated with this file will not be included in the software catalog. Please consider raising a bug report for this issue with the maintainer of that application

which is most likely due to this issue.

nazgul@rivendell:~$ desktop-file-validate /usr/share/app-install/desktop/workrave:workrave.desktop
/usr/share/app-install/desktop/workrave:workrave.desktop: error: file contains line "- RSI (Repetitive Strain Injury) oraz wspomaga rekonwalescencj?", which is not a comment, a group or an entry
/usr/share/app-install/desktop/workrave:workrave.desktop: error: line " ???????? ? ?????? ?????? ????????? ??????????." starts with a space. Comment, group and key-value lines should not start with a space. The validation will continue, with the leading spaces ignored.
/usr/share/app-install/desktop/workrave:workrave.desktop: error: file contains line "???????? ? ?????? ?????? ????????? ??????????.", which is not a comment, a group or an entry
/usr/share/app-install/desktop/workrave:workrave.desktop: error: file contains multiple keys named "Categories" in group "Desktop Entry"
/usr/share/app-install/desktop/workrave:workrave.desktop: error: value "Application;Other" for string list key "Categories" in group "Desktop Entry" does not have a semicolon (';') as trailing character
/usr/share/app-install/desktop/workrave:workrave.desktop: error: value "Utility;GTK;Accessibility" for string list key "Categories" in group "Desktop Entry" does not have a semicolon (';') as trailing character

Revision history for this message
Christian Kirbach (christian-kirbach-e) wrote :

Using common sense, the following should do:

Revision history for this message
Christian Kirbach (christian-kirbach-e) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "patch for desktop file" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Jack Leigh (leighman) wrote :

Do the lines need to be removed from the .po files in the source or is this done through launchpad somehow?

Revision history for this message
Viktor (viktor196262) wrote :

[Desktop Entry]
X-AppInstall-Package=workrave
X-AppInstall-Popcon=500
X-AppInstall-Section=universe

Type=Application
Categories=Utility;GTK;Accessibility;
Exec=workrave
Icon=workrave
Comment=Assists in the prevention and recovery of Repetitive Strain Injury (RSI)
Comment[pl]=RSI (Repetitive Strain Injury) oraz wspomaga rekonwalescencjД™
Comment[ru]=запястья и снятии общего мышечного напряжения.
Name=Workrave

X-Ubuntu-Gettext-Domain=app-install-data

#Вот это скопировать и заменить в убунту 13.04

Revision history for this message
Mumin Bayoumi (muminbayoumi) wrote :

So any solution for this bug? coz its kinda annoyin see. Sorry for the useless comment.

Revision history for this message
Jordi Mallach (jordi) wrote :

It's fixed in Debian...

Revision history for this message
Mumin Bayoumi (muminbayoumi) wrote :

How bout Ubuntu. 13.04

Revision history for this message
Matt Fischer (mfisch) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in the latest development version of Ubuntu - Saucy Salamander.

This is a significant bug in Ubuntu. If you need a fix for the bug in previous versions of Ubuntu, please do steps 1 and 2 of the SRU Procedure [1] to bring the need to a developer's attention.

[1]: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

no longer affects: unity (Ubuntu)
Changed in workrave (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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