this is the traceback I got when I tried to add a crash report to an
existing ticket. I'm using Xubuntu 25.04.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 668,
in check_end_user_authorization
credentials.exchange_request_token_for_access_token(self.web_root)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 217,
in exchange_request_token_for_access_token
response, content = _http_post(url, headers, params)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 87,
in _http_post
raise HTTPError(response, content)
lazr.restfulclient.errors.HTTPError: HTTP Error 401: Unauthorized
Response headers:
---
content-length: 57
content-security-policy: frame-ancestors 'self';
content-type: text/plain;charset=utf-8
date: Mon, 27 Jan 2025 18:57:59 GMT
server: gunicorn
status: 401
strict-transport-security: max-age=15552000
vary: Cookie,Authorization
www-authenticate: OAuth realm="https://api.launchpad.net"
x-content-type-options: nosniff
x-content-type-warning: guessed from content
x-frame-options: SAMEORIGIN
x-launchpad-revision: 4320d60786f71ace1040d24263eb30d3a5cc7d6b
x-powered-by: Zope (www.zope.org), Python (www.python.org)
x-request-id: 7c95cf6c-c6c5-46ce-ad5c-d843571364b9
x-vcs-revision: 4320d60786f71ace1040d24263eb30d3a5cc7d6b
x-xss-protection: 1; mode=block
---
Response body:
---
b'Request token has not yet been reviewed. Try again later.'
---
During handling of the above exception, another exception occurred:
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 918, in run_argv
return self.run_update_report()
~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/apport/ui.py", line 746, in
run_update_report
if not self.crashdb.can_update(self.args.update_report):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/apport/crashdb_impl/launchpad.py", line
563, in can_update
bug = self.launchpad.bugs[crash_id]
^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/apport/crashdb_impl/launchpad.py", line
166, in launchpad
self.__launchpad = Launchpad.login_with(
~~~~~~~~~~~~~~~~~~~~^
"apport-collect",
^^^^^^^^^^^^^^^^^
...<4 lines>...
version="1.0",
^^^^^^^^^^^^^^
)
^
File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 693, in
login_with
return cls._authorize_token_and_login(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
authorization_engine.consumer,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<8 lines>...
version,
^^^^^^^^
)
^
File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 444, in
_authorize_token_and_login
credentials = authorization_engine(credentials, credential_store)
File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 602,
in __call__
self.make_end_user_authorize_token(credentials, request_token_string)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 693,
in make_end_user_authorize_token
self.wait_for_end_user_authorization(credentials)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 687,
in wait_for_end_user_authorization
self.check_end_user_authorization(credentials)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 680,
in check_end_user_authorization
raise EndUserNoAuthorization(e.content)
launchpadlib.credentials.EndUserNoAuthorization: b'Request token has not yet
been reviewed. Try again later.'
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2096327
Title:
apport cannot upload blobs to launchpad - X-Launchpad-Blob-Token
missing from http response -> "assert ticket"
To manage notifications about this bug go to:
https://bugs.launchpad.net/launchpad/+bug/2096327/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs