Bug 699207 - wxPython: cannot import wx.stc
Summary: wxPython: cannot import wx.stc
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: wxPython
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Horák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 697770 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-24 08:51 UTC by pankaj pandey
Modified: 2011-05-17 20:58 UTC (History)
3 users (show)

Fixed In Version: wxGTK-2.8.12-1.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-17 20:58:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description pankaj pandey 2011-04-24 08:51:30 UTC
Description of problem:
wx.stc in unimportable

Version-Release number of selected component (if applicable):
wxPython-2.8.11.0-5.fc15.x86_64


Steps to Reproduce:
1. $ python -c "import wx.stc"
  
Actual results:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/stc.py", line 10, in <module>
    import _stc
ImportError: /usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_stc.so: symbol _ZN16wxStyledTextCtrl7SendMsgEill, version WXU_2.8 not defined in file libwx_gtk2u_stc-2.8.so.0 with link time reference

Expected results:
No error should be shown. wx.stc should be importable as normal

Additional info:
The file /usr/lib64/libwx_gtk2u_stc-2.8.so.0.8.0 is stripped, so it shows no symbols. Maybe that can cause errors

Comment 1 pankaj pandey 2011-04-24 09:19:05 UTC
Well i just figured that there was a mismatch between wx version and wxPython version.
wx was recently updated to wxBase-2.8.12-1.fc15.x86_64, whereas wxPython is still at wxPython-2.8.11.0-5.fc15.x86_64.
On downgrading wx to older version wxBase-2.8.11-4.fc15.x86_64, wx.stc seems to work fine.
So it seems wxPython also needs to be update to work with the newer wx version in the repo

Comment 2 Milos Jakubicek 2011-04-27 07:04:59 UTC
*** Bug 697770 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2011-05-01 08:30:18 UTC
wxGTK-2.8.12-1.fc14, wxPython-2.8.12.0-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/wxPython-2.8.12.0-1.fc14,wxGTK-2.8.12-1.fc14

Comment 4 Fedora Update System 2011-05-01 20:57:54 UTC
Package wxGTK-2.8.12-1.fc14, wxPython-2.8.12.0-1.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing wxGTK-2.8.12-1.fc14 wxPython-2.8.12.0-1.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/wxPython-2.8.12.0-1.fc14,wxGTK-2.8.12-1.fc14
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2011-05-17 20:58:00 UTC
wxGTK-2.8.12-1.fc14, wxPython-2.8.12.0-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


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