snapcraft remote-build login url is badly formatted

Bug #1962474 reported by nymea
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned
launchpadlib
Incomplete
Undecided
Jürgen Gmach

Bug Description

I just failed to login snapcraft remote-build numerous times:
Clicking on the link in the terminal and signing in on Launchpad, it would always take me to a "Oops, you don't have permissions to view this page".

Eventually I realized that it would include the closing ) in the url. Seems the message should be formatted differently to not impact the URL parsing of the terminal.

See the attached screenshot, the url is underlined, including the )

Revision history for this message
nymea (nymea) wrote :
nymea (nymea)
description: updated
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Thanks for the report!

Revision history for this message
Jürgen Gmach (jugmac00) wrote (last edit ):

Hi nymea,

Thanks for your report.

Unfortunately, I cannot reproduce your problem.

Also, I cannot find the the error message "Oops, you don't have permissions to view this page" in any of the related code bases, and even Google shows only this bug report as a single result.

I assume you paraphrased what you saw in your browser.

Could you please attach a screenshot of your browser window, both showing the URL in the header bar and the error message? Maybe there is even a OOPS-id - please copy it and add it here.

Before we continue... could you please tell us how the URL got from the terminal to the browser?

- automatic?
- did you click on the link in the terminal?
- did you copy/paste the link from the terminal?

FWIW, for me this does not happen in the Gnome terminal on Ubuntu.

So, in order to further narrow down the problem, could you also give us some details about your terminal and operating system? incl. versions

This all said - the code which assembles the URL incl. the surrounding parenthesis hasn't changed in 10 years, and this is the first report as far as I know.

On the other hand, I would not mind removing the parenthesis from the output as I do not see a good reason for them to include.

Changed in launchpadlib:
status: New → Incomplete
assignee: nobody → Jürgen Gmach (jugmac00)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.