Apport trying (and failing) to file a GitHub issue for SnapD

Bug #2069122 reported by Michał Sawicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
New
Undecided
Unassigned
apport (Ubuntu)
New
Undecided
Unassigned

Bug Description

SnapD doesn't actually handle bugs on GitHub, so that may be something to fix in the snapd listing, but still - apport shouldn't crash.

```
$ apport-bug snapd
Gtk-Message: 09:56:43.716: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 650, in <module>
    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/repos/snapcore/snapd/issues
```

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: apport-gtk 2.28.1-0ubuntu3
ProcVersionSignature: Ubuntu 6.8.0-35.35-generic 6.8.4
Uname: Linux 6.8.0-35-generic x86_64
NonfreeKernelModules: zfs
ApportLog:

ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CrashReports:
 640:1000:124:129909:2024-06-12 09:58:16.660117626 +0200:2024-06-12 09:58:17.715116585 +0200:/var/crash/_usr_share_apport_apport-gtk.1000.crash
 664:1000:124:0:2024-06-12 09:58:17.699116900 +0200:2024-06-12 09:58:17.699116900 +0200:/var/crash/_usr_share_apport_apport-gtk.1000.upload
 600:117:124:37:2024-06-12 09:58:18.663097917 +0200:2024-06-12 09:56:24.064420072 +0200:/var/crash/_usr_share_apport_apport-gtk.1000.uploaded
CurrentDesktop: ubuntu:GNOME
Date: Wed Jun 12 09:58:53 2024
InstallationDate: Installed on 2024-02-07 (126 days ago)
InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.2)
PackageArchitecture: all
ProcEnviron:
 LANG=pl_PL.UTF-8
 PATH=(custom, no user)
 SHELL=/usr/bin/zsh
 TERM=screen-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: apport
UpgradeStatus: Upgraded to noble on 2024-02-07 (126 days ago)

Revision history for this message
Michał Sawicz (saviq) wrote :
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.