#308 Problem with the button revisor homepage
Opened by gpex. Modified

When I click to the button help and after on revisor homepage the program disappear.


Here is the trace ...

{{{
Opening up /usr/bin/sudo -u None /usr/bin/xdg-open http://revisor.fedoraunity.org/
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/revisor/modgui/init.py", line 185, in on_menu_homepage_activate
self.open_url(REVISOR_HOMEPAGE)
File "/usr/lib/python2.5/site-packages/revisor/modgui/init.py", line 192, in open_url
os.execv("/usr/bin/sudo", ["/usr/bin/sudo", "-u", user, "/usr/bin/xdg-open", "%s" % (url)])
TypeError: execv() arg 2 must contain only strings
revisor: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
revisor: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
}}}

{{{
[steve@powerhouse Tech]$ rpm -q revisor
revisor-2.1.3-1.fc10.noarch
}}}

Here is the trace ...

{{{
Opening up /usr/bin/sudo -u None /usr/bin/xdg-open http://revisor.fedoraunity.org/
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/revisor/modgui/init.py", line 185, in on_menu_homepage_activate
self.open_url(REVISOR_HOMEPAGE)
File "/usr/lib/python2.5/site-packages/revisor/modgui/init.py", line 192, in open_url
os.execv("/usr/bin/sudo", ["/usr/bin/sudo", "-u", user, "/usr/bin/xdg-open", "%s" % (url)])
TypeError: execv() arg 2 must contain only strings
revisor: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
revisor: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
}}}

{{{
[steve@powerhouse Tech]$ rpm -q revisor
revisor-2.1.3-1.fc10.noarch
}}}

Attached a proposed fix by moving to python's [http://docs.python.org/library/webbrowser.html webbrowser] module.

Attached a proposed fix by moving to python's [http://docs.python.org/library/webbrowser.html webbrowser] module.

Metadata Update from @gpex:
- Issue set to the milestone: 2.1.0 Release
- Issue tagged with: , disappears, gui, problem, revisor

Metadata