Bug 531871 - yumex crashes when trying to connect to repo
Summary: yumex crashes when trying to connect to repo
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yumex
Version: 12
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Tim Lauridsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-29 17:27 UTC by Todd Bailey
Modified: 2010-02-07 13:09 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-02-07 13:09:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Todd Bailey 2009-10-29 17:27:25 UTC
Description of problem:



added atrpms repo to active selection then clicked on refresh then crash/hang occured

Version-Release number of selected component (if applicable):

2.9.3

How reproducible:

always

Steps to Reproduce:
1.  yumex-n
2.  add atrpms repo
3.  click refresh
  
Actual results:

appl. hang

Expected results:

connection to repo or an error dialog stating repo doesn't exist





Additional info:
[todd@M2-F12beta ~]$ yumex
running
Current Settings
    autorefresh: True
    branding_title: 'Yum Extender NextGen'
    color_install: 'darkgreen'
    color_normal: 'black'
    color_obsolete: 'blue'
    color_update: 'red'
    debug: False
    disable_repo_page: False
    plugins: True
    proxy: ''
    recentdays: 14
    repo_exclude: ['debug', 'source']
    win_height: 600
    win_sep: 300
    win_width: 1000
    yumdebuglevel: 2
/usr/lib/python2.6/site-packages/guihelpers/__init__.py:199: GtkWarning: gtk_scrolled_window_add(): cannot add non scrollable widget use gtk_scrolled_window_add_with_viewport() instead
  self.add_from_file(filename)
eth0 (forcedeth) is connected
/usr/lib/python2.6/site-packages/yumexgui/gui.py:179: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltip = gtk.Tooltips()
/usr/lib/python2.6/site-packages/yumexgui/gui.py:206: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltip.set_tip(button, tooltip)
eth0 (forcedeth) is connected
Connected to an network
eth0 (forcedeth) is connected
Starting yum child process
YUM: Loaded plugins: presto
Stopping yum child process
Closing rpm db and releasing yum lock
eth0 (forcedeth) is connected
Starting yum child process
Using the following repositories :
atrpms,fedora,adobe-linux-i386,updates,rawhide


YUM: Loaded plugins: presto
WARNING: Failure getting http://dl.atrpms.net/f11.92-i386/atrpms/stable/repodata/repomd.xml:
WARNING: Trying other mirror.
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/yumexgui/__init__.py", line 437, in on_repoRefresh_clicked
    self.reload(repos)
  File "/usr/lib/python2.6/site-packages/yumexgui/__init__.py", line 897, in reload
    self.populate_package_cache(repos=repos)           # repopulate the package cache
  File "/usr/lib/python2.6/site-packages/yumexgui/__init__.py", line 815, in populate_package_cache
    pkgs = self.package_cache.get_packages(FILTER.updates)
  File "/usr/lib/python2.6/site-packages/yumexgui/gui.py", line 117, in get_packages
    pkgs = self.backend.get_packages(pkg_filter)
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_backend.py", line 270, in get_packages
    pkgs = YumClient.get_packages(self, pkg_filter)
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_client.py", line 470, in get_packages
    pkgs = self._get_list()
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_client.py", line 406, in _get_list
    cmd, args = self._readline()
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_client.py", line 328, in _readline
    if self._check_for_message(cmd, args):
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_client.py", line 357, in _check_for_message
    self.fatal(args)
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_client.py", line 199, in fatal
    raise YumexBackendFatalError(err, msg)
yumexbase.YumexBackendFatalError: None
Stopping yum child process
[todd@M2-F12beta ~]$ yumex -n
running
Current Settings
    autorefresh: False
    branding_title: 'Yum Extender NextGen'
    color_install: 'darkgreen'
    color_normal: 'black'
    color_obsolete: 'blue'
    color_update: 'red'
    debug: False
    disable_repo_page: False
    plugins: True
    proxy: ''
    recentdays: 14
    repo_exclude: ['debug', 'source']
    win_height: 600
    win_sep: 300
    win_width: 1000
    yumdebuglevel: 2
/usr/lib/python2.6/site-packages/guihelpers/__init__.py:199: GtkWarning: gtk_scrolled_window_add(): cannot add non scrollable widget use gtk_scrolled_window_add_with_viewport() instead
  self.add_from_file(filename)
eth0 (forcedeth) is connected
/usr/lib/python2.6/site-packages/yumexgui/gui.py:179: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltip = gtk.Tooltips()
/usr/lib/python2.6/site-packages/yumexgui/gui.py:206: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltip.set_tip(button, tooltip)
eth0 (forcedeth) is connected
Connected to an network
Starting yum child process
YUM: Loaded plugins: presto
Stopping yum child process
Closing rpm db and releasing yum lock
eth0 (forcedeth) is connected
Starting yum child process
Using the following repositories :
atrpms,adobe-linux-i386,rawhide


