I started looking into this more deeply. "ticket" is supposed to be the value returned on the "X-Launghpad-Blob-Token" header on the response to a http request uploading an attachment to the bug ("upload_blob"). Here is the actual response that comes from launchpad:
reply: 'HTTP/1.1 200 Ok\r\n' header: Date: Tue, 28 Jan 2025 23:32:19 GMT header: Server: gunicorn header: x-powered-by: Zope (www.zope.org), Python (www.python.org) header: content-length: 11098 header: content-security-policy: frame-ancestors 'self'; header: content-type: text/html;charset=utf-8 header: strict-transport-security: max-age=15552000 header: vary: Cookie,Authorization,Accept-Encoding header: x-content-type-options: nosniff header: x-frame-options: SAMEORIGIN header: x-launchpad-revision: 4320d60786f71ace1040d24263eb30d3a5cc7d6b header: x-xss-protection: 1; mode=block header: x-vcs-revision: 4320d60786f71ace1040d24263eb30d3a5cc7d6b header: x-request-id: 02781eea-ea37-45a1-8af8-799909d5a993 header: Connection: close Traceback (most recent call last): File "/usr/share/apport/apport-gtk", line 660, 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 1791, in file_report upthread.exc_raise() File "/usr/lib/python3/dist-packages/apport/REThread.py", line 67, in exc_raise raise self._exception[1].with_traceback(self._exception[2]) File "/usr/lib/python3/dist-packages/apport/REThread.py", line 42, in run self._retval = self.__target(*self.__args, **self.__kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/apport/crashdb_impl/launchpad.py", line 223, in upload ticket = upload_blob(blob_file, progress_callback, hostname=self.get_hostname()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/apport/crashdb_impl/launchpad.py", line 1258, in upload_blob assert ticket ^^^^^^ AssertionError Here we can see that the request succeeded, but the necessary header simply does not exist. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/2096327 Title: Ubuntu-bug crashes with error in apport-gtk Status in apport package in Ubuntu: Confirmed Bug description: The tale is slightly convoluted. After doing an "apt upgrade" yesterday, xsane and simple-scan started failing: scanner detected, but could not scan. Trying to report it with ubuntu-bug then crashed with the following error: $ sudo ubuntu-bug simple-scan 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 67, in exc_raise raise self._exception[1].with_traceback(self._exception[2]) File "/usr/lib/python3/dist-packages/apport/REThread.py", line 42, in run self._retval = self.__target(*self.__args, **self.__kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/apport/crashdb_impl/launchpad.py", line 222, in upload ticket = upload_blob(blob_file, progress_callback, hostname=self.get_hostname()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/apport/crashdb_impl/launchpad.py", line 1246, in upload_blob assert ticket ^^^^^^ AssertionError This is a blocker for me. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2096327/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp