Impossible to log in in Launchpad using apport from a tty console with w3m

Bug #628755 reported by Sergio Zanchetta
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Canonical SSO provider
Undecided
Unassigned
Launchpad itself
Low
Unassigned
apport (Ubuntu)
Undecided
Unassigned
w3m (Debian)
Confirmed
Unknown
w3m (Ubuntu)
High
Unassigned

Bug Description

Due to this bug #628727 I had to run 'ubuntu-bug xorg' from a tty console.

This is the actual situation:
1) It uses w3m as text browser to connect to Launchpad
2) When you are on the log in page, you can't click on 'Continue' because it's a button and w3m seems to not support this yet.
3) So I couldn't report the bug that way but I had to access launchpad from another pc copying the link provided.

There are 3 way to resolve this issue:

1) Convert Launchpad 'Continue' and 'Sing in' buttons to links.
2) Give w3m support to buttons.
2) Use lynx as text browser instead of w3m.

This bug is critical when you can't report a bug using GUI due to video related issues.

affects: ubuntu → apport (Ubuntu)
tags: added: iso-testing
Revision history for this message
Andrea Corbellini (andrea.corbellini) wrote :

W3M actually supports buttons. I think this is a bug in login.launchpad.net that uses:

  <button type="submit" ...>Continue

instead of:

  <input type="submit" ...>Continue

description: updated
Tim Penhey (thumper)
affects: launchpad → launchpad-foundations
Revision history for this message
Sergio Zanchetta (primes2h) wrote : Re: Impossible to log in in Launchpad using apport-coolect or apport-bug from a tty console

@Andrea
It seems it doesn't according to upstream bug.

Using apport-collect the situation is even worse.
No link is provided to upload info using a browser on another computer.

summary: - Impossible to log in in Launchpad using apport-bug from a tty console
+ Impossible to log in in Launchpad using apport-coolect or apport-bug
+ from a tty console
Changed in w3m (Ubuntu):
importance: Undecided → High
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Can someone confirm it please?

summary: - Impossible to log in in Launchpad using apport-coolect or apport-bug
+ Impossible to log in in Launchpad using apport-collect or apport-bug
from a tty console
summary: - Impossible to log in in Launchpad using apport-collect or apport-bug
- from a tty console
+ Impossible to log in in Launchpad using apport from a tty console
AJenbo (ajenbo)
Changed in w3m (Ubuntu):
status: New → Confirmed
Revision history for this message
Sergio Zanchetta (primes2h) wrote : Re: Impossible to log in in Launchpad using apport from a tty console

A practical example that this is a blocker bug is bug #562843.

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

A workaround using apport-collect is:

1) wait w3m opening.
2) Press q to quit the program
3) A link is provided, use it on another pc browser.

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

From a comment on duplicate bug:
https://bugs.edge.launchpad.net/ubuntu/+source/w3m/+bug/611854/comments/1

it seems that lynx has some secure connection issues.

Moreover, looking at apport sources I found out this comments in /bin/apport-cli

# Copyright (C) 2007 - 2009 Canonical Ltd.
# Author: Michael Hofmann <email address hidden>
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version. See http://www.gnu.org/copyleft/gpl.html for
# the full text of the license.

# Web browser support:
# w3m, lynx: do not work
# elinks: works

Gary Poster (gary)
summary: - Impossible to log in in Launchpad using apport from a tty console
+ Impossible to log in in Launchpad using apport from a tty console with
+ w3m
Revision history for this message
Martin Pitt (pitti) wrote :

Closing apport task, this should be fixed in the test browsers or Launchpad. Also, Apport prints the URL, so you can open that from a different computer (e. g. if you are ssh'ed into some server).

Changed in apport (Ubuntu):
status: New → Invalid
Revision history for this message
Gary Poster (gary) wrote :

As reported in the bug description, lynx does work in my experience. I have no issue with secure connections. This page collects our (my?) knowledge of the situation: https://help.launchpad.net/API/EndUserHints .

If the only challenge to using w3m is what Andrea reports in comment 1, changing that in SSO sounds like a potentially cheap win.

With a known work-around and some background from Martin, I am triaging this as low for Launchpad. I'll also add SSO to the affected projects, though.

Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Yes, there is a workaround, but I can tell you it's very frustrating to write down the long ulr full of both random letters and numbers. (case sensitive as well).

Changed in w3m (Debian):
status: Unknown → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package w3m - 0.5.2-10

---------------
w3m (0.5.2-10) unstable; urgency=low

  * debian/patches/010_upstream.patch: Sync with the upstream development
    snapshot on 2010-10-11.
    - Better non-ascii handling. (closes: #138891, #313365)
    - Introduce mailto_options. (closes: #473780)
    - All elements have the id attribute. (closes: #573789)
    - Define ATTR_ROWSPAN_MAX to check rowspan. (LP: #131993, LP: #619500)
    - Update the man page. (closes: #595534)
    - Add a FILES section to the man page. (closes: #403634)
    - Mention the -I option in the man page. (closes: #398260, #530515)
  * debian/patches/020_button.patch: Patch from upstream to support the
    button element. It is discussed upstream and incomplete, but enough to
    login Launchpad. (LP: #628755, closes: #136810)
  * debian/patches/040_maximum-cols.patch: Removed. (merged upstream)
  * debian/control, debian/rules: Use autotools-dev (>= 20100122) to update
    config.guess and config.sub.
  * debian/patches/020_config-guess.patch: Removed.
 -- Ubuntu Archive Auto-Sync <email address hidden> Sun, 17 Oct 2010 01:21:14 +0000

Changed in w3m (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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