Bug 834203 - [abrt] kde-printer-applet-4.8.3-1.fc17: expat.py:4:<module>:ImportError: /usr/lib64/python2.7/site-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: XML_SetHashSalt
Summary: [abrt] kde-printer-applet-4.8.3-1.fc17: expat.py:4:<module>:ImportError: /usr...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: PyXML
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Roman Rakus
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:c497551e1b46b5dce92e42a83c2...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-21 08:12 UTC by ramindeh
Modified: 2014-01-13 00:14 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-21 23:22:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (7.42 KB, text/plain)
2012-06-21 08:12 UTC, ramindeh
no flags Details

Description ramindeh 2012-06-21 08:12:04 UTC
libreport version: 2.0.10
abrt_version:   2.0.10
cmdline:        python /usr/bin/printer-applet
executable:     /usr/bin/printer-applet
kernel:         3.3.7-1.fc16.x86_64
time:           Fri 15 Jun 2012 01:48:12 PM CEST
uid:            500

backtrace:      Text file, 7597 bytes

comment:
:This happens when KDE4 starts and this applet apparently tries to start.
:
:I *suspect* that this a residue of an incompatibility issue between the pyexpat of the system and the pyexpat which comes with Oracle 11gR2.
:To correct that issue I removed the file /etc/ld.so.conf.d/oracle-11g.conf and re-run ldconfig. That made it work for user root, but nor for my login user. For example, here is what I get when I invoke yum as non-root:
:
:Traceback (most recent call last):
:  File "/usr/bin/yum", line 29, in <module>
:    yummain.user_main(sys.argv[1:], exit_code=True)
:  File "/usr/share/yum-cli/yummain.py", line 321, in user_main
:    errcode = main(args)
:  File "/usr/share/yum-cli/yummain.py", line 146, in main
:    result, resultmsgs = base.doCommands()
:  File "/usr/share/yum-cli/cli.py", line 485, in doCommands
:    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
:  File "/usr/share/yum-cli/yumcommands.py", line 1392, in doCommand
:    return base.search(extcmds)
:  File "/usr/share/yum-cli/cli.py", line 1284, in search
:    for (po, keys, matched_value) in matching:
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2847, in searchGenerator
:    for sack in self.pkgSack.sacks.values():
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1013, in <lambda>
:    pkgSack = property(fget=lambda self: self._getSacks(),
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 777, in _getSacks
:    self.repos.populateSack(which=repos)
:  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 300, in populateSack
:    self.doSetup()
:  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 126, in doSetup
:    self.ayum.plugins.run('postreposetup')
:  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 187, in run
:    func(conduitcls(self, self.base, conf, **kwargs))
:  File "/usr/lib/yum-plugins/fastestmirror.py", line 197, in postreposetup_hook
:    if downgrade_ftp and _len_non_ftp(repo.urls) == 1:
:  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 786, in <lambda>
:    urls = property(fget=lambda self: self._geturls(),
:  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 783, in _geturls
:    self._baseurlSetup()                                                                           
:  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 729, in _baseurlSetup               
:    mirrorurls.extend(list(self.metalink_data.urls()))                                             
:  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 826, in <lambda>                    
:    metalink_data = property(fget=lambda self: self._getMetalink(),                                
:  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 822, in _getMetalink                
:    self._metalink = metalink.MetaLinkRepoMD(self.metalink_filename)                               
:  File "/usr/lib/python2.7/site-packages/yum/metalink.py", line 187, in __init__                   
:    root = xmlparse(filename)                                                                      
:  File "/usr/lib/python2.7/site-packages/yum/misc.py", line 1210, in cElementTree_xmlparse         
:    return __cached_cElementTree.parse(filename)                                                   
:  File "<string>", line 62, in parse                                                               
:  File "<string>", line 37, in parse                                                               
:RuntimeError: cannot load dispatch table from pyexpat

smolt_data:
:
:
:General
:=================================
:UUID: b27132d7-0fcf-4c86-9193-f7dd557d67b1
:OS: Fedora release 17 (Beefy Miracle)
:Default run level: Unknown
:Language: en_US.utf8
:Platform: x86_64
:BogoMIPS: 5053.83
:CPU Vendor: GenuineIntel
:CPU Model: Intel(R) Core(TM)2 Duo CPU     P9500  @ 2.53GHz
:CPU Stepping: 6
:CPU Family: 6
:CPU Model Num: 23
:Number of CPUs: 2
:CPU Speed: 2534
:System Memory: 3954
:System Swap: 6015
:Vendor: Micro-Star International
:System: GT725 Ver 1.000
:Form factor: Desktop
:Kernel: 3.4.2-4.fc17.x86_64
:SELinux Enabled: 0
:SELinux Policy: targeted
:SELinux Enforce: Unknown
:MythTV Remote: Unknown
:MythTV Role: Unknown
:MythTV Theme: Unknown
:MythTV Plugin: 
:MythTV Tuner: -1
:
:
:Devices
:=================================
:(32902:10816:5218:29216) pci, None, HOST/PCI, Mobile 4 Series Chipset Memory Controller Hub
:(32902:10817:5218:29216) pci, pcieport, PCI/PCI, Mobile 4 Series Chipset PCI Express Graphics Port
:(4098:43568:5218:29216) pci, snd_hda_intel, MULTIMEDIA, HD48x0 audio
:(4332:33128:5218:29216) pci, r8169, ETHERNET, RTL8111/8168B PCI Express Gigabit Ethernet controller
:(32902:10544:5218:29216) pci, i801_smbus, SERIAL, 82801I (ICH9 Family) SMBus Controller
:(32902:10537:5218:29216) pci, ahci, STORAGE, ICH9M/M-E SATA AHCI Controller
:(32902:10521:5218:29216) pci, None, PCI/ISA, ICH9M LPC Interface Controller
:(32902:9288:5218:29216) pci, None, PCI/PCI, 82801 Mobile PCI Bridge
:(32902:10549:5218:29216) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #2
:(32902:10548:5218:29216) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #1
:(32902:10553:5218:29216) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #6
:(32902:10550:5218:29216) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #3
:(32902:10554:5218:29216) pci, ehci_hcd, USB, 82801I (ICH9 Family) USB2 EHCI Controller #1
:(32902:10556:5218:29216) pci, ehci_hcd, USB, 82801I (ICH9 Family) USB2 EHCI Controller #2
:(32902:10564:5218:29216) pci, pcieport, PCI/PCI, 82801I (ICH9 Family) PCI Express Port 3
:(32902:10566:5218:29216) pci, pcieport, PCI/PCI, 82801I (ICH9 Family) PCI Express Port 4
:(32902:10560:5218:29216) pci, pcieport, PCI/PCI, 82801I (ICH9 Family) PCI Express Port 1
:(32902:10562:5218:29216) pci, pcieport, PCI/PCI, 82801I (ICH9 Family) PCI Express Port 2
:(32902:10558:5218:29216) pci, snd_hda_intel, MULTIMEDIA, 82801I (ICH9 Family) HD Audio Controller
:(32902:10551:5218:29216) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #4
:(32902:10552:5218:29216) pci, uhci_hcd, USB, 82801I (ICH9 Family) USB UHCI Controller #5
:(4631:247:5218:29216) pci, firewire_ohci, FIREWIRE, Firewire (IEEE 1394)
:(4631:28976:5218:29216) pci, None, STORAGE, Integrated MS/xD Controller
:(4631:28960:5218:29216) pci, sdhci-pci, BASE, Integrated MMC/SD Controller
:(32902:16946:32902:4865) pci, iwlwifi, NETWORK, WiFi Link 5100 AGN
:(4098:37962:5218:29216) pci, radeon, VIDEO, M98L [Mobility Radeon HD 4850]
:
:
:Filesystem Information
:=================================
:device mtpt type bsize frsize blocks bfree bavail file ffree favail
:-------------------------------------------------------------------
:/dev/mapper/vg_laptop3-lv_root / ext4 4096 4096 13081819 2729413 2074053 3276800 2637396 2637396
:/dev/sda2 /boot ext4 1024 1024 508745 382110 356510 128016 127644 127644
:/dev/mapper/vg_laptop3-lv_home /home ext4 4096 4096 94414779 22685073 17959109 23633920 22918844 22918844
:

Comment 1 ramindeh 2012-06-21 08:12:11 UTC
Created attachment 593385 [details]
File: backtrace

Comment 2 Rex Dieter 2012-06-21 14:20:39 UTC
It's clearly still a problem with pyexpat (PyXML) on your box, unclear if it's self(oracle) induced or not.

Comment 3 ramindeh 2012-06-21 14:47:19 UTC
* Since Python is a black box to me, I would not know how to find out what is wrong with it
* Expat is part of python-devel afaik. Both python-devel and pyxml are installed.
* This problem started after an update I made to the system 1-2 days before upgrading to FC17 several days ago, and not when I shoehorned Oracle onto the system about 6 months ago, so I suspect it must be some change in pyexpat

Bug 814490 is possibly related to this one.

Comment 4 Kevin Kofler 2012-06-21 23:22:38 UTC
The pyexpat in Fedora moved on, the stale bundled copy in Oracle did not. It's still Oracle's (or your) fault for installing a bundled copy systemwide in the first place. It's perfectly normal and expected for bundled old copies of libraries to conflict with newer system versions. In general, the proper resolution is to delete the bundled version to force the use of the system version everywhere.


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