does not open Firefox

Bug #96503 reported by Matthew Nuzum
54
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Undecided
Unassigned

Bug Description

I've searched and found duplicate reports of this, but they were marked as rejected, referencing bugs such as #88499
#88498 #88104, however none of these seem to describe this issue. Therefore I'm sorry if this is truly is a duplicate, but since its not clear I'm reporting it.

When you click the "System" --> "Report a problem..." menu a small dialog pops up momentarily (see screenshot attached) then disappears. Nothing else appears to happen.

Revision history for this message
Matthew Nuzum (newz) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

It seems that it fails to open the web browser. If you run 'ubuntu-bug' on the command line, do you see any error messages? What does

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

say?

Changed in apport:
status: Unconfirmed → Needs Info
Revision history for this message
Matthew Nuzum (newz) wrote :

From the command line, ubuntu-bug says:
matt@matts-laptop:~$ ubuntu-bug
GTK Accessibility Module initialized
matt@matts-laptop:~$ GTK Accessibility Module initialized
Error: Failed to send command: 500 command not parseable

matt@matts-laptop:~$ gconftool --get /desktop/gnome/url-handlers/http/command
firefox -remote "openurl(%s,new-tab)"

Revision history for this message
Martin Pitt (pitti) wrote :

Hmm, I enabled a11y in Gnome and changed the gconf key to your value, but it works for me. Seb, Henrik, does that 'Error: Failed to send command: 500 command not parseable' say anything to you? I do not get that one.

Revision history for this message
Sebastien Bacher (seb128) wrote :

no idea about it, no

Revision history for this message
Matthew Nuzum (newz) wrote :

I saw some updates come through, so tried this again. Now, I get this error:

$ ubuntu-bug
GTK Accessibility Module initialized
GTK Accessibility Module initialized
matt@matts-laptop:/tmp/lphelpwiki$ The program 'firefox-bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 1949 error_code 3 request_code 20 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

apport has generally worked fine for with AT-SPI on. Matt, does this still happen with AT-SPI off?

Revision history for this message
Matthew Nuzum (newz) wrote :

I tried it as is and got the same error I posted above. THen, I went to System -> Assistive Technology Preferences and unchecked "Enable Assistive Technologies."

No change. If that's not what you meant by AT-SPI let me know and I can try something else.

Revision history for this message
Tore Anderson (toreanderson) wrote :

Ran into this problem as MusicBrainz Picard was unable to open the browser (it's not Apport-specific).

Quoting Matthew Nuzum:

matt@matts-laptop:~$ gconftool --get /desktop/gnome/url-handlers/http/command
firefox -remote "openurl(%s,new-tab)"

It was the same in my installation. The problem is the presence of the double quotes. The fix is simple:

gconftool --set /desktop/gnome/url-handlers/http/command --type=string 'firefox -remote openurl(%s,new-tab)'

This bug should probably be reassigned somewhere, but I am not familiar enough with Gnome to say if it's Firefox or GConf that's at fault here for defaulting to the broken value.

Tore

Revision history for this message
ubuntu_demon (ubuntu-demon) wrote :

I can reproduce this error :
"Error: Failed to send command: 500 command not parseable"

From Python (with a local html file called index.html) :

>>> import webbrowser
>>> webbrowser.open("index.html")
True
>>> Error: Failed to send command: 500 command not parseable

Revision history for this message
ubuntu_demon (ubuntu-demon) wrote :

Another way to reproduce this error :
"Error: Failed to send command: 500 command not parseable"

From Python :

>>> import webbrowser
>>> webbrowser.open("helloPython.html")
True
>>> Error: Failed to send command: 500 command not parseable

KeyboardInterrupt
>>> webbrowser.open_new("http://www.python.org/doc")
True
>>> Error: Failed to send command: 500 command not parseable

Revision history for this message
ubuntu_demon (ubuntu-demon) wrote :

I forgot to mention that I'm running Ubuntu Feisty with firefox version : 2.0.0.4+1-0ubuntu1 and python2.5 version : 2.5.1-0ubuntu1

Revision history for this message
Shirish Agarwal (shirishag75) wrote :

This is on gutsy machine. First the specs.

python= 2.5.1-1ubuntu4
firefox=2.0.0.6+2-0ubuntu2
firefox-granparadiso=3.0~alpha7-0ubuntu3

Preferred applications in Settings have set as firefox-granparadiso

but gconftool shows it as :-

shirish@Mugglewille:~$ gconftool --get /desktop/gnome/url-handlers/http/command
firefox %s

Doing bug-buddy gives a PC GetModule message and spawns another firefox window even though firefox-granparadiso is already running & is in preferred applications.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for apport (Ubuntu) because there has been no activity for 60 days.]

Revision history for this message
Sridhar Dhanapalan (sridhar) wrote :

I'm seeing the same problem here on Feisty. Following Tore Anderson's gconftool suggestion seems to have done the trick.

Revision history for this message
Agustin (agustin-bosso) wrote :

I fixed the problem
The problem is not with ubuntu one is about the configuration of gnome about opening the browser
Try this in console. It works for me

gconftool --set /desktop/gnome/url-handlers/http/command --type=string 'firefox %s'

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

Other bug subscribers