netsurf doesn't work: misplaced <head> tag

Bug #442810 reported by Akkana Peck on 2009-10-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: apport

On karmic beta, when I try to file a new bug with ubuntu-bug packagename, it collects the system information then brings up a small window with a lot of blank space and no labels (will attach a screenshot). In the terminal where I ran ubuntu-bug, I get these errors:

----------
Error showing url: Failed to execute child process "/usr/local/firefox-3.5/firefox" (No such file or directory)

(x-www-browser:1766): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(imbrium)-
(x-www-browser:1766): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(x-www-browser:1766): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(x-www-browser:1766): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(x-www-browser:1766): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(x-www-browser:1766): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(x-www-browser:1766): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(x-www-browser:1766): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(x-www-browser:1766): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(x-www-browser:1766): libglade-WARNING **: could not find signal handler 'on_menupopup_navigate_activate'.

(x-www-browser:1766): Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already attached to GtkMenuItem

(x-www-browser:1766): Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already attached to GtkMenuItem

(x-www-browser:1766): Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already attached to GtkMenuItem

(x-www-browser:1766): Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already attached to GtkMenuItem

(x-www-browser:1766): Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already attached to GtkMenuItem
HTML parser error : htmlParseStartTag: misplaced <head> tag
    <head>
         ^
HTML parser error : Unexpected end tag : head
  </head>
         ^
HTML parser error : htmlParseStartTag: misplaced <body> tag
  <body id="document"
--------------
That /usr/local/firefox-3.5/firefox link is probably something I set up long ago and need to figure out how to un-do so it points to my regular firefox (I'm not having much luck finding that).
But meanwhile, the apport netsurf fallback doesn't seem to be working.

Akkana Peck (akkzilla) wrote :
Marco Rodrigues (gothicx) wrote :

It looks like Netsurf doesn't support Launchpad (it doesn't render correctly).

Execute this command at console (terminal):

$ gconftool --get /desktop/gnome/url-handlers/http/command

And show the output here.

Changed in apport (Ubuntu):
status: New → Incomplete
Akkana Peck (akkzilla) wrote :

Indeed, that was at least part of the problem. The output was:
/usr/local/firefox-3.5/firefox "%s"
So I ran: gconftool --unset /desktop/gnome/url-handlers/http/command
and now it's a more reasonable firefox %s.

But now, if I run ubuntu-bug, after it collects the information it says, on stdout,

Error showing url: Failed to execute child process "/usr/local/firefox-3.5/firefox" (No such file or directory)

yet it actually runs the installed firefox and loads a launchpad page. Restarting apport with "service apport restart" didn't help. I'm not sure where it's still getting the old string (I haven't tried rebooting).

Marco Rodrigues (gothicx) wrote :

You can't have Firefox installed at /usr/local/firefox-3.5, something have gone wrong with your configuration. I think it would be better for you to do a clean install of Karmic.

Changed in apport (Ubuntu):
status: Incomplete → Invalid
Akkana Peck (akkzilla) wrote :

That path was left over from when I had a mozilla.org firefox installed, or maybe one built from source. I hope Ubuntu doesn't forbid ever installing non-Ubuntu software! I have no idea why gnome decided to use it, though. Or why apport is still printing that error message even though I've removed all the references to /usr/local/anything from gconftool (at least, gconftool -R / | grep usr/local finds nothing).

But that's all a side issue to apport using a fallback (netsurf) that doesn't work with the launchpad page it's trying to use. That's still a bug, surely?

Changed in apport (Ubuntu):
status: Invalid → New
Akkana Peck (akkzilla) wrote :

In case this is relevant:

I noticed all the x-www-browser references in the original error messages, and got to wondering if that was why it called netsurf.

But /usr/bin/x-www-browser -> /etc/alternatives/x-www-browser -> /usr/bin/firefox-3.5 (unless that got reset by gconftool --unset /desktop/gnome/url-handlers/http/command) and I certainly never chose to have netsurf as a default browser. I installed netsurf because I was curious about it and wanted to try it, but that's not the same as wanting it as default.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments