Public bug reported:

Hello, I found I can't use apport to report bugs in snap. After
authorizing github to connect my account to my device, I get back an
error:

# ubuntu-bug snapd

*** Collecting problem information

The collected information can be sent to the developers to improve the
application. This might take a few minutes.
....
*** You have two versions of this application installed, which one do you want 
to report a bug against?


Choices:
  1: snapd 2.63 (latest/stable) snap
  2: snapd 2.63.1+24.04 deb package
  C: Cancel
Please choose (1/2/C): 1


*** 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 (29.8 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): 

What would you like to do? Your options are:
  S: Send report (29.8 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.

*** Login required

Posting an issue requires a Github account. If you have one, please
follow these steps to log in.

Open the following URL. When requested, write this code to enable apport to 
open an issue.
URL:  https://github.com/login/device
Code: [REDACTED]

Press any key to continue...  
.......Traceback (most recent call last):
  File "/usr/bin/apport-cli", line 418, in <module>
    if not app.run_argv():
           ^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 917, in run_argv
    return self.run_report_bug()
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 740, in 
run_report_bug
    self.file_report()
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 1788, in file_report
    upthread.exc_raise()
  File "/usr/lib/python3/dist-packages/apport/REThread.py", line 63, in 
exc_raise
    raise self._exception[1].with_traceback(self._exception[2])
  File "/usr/lib/python3/dist-packages/apport/REThread.py", line 38, in run
    self._retval = self.__target(*self.__args, **self.__kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/apport/crashdb_impl/github.py", line 
206, in upload
    response = self.github.api_open_issue(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/apport/crashdb_impl/github.py", line 73, 
in api_open_issue
    return self._post(url, json.dumps(data))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/apport/crashdb_impl/github.py", line 63, 
in _post
    result.raise_for_status()  # Not using UI: the user can't do much here
    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/models.py", line 1021, in 
raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 410 Client Error: Gone for url: 
https://api.github.com/repositories/44672744/issues

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: apport 2.28.1-0ubuntu3.1
ProcVersionSignature: Ubuntu 6.8.0-44.44-generic 6.8.12
Uname: Linux 6.8.0-44-generic x86_64
NonfreeKernelModules: zfs
ApportLog:
 
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: pass
CrashReports: 640:0:124:29981:2024-10-09 13:07:14.312902789 -0700:2024-10-09 
13:07:14.312902789 -0700:/var/crash/_usr_bin_apport-cli.0.crash
Date: Wed Oct  9 13:08:33 2024
InstallationDate: Installed on 2023-01-05 (643 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 LC_TIME=C
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=rxvt-unicode-256color
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: apport
UpgradeStatus: Upgraded to noble on 2024-07-31 (71 days ago)

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2084097

Title:
  requests.exceptions.HTTPError: 410 Client Error: Gone for url:
  https://api.github.com/repositories/44672744/issues

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2084097/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to