Bug 673680

Summary: [abrt] yumex-3.0.1-1.fc14: gui.py:230:_url_handler:TypeError: not all arguments converted during string formatting
Product: [Fedora] Fedora Reporter: Gary Miller <gmiller>
Component: yumexAssignee: Tim Lauridsen <tla>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: tla
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:10df3ff9
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-30 11:17:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description Gary Miller 2011-01-29 16:47:12 UTC
abrt version: 1.1.14
architecture: i686
cmdline: /usr/bin/python /usr/share/yumex/yumex.pyc
component: yumex
executable: /usr/share/yumex/yumex.pyc
kernel: 2.6.35.10-74.fc14.i686
package: yumex-3.0.1-1.fc14
reason: gui.py:230:_url_handler:TypeError: not all arguments converted during string formatting
release: Fedora release 14 (Laughlin)
time: 1296314460
uid: 500

backtrace
-----
gui.py:230:_url_handler:TypeError: not all arguments converted during string formatting

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/guihelpers/__init__.py", line 57, in on_url_event
    self.url_handler(tag.get_property("name"))
  File "/usr/lib/python2.7/site-packages/yumexgui/gui.py", line 230, in _url_handler
    browser = browser % '"' + url + '"'
TypeError: not all arguments converted during string formatting

Local variables in innermost frame:
url: 'http://labs.trolltech.com/page/Projects/QtMobility'
self: <yumexgui.gui.PackageInfo instance at 0x9e3e2cc>
client: <gconf.Client object at 0xa052c0c (GConfClient at 0xa0bac78)>
browser: '/opt/google/chrome/google-chrome'

How to reproduce
-----
1.start yumex
2.click on url in package information
3.crash reported

Comment 1 Gary Miller 2011-01-29 16:47:14 UTC
Created attachment 475954 [details]
File: backtrace

Comment 2 Tim Lauridsen 2011-01-30 11:17:58 UTC
if you go into 'System -> Preferences -> Preferred applications"

and set you Web Browser to

"Custom"

and set Command to
/opt/google/chrome/google-chrome %s

Then it will work.

I current upstream I have changed the way yumex open an url, so this kind of error should not happen any more.