YUM: Loaded plugins: presto
WARNING: Failure getting http://dl.atrpms.net/f11.92-i386/atrpms/stable/repodata/repomd.xml:
WARNING: Trying other mirror.
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/yumexgui/__init__.py", line 437, in on_repoRefresh_clicked
    self.reload(repos)
  File "/usr/lib/python2.6/site-packages/yumexgui/__init__.py", line 897, in reload
    self.populate_package_cache(repos=repos)           # repopulate the package cache
  File "/usr/lib/python2.6/site-packages/yumexgui/__init__.py", line 815, in populate_package_cache
    pkgs = self.package_cache.get_packages(FILTER.updates)
  File "/usr/lib/python2.6/site-packages/yumexgui/gui.py", line 117, in get_packages
    pkgs = self.backend.get_packages(pkg_filter)
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_backend.py", line 270, in get_packages
    pkgs = YumClient.get_packages(self, pkg_filter)
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_client.py", line 470, in get_packages
    pkgs = self._get_list()
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_client.py", line 406, in _get_list
    cmd, args = self._readline()
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_client.py", line 328, in _readline
    if self._check_for_message(cmd, args):
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_client.py", line 357, in _check_for_message
    self.fatal(args)
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_client.py", line 199, in fatal
    raise YumexBackendFatalError(err, msg)
yumexbase.YumexBackendFatalError: None
^CException: Traceback (most recent call last):
  File "/usr/share/yumex/yumex.py", line 52, in <module>
    app.run()
  File "/usr/lib/python2.6/site-packages/yumexgui/__init__.py", line 571, in run
    gtk.main()
KeyboardInterrupt

Stopping yum child process
Traceback (most recent call last):
  File "/usr/share/yumex/yumex.py", line 52, in <module>
    app.run()
  File "/usr/lib/python2.6/site-packages/yumexgui/__init__.py", line 571, in run
    gtk.main()
KeyboardInterrupt

[todd@M2-F12beta ~]$ yumex -n
running
Current Settings
    autorefresh: False
    branding_title: 'Yum Extender NextGen'
    color_install: 'darkgreen'
    color_normal: 'black'
    color_obsolete: 'blue'
    color_update: 'red'
    debug: False
    disable_repo_page: False
    plugins: True
    proxy: ''
    recentdays: 14
    repo_exclude: ['debug', 'source']
    win_height: 600
    win_sep: 300
    win_width: 1000
    yumdebuglevel: 2
/usr/lib/python2.6/site-packages/guihelpers/__init__.py:199: GtkWarning: gtk_scrolled_window_add(): cannot add non scrollable widget use gtk_scrolled_window_add_with_viewport() instead
  self.add_from_file(filename)
eth0 (forcedeth) is connected
/usr/lib/python2.6/site-packages/yumexgui/gui.py:179: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltip = gtk.Tooltips()
/usr/lib/python2.6/site-packages/yumexgui/gui.py:206: DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltip.set_tip(button, tooltip)
eth0 (forcedeth) is connected
Connected to an network
Starting yum child process
YUM: Loaded plugins: presto
Stopping yum child process
Closing rpm db and releasing yum lock
eth0 (forcedeth) is connected
Starting yum child process
Using the following repositories :
atrpms,adobe-linux-i386,rawhide


YUM: Loaded plugins: presto
WARNING: Failure getting http://dl.atrpms.net/f11.92-i386/atrpms/stable/repodata/repomd.xml:
WARNING: Trying other mirror.
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/yumexgui/__init__.py", line 437, in on_repoRefresh_clicked
    self.reload(repos)
  File "/usr/lib/python2.6/site-packages/yumexgui/__init__.py", line 897, in reload
    self.populate_package_cache(repos=repos)           # repopulate the package cache
  File "/usr/lib/python2.6/site-packages/yumexgui/__init__.py", line 815, in populate_package_cache
    pkgs = self.package_cache.get_packages(FILTER.updates)
  File "/usr/lib/python2.6/site-packages/yumexgui/gui.py", line 117, in get_packages
    pkgs = self.backend.get_packages(pkg_filter)
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_backend.py", line 270, in get_packages
    pkgs = YumClient.get_packages(self, pkg_filter)
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_client.py", line 470, in get_packages
    pkgs = self._get_list()
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_client.py", line 406, in _get_list
    cmd, args = self._readline()
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_client.py", line 328, in _readline
    if self._check_for_message(cmd, args):
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_client.py", line 357, in _check_for_message
    self.fatal(args)
  File "/usr/lib/python2.6/site-packages/yumexbackend/yum_client.py", line 199, in fatal
    raise YumexBackendFatalError(err, msg)
yumexbase.YumexBackendFatalError: None
Stopping yum child process

Comment 1 Tim Lauridsen 2009-10-29 18:11:15 UTC
Could you please run

'yumex -d' and post the output here

Comment 2 Bug Zapper 2009-11-16 14:37:06 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Juan P. Daza P. 2009-12-03 04:36:45 UTC
Trying to reproduce this bug:

Running F12 with yumex 2.9.4:

1. Install gpg key: 
rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms 

2. Create the repo file in /etc/yum.repos.d/atrpms.repo:
[atrpms]
name=Fedora $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/f$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
enabled=1
gpgcheck=1

3. run: yumex -d

Result:
Repository loaded and updates shown in yumex gui, installing a package from that repository finished successfully.

No reproducible in F12.

Comment 4 Tim Lauridsen 2009-12-30 14:26:09 UTC
i have made some better error handling upstream, so you will get at dialog if there is errors in the repository setup.

Comment 5 Fedora Update System 2010-01-01 10:57:26 UTC
yumex-2.9.5-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/yumex-2.9.5-1.fc12

Comment 6 Fedora Update System 2010-01-02 03:35:59 UTC
yumex-2.9.5-1.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update yumex'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0044


Note You need to log in before you can comment on or make changes to this bug.