apport-collect & ubuntu-bug failing to switch to firefox

Bug #1969291 reported by Chris Guiver
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xdg-utils (Ubuntu)
New
Undecided
Unassigned

Bug Description

In attempting to file a bug report on Lubuntu jammy ISO
(QA-test installed yesterday using ISO 2020-04-15)

--
guiverc@dc7700-2re:~$ apport-collect 1969290
The authorization page:
 (https://launchpad.net/+authorize-token?oauth_token=6K7rwSbKHlbLWmkK65sj&allow_permission=DESKTOP_INTEGRATION)
should be opening in your browser. Use your browser to authorize
this program to access Launchpad on your behalf.
Waiting to hear from Launchpad about your decision...
/usr/bin/xdg-open: 882: firefox: not found
/usr/bin/xdg-open: 882: firefox: not found
xdg-open: no method available for opening 'https://launchpad.net/+authorize-token?oauth_token=6K7rwSbKHlbLWmkK65sj&allow_permission=DESKTOP_INTEGRATION'
---

On attempting to file using `ubuntu-bug apport`

---
guiverc@dc7700-2re:~$ ubuntu-bug apport

*** Collecting problem information

The collected information can be sent to the developers to improve the
application. This might take a few minutes.
.........................

*** Send problem report to the developers?

After the problem report has been sent, please fill out the form in the
automatically opened web browser.

What would you like to do? Your options are:
  S: Send report (5.0 KB)
  V: View report
  K: Keep report file for sending later or copying to somewhere else
  I: Cancel and ignore future crashes of this program version
  C: Cancel
Please choose (S/V/K/I/C): s

*** Uploading problem information

The collected information is being sent to the bug tracking system.
This might take a few minutes.
96%

*** To continue, you must visit the following URL:

  https://bugs.launchpad.net/ubuntu/+source/apport/+filebug/02e65c1c-bdf7-11ec-a167-40a8f03099c8?

You can launch a browser now, or copy this URL into a browser on another computer.

Choices:
  1: Launch a browser now
  C: Cancel
Please choose (1/C): 1
/usr/bin/xdg-open: 882: firefox: not found
/usr/bin/xdg-open: 882: firefox: not found
xdg-open: no method available for opening 'https://bugs.launchpad.net/ubuntu/+source/apport/+filebug/02e65c1c-bdf7-11ec-a167-40a8f03099c8?'
---

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: apport 2.20.11-0ubuntu82
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
Uname: Linux 5.15.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: LXQt
Date: Sun Apr 17 12:34:57 2022
InstallationDate: Installed on 2022-04-16 (0 days ago)
InstallationMedia: Lubuntu 22.04 LTS "Jammy Jellyfish" - Daily amd64 (20220415)
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Chris Guiver (guiverc) wrote :
tags: added: lubuntu
Revision history for this message
Benjamin Drung (bdrung) wrote :

There are two possible reasons:
1. Firefox or no other browser is installed
2. Firefox or another browser is installed, but xdg-open fails to open it.

Assuming it is point 2, I re-assign this ticket to xdg-utils which provides /usr/bin/xdg-open.

affects: apport (Ubuntu) → xdg-utils (Ubuntu)
Chris Guiver (guiverc)
tags: added: kinetic
Revision history for this message
Chris Guiver (guiverc) wrote :

Lubuntu kinetic daily & issue today with install; I try and use `ubuntu-bug calamares` and get

-- start paste (double \n\n trimmed to single \n)
What would you like to do? Your options are:
  Y: Yes
  N: No
  C: Cancel
Please choose (Y/N/C): y
......

*** Send problem report to the developers?

After the problem report has been sent, please fill out the form in the
automatically opened web browser.

What would you like to do? Your options are:
  S: Send report (21.6 KB)
  V: View report
  K: Keep report file for sending later or copying to somewhere else
  I: Cancel and ignore future crashes of this program version
  C: Cancel
Please choose (S/V/K/I/C): s

*** Uploading problem information

The collected information is being sent to the bug tracking system.
This might take a few minutes.
99%

*** To continue, you must visit the following URL:

  https://bugs.launchpad.net/ubuntu/+source/calamares/+filebug/2aec355c-3001-11ed-99a1-40a8f0305cb4?

You can launch a browser now, or copy this URL into a browser on another computer.

Choices:
  1: Launch a browser now
  C: Cancel
Please choose (1/C): 1
/usr/bin/xdg-open: 882: firefox: not found
/usr/bin/xdg-open: 882: firefox: not found
xdg-open: no method available for opening 'https://bugs.launchpad.net/ubuntu/+source/calamares/+filebug/2aec355c-3001-11ed-99a1-40a8f0305cb4?'
-- end paste

Today's daily contains the following (from manifest or https://cdimage.ubuntu.com/lubuntu/daily-live/pending/kinetic-desktop-amd64.manifest) so it's ~same as the jammy daily of the original report (excluding version(s))

snap:core20 stable 1611
snap:snapd stable 16292
snap:firefox stable/ubuntu-22.10 1810
snap:gnome-3-38-2004 stable/ubuntu-22.10 115
snap:bare stable 5
snap:gtk-common-themes stable/ubuntu-22.10 1535

I'm using `firefox` from that daily for this entry; manually started so I can enter details here & my other failure to open using `ubuntu-bug` & firefox works.

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
https://iso.qa.ubuntu.com/qatracker/reports/bugs/1969291

tags: added: iso-testing
Revision history for this message
Chris Guiver (guiverc) wrote :

First install today using current Lubuntu daily.. (20220919)

Post install (not logged on QA-tracker though as not part of install test) and I was trying to open xscreensaver to confirm Leok's bug report... but it won't open. I explore /var/crash and crash report was there, so used `ubuntu-bug` hoping for it to simply finding the bug report (intending to click 'affects me too'), but

instead of opening firefox though, I get

/usr/bin/xdg-open: 882: firefox: not found
/usr/bin/xdg-open: 882: firefox: not found
xdg-open: no method available for opening 'https://bugs.launchpad.net/ubuntu/+source/xscreensaver/+filebug/1e63d072-3b07-11ed-b7a8-d485646cd9a4?'

FULL PASTE of terminal follows
---
guiverc@svp11216cgb:~$ ubuntu-bug /var/crash/_usr_bin_xscreensaver-settings.1000.crash

*** Send problem report to the developers?

After the problem report has been sent, please fill out the form in the
automatically opened web browser.

What would you like to do? Your options are:
  S: Send report (1.1 MB)
  V: View report
  K: Keep report file for sending later or copying to somewhere else
  I: Cancel and ignore future crashes of this program version
  C: Cancel
Please choose (S/V/K/I/C): s

*** Collecting problem information

The collected information can be sent to the developers to improve the
application. This might take a few minutes.
................

*** Uploading problem information

The collected information is being sent to the bug tracking system.
This might take a few minutes.
99%

*** To continue, you must visit the following URL:

  https://bugs.launchpad.net/ubuntu/+source/xscreensaver/+filebug/1e63d072-3b07-11ed-b7a8-d485646cd9a4?

You can launch a browser now, or copy this URL into a browser on another computer.

Choices:
  1: Launch a browser now
  C: Cancel
Please choose (1/C): 1
/usr/bin/xdg-open: 882: firefox: not found
/usr/bin/xdg-open: 882: firefox: not found
xdg-open: no method available for opening 'https://bugs.launchpad.net/ubuntu/+source/xscreensaver/+filebug/1e63d072-3b07-11ed-b7a8-d485646cd9a4?'
guiverc@svp11216cgb:~$

Revision history for this message
Chris Guiver (guiverc) wrote :

This issue has been tested, and isn't an issue any longer as of ISO 2022-10-08

Marked duplicate of https://bugs.launchpad.net/bugs/1973470

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.