Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 541241

Summary: import wx module fails in python prompt
Product: [Fedora] Fedora Reporter: Rakesh Pandit <rpandit>
Component: wxPythonAssignee: Dan HorĂ¡k <dan>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: high    
Version: rawhideCC: dan, mattdm
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-21 13:27:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 538942    

Description Rakesh Pandit 2009-11-25 10:59:00 UTC
Description of problem:
import wx in python prompt fails

Version-Release number of selected component (if applicable):
wxPython-2.8.9.2-3.fc12.i686

How reproducible:
mentioned below

Steps to Reproduce:
1. start python prompt
2. import wx
3.
  
Actual results:
[ashu@dhcp1-96 ~]$ python
 Python 2.6.4 (r264:75706, Nov 12 2009, 14:42:00) 
 [GCC 4.4.2 20091027 (Red Hat 4.4.2-7)] on linux2
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import wx
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/__init__.py", line 45, in <module>
     from wx._core import *
   File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 4, in <module>
     import _core_
 ImportError: /usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core_.so: symbol _ZNK12wxWindowBase18WindowToClientSizeERK6wxSize, version WXU_2.8 not defined in file libwx_gtk2u_core-2.8.so.0 with link time reference
 >>> 

Expected results:
nothing .. successful import 

Additional info:
None

Ping if required.

Thanks,

Comment 1 Rakesh Pandit 2010-01-16 05:56:51 UTC
May you look into this one quickly ?

[rakesh@dhcp1-96 devel]$ repoquery --whatrequires wxPython
rurple-0:1.0-0.3.rc3.fc13.noarch
cycle-0:0.3.1-9.fc12.noarch
drpython-0:3.11.1-1.fc13.noarch
Mayavi-0:3.2.0-7.fc12.i686
pymol-wxpython-0:1.2-9.20091006svn3866.fc13.i686
phatch-0:0.1.6-5.fc12.i686
peppy-0:0.13.1-1.fc13.noarch
londonlaw-0:0.2.1-7.fc12.noarch
pAgenda-0:3.2-5.fc12.noarch
sk2py-0:0.1-4.fc12.noarch
congruity-0:13-1.fc12.noarch
grass-0:6.3.0-15.fc13.i686
winpdb-0:1.4.6-2.fc12.noarch
taskcoach-0:0.76.0-1.fc13.noarch
wxPython-docs-0:2.8.9.2-3.fc12.noarch
spe-0:0.8.4.h-6.fc12.noarch
PythonCard-0:0.8.2-5.fc12.noarch
bibus-0:1.5.1-1.fc13.i686
wammu-0:0.30.1-2.fc12.noarch
gnuradio-0:3.2.2-1.fc12.i686
wxGlade-0:0.6.3-4.fc12.noarch

There are number of apps which fail because of this in rawhide. May you update the version to latest in upstream so that it syncs with wxGTK and this symbol gets resolved.

Regards,
Rakesh Pandit

Comment 2 Rakesh Pandit 2010-01-16 06:00:38 UTC
I have asked for permission in pkgdb for access .. will check whether I can fix this coming week,

-
rakesh

Comment 3 Rakesh Pandit 2010-01-16 06:03:09 UTC
Added Dan Horak to cc: current rawhide maintainer.

Thanks,

Comment 4 Fedora Update System 2010-01-16 18:03:44 UTC
wxPython-2.8.10.1-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/wxPython-2.8.10.1-1.fc12

Comment 5 Fedora Update System 2010-01-16 18:04:12 UTC
wxPython-2.8.10.1-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/wxPython-2.8.10.1-1.fc11

Comment 6 Fedora Update System 2010-02-02 01:14:14 UTC
wxPython-2.8.10.1-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2010-02-02 01:17:49 UTC
wxPython-2.8.10.1-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.