Problem reading or parsing sonic-visualiser .desktop files

Bug #1255469 reported by Antonio Carlos Santos Galvão
64
This bug affects 10 people
Affects Status Importance Assigned to Milestone
sonic-visualiser (Debian)
Fix Released
Unknown
sonic-visualiser (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

When upgrading (apt-get upgrade) ubuntu 14:04, I received the following message in the terminal:

WARNING: softwarecenter.db.update: The file: '/ usr / share / app-install / desktop / sonic-visualiser: x-sonicvisualiser-layer.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 que application

WARNING: softwarecenter.db.update: The file: '/ usr / share / app-install / desktop / sonic-visualiser: x-sonicvisualiser.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 que application

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-release-upgrader-core 1:0.209
ProcVersionSignature: Ubuntu 3.12.0-3.9-generic 3.12.1
Uname: Linux 3.12.0-3-generic x86_64
ApportVersion: 2.12.7-0ubuntu1
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: Unity
Date: Wed Nov 27 07:02:38 2013
InstallationDate: Installed on 2013-11-20 (6 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20131120)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=pt_BR:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
Symptom: release-upgrade
UpgradeStatus: No upgrade log present (probably fresh install)
---
ApportVersion: 2.12.7-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
DistroRelease: Ubuntu 14.04
InstallationDate: Installed on 2013-11-20 (6 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20131120)
MarkForUpload: True
Package: sonic-visualiser 2.2~repack1-1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 3.12.0-4.10-generic 3.12.1
Tags: trusty
Uname: Linux 3.12.0-4-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
---
ApportVersion: 2.12.7-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
DistroRelease: Ubuntu 14.04
InstallationDate: Installed on 2013-11-20 (6 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20131120)
MarkForUpload: True
Package: sonic-visualiser 2.2~repack1-1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 3.12.0-4.10-generic 3.12.1
Tags: trusty
Uname: Linux 3.12.0-4-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Related branches

Revision history for this message
Antonio Carlos Santos Galvão (ancasaga) wrote :
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) wrote :

Hello and thanks for the report.
This bug did not have the correct package associated. I have changed this bug as a bug in sonic-visualiser.

Best Regards
   NikTh

affects: ubuntu-release-upgrader (Ubuntu) → sonic-visualiser (Ubuntu)
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) wrote :

It would be helpful to provide more information about this problem.
Please execute the following command, as it will automatically gather debugging information, in a terminal:

apport-collect 1255469

Also execute the following command and post back here in a comment or as a separate attachment the full results.

cat /usr/share/applications/x-sonicvisualiser.desktop

Best Regards
   NikTh

Changed in sonic-visualiser (Ubuntu):
status: New → Incomplete
Revision history for this message
Antonio Carlos Santos Galvão (ancasaga) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Antonio Carlos Santos Galvão (ancasaga) wrote : ProcEnviron.txt

apport information

Revision history for this message
Antonio Carlos Santos Galvão (ancasaga) wrote : Re: [Bug 1255469] Re: Problema no apt-get upgrade

galvao@acer14:~$ cat /usr/share/applications/x-sonicvisualiser.desktop
[Desktop Entry]
Command=Sonic Visualiser session file
Hidden=false
MimeType=application/x-sonicvisualiser
Patterns=*.sv;*.SV
Icon=sv-icon
Type=MimeType
galvao@acer14:~$

---------------------------------------------------------------------------------------------------------------------------------------------
Em 27-11-2013 09:06, Nik.Th. escreveu:
> cat /usr/share/applications/x-sonicvisualiser.desktop

description: updated
Revision history for this message
Antonio Carlos Santos Galvão (ancasaga) wrote : Dependencies.txt

apport information

Revision history for this message
Antonio Carlos Santos Galvão (ancasaga) wrote : ProcEnviron.txt

apport information

Changed in sonic-visualiser (Ubuntu):
status: Incomplete → New
Revision history for this message
Andreas Moog (ampelbein) wrote : Re: Problema no apt-get upgrade

Thanks for the report, forwarded the issue to Debian (where this package comes from)

Changed in sonic-visualiser (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Changed in sonic-visualiser (Debian):
status: Unknown → New
Revision history for this message
Diego Schulz (dschulzg) wrote :

Edited the title. Hope that doesn't cause more confusion than the previous title.

summary: - Problema no apt-get upgrade
+ Problem reading or parsing sonic-visualiser .desktop files
Revision history for this message
Diego Schulz (dschulzg) wrote :

I came across the same issue recently while updating packages using aptitude. Here's a snip:

...
Setting up shotwell-common (0.18.0-0ubuntu2) ...
Setting up shotwell (0.18.0-0ubuntu2) ...
Setting up software-center (13.10-0ubuntu3) ...
Updating software catalog...this may take a moment.
INFO:softwarecenter.db.pkginfo_impl.aptcache:aptcache.open()
WARNING:softwarecenter.db.update:The file: '/usr/share/app-install/desktop/sonic-visualiser:x-sonicvisualiser-layer.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
WARNING:softwarecenter.db.update:The file: '/usr/share/app-install/desktop/sonic-visualiser:x-sonicvisualiser.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
Software catalog update was successful.
Processing triggers for libc-bin (2.19-0ubuntu2) ...
Processing triggers for ureadahead (0.100.0-16) ...
Press Return to continue.

Revision history for this message
Diego Schulz (dschulzg) wrote :

Here are the relevant .desktop files, in a compressed tarball made with

tar cvzf sonic-visualiser-desktop-files.tgz /usr/share/app-install/desktop/sonic-visualise*

Revision history for this message
Sebastian Thürrschmidt (thuerrschmidt) wrote :

I've been getting these errors too, and not just in trusty. The two files concerned are part of the app-install-data package, and that's where this bug belongs in my view. It seems they are generated for the Ubuntu Software Center from the application's .desktop files, which have been faulty for a while and remain unfixed (see associated upstream bug). These errors should become apparent during the conversion process, i.e. when building the app-install-data package, and not on the user's system where they cause nothing but confusion.

So my suggestion is to validate all generated .desktop files early on when building the app-install-data package and to throw out those that don't pass muster. This way, the original authors could be notfied about such problems but users wouldn't be need to be bothered.

Revision history for this message
John Doe (johnd03) wrote :

Hi,

came accross this Issue,too.

apport-collect 1255469
You need to run 'sudo apt-get install python-apport' for apport-collect to work.

cat /usr/share/applications/x-sonicvisualiser.desktop
cat: /usr/share/applications/x-sonicvisualiser.desktop: Datei oder Verzeichnis nicht gefunden

locate x-sonicvisualiser.desktop
/usr/share/app-install/desktop/sonic-visualiser:x-sonicvisualiser.desktop

Just like a Clean System and don't like it to install unneeded things(python-apport). If I can contribute in any other way to fix this issue, please be so kind and let me know.

kind regards

John

Changed in sonic-visualiser (Debian):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sonic-visualiser - 2.3~repack1-3

---------------
sonic-visualiser (2.3~repack1-3) unstable; urgency=medium

  * Team upload.
  * Do not install x-sonicvisualiser*.desktop files.
    (Closes: #725049, LP: #1161283, #1255469)

 -- Benjamin Drung <email address hidden> Tue, 01 Apr 2014 11:52:13 +0200

Changed in sonic-visualiser (Ubuntu):
status: Triaged → 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.