Error starting web interface in GUI

Bug #187321 reported by Holyfive on 2008-01-30
4
Affects Status Importance Assigned to Milestone
Lanshark
Undecided
Jonas Wagner

Bug Description

Hi,

when I try to start the web interface in the GUI, nothing happens. The message "Error: Failed to send command: 500 command not parseable" is reported on stderr. This seems to be a problem with GTK, the following line fixes the problem:

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

I suggest to check if lanshark is running on a POSIX system and if gconftool has the wrong configuration, e.g.:

>>> import subprocess
>>> p1 = subprocess.Popen(["gconftool","--get","/desktop/gnome/url-handlers/http/command"], stdout=subprocess.PIPE)
>>> p1.communicate()[0]
'firefox -remote "openurl(%s,new-tab)"\n'

If the "openurl" option is put in doublequotes, the mentioned workaround is needed and should be executed.

CU, Patrick

Jonas Wagner (veers) wrote :

Hi Patrick,
Thank you for your bug report. Lanshark is using pythons webbrowser module with xdg-open from the portland tools as default (on posix systems).
I'm never talking to gconf directly. Can you give me some more information about the distribution, browser etc. you are using?
So I can locate the exact problem and get it fixed somehow.

- Jonas

Changed in lanshark:
assignee: nobody → veers
status: New → Incomplete
Holyfive (patrick-holz) wrote :

Hi Jonas,

I'm working with Ubuntu Feisty Fawn (7.04), Firefox 2.0 and Gnome 2.18.

I know you're using the webbrowser module (I read the source ;) ), so the problem is not directly in lanshark, but in gconf. Nevertheless I thought you should be aware of it, since it is possible to catch this error if it occures.

CU, Patrick

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

Other bug subscribers