Installation on Linux should include canberra-gtk-module dependency

Bug #1889677 reported by grofaty
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Pinta
Medium
Unassigned

Bug Description

Tested in 1.7+r1120-202007292146~ubuntu18.04:

1. On Ubuntu 18.04 on terminal execute:
pinta
and warning appears:
Gtk-Message: 20:28:20.353: Failed to load module "canberra-gtk-module"

2. I have searched the web and suggestion is to install package:
sudo apt install libcanberra-gtk-module

The output is:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libcanberra-gtk0
The following NEW packages will be installed:
  libcanberra-gtk-module libcanberra-gtk0

Note: I have removed the rest of output because it is irrelevant.

3. From termina executing:
pinta

And no error is displayed.

I don't know what this package really does, I don't see any problems in Pinta with or without it. Maybe some currently unknown problems appear without this package.

My suggestion:
1. Add this package as dependency when Pinta is installed.
2. Check if this package is really needed for Pinta and if not somehow change source code this error is not going to be produced.

grofaty (grofaty)
description: updated
Revision history for this message
Cameron White (cameronwhite91) wrote :

I think this is probably harmless, and is likely being pulled in through GTK# or something like that. Pinta doesn't explicitly depend on it.
It would be good to fix though, to avoid the warning message.

Changed in pinta:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
grofaty (grofaty) wrote :

If it is probably harmless, then I agree we can postpone it after 1.7, because it is not show stopper.

Revision history for this message
Ewa Śliwińska (kreska07) wrote :

I'm not sure if that's harmless, Pinta is crashing for me with the same error.

Revision history for this message
Cameron White (cameronwhite91) wrote :

The message is unrelated to the crash you're hitting, which looks like bug 1786822

Those crashes can be fixed by either upgrading the mono version on your system (https://www.mono-project.com/download/stable/#download-lin) or using the Snap or Flatpak package of Pinta.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments