Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127544 - opendict / wgPython
Summary: opendict / wgPython
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-25 09:33 UTC by marcus bueschleb
Modified: 2006-05-02 06:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description marcus bueschleb 2006-03-25 09:33:13 UTC
first start of opendict gives me:
**
** Error: wxPython library not found
** Please install wxPython 2.5 or newer to run OpenDict
**
but wxpython is on my sys in the latest version:
root@libo-podget# [1]emerge -pv wxpython


These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] dev-python/wxpython-2.6.1.0  +gtk +gtk2 +opengl +unicode 18,019 kB 

Total size of downloads: 18,019 kB
root@libo-podget# 
root@libo-podget# eix wxpython
* dev-python/wxpython 
     Available versions:  2.4.2.4 2.4.2.4-r3 ~2.6.0.0-r1 2.6.1.0
     Installed:           2.4.2.4-r2 2.6.1.0
     Homepage:            http://www.wxpython.org/
     Description:         A blending of the wxWindows C++ class library with Python

* dev-python/wxpython-docs 
     Available versions:  2.4.2.4-r1 ~2.6.0.0-r1
     Installed:           none
     Homepage:            http://www.wxpython.org
     Description:         wxPython documentation
Comment 1 Mart Raudsepp gentoo-dev 2006-04-20 04:37:53 UTC
What version of opendict was this?
I can't reproduce this with wxpython-2.6.3.2.

Upstream said that an older version than 0.6.x might have had a check on wxpython-2.5 without 2.6, back from when 2.6 with multiversion installs in wxpython didn't exist yet.
However, we have a patch for that in opendict-0.5.7.ebuild, and I can't reproduce the problem with opendict-0.5.4 either.

I will work on bumping opendict to 0.6.1 soon, hopefully that will fix the problem if you're still having it.
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2006-04-20 21:26:21 UTC
Should be fixed in the latest ebuild, thanks Mart.
Comment 3 Congtat Cia 2006-05-01 08:07:04 UTC
I got the same Error message and made some test:

$ opendict
**
** Error: wxPython library not found
** Please install wxPython 2.5 or later to run OpenDict
**

$ python
Python 2.4.3 (#1, Apr 30 2006, 14:44:18)
[GCC 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/__init__.py", line 42, in ?
    from wx._core import *
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 4, in ?
    import _core_
ImportError: /usr/lib/libwx_baseu_net-2.6.so.0: undefined symbol: _ZNK11wxClassInfo8IsKindOfEPKS_


/usr/lib/libwx_baseu_net-2.6.so.0 comes from wxGTK-2.6.2.3 so I re-emerge it with conservative CFLAGS but with no luck.
Comment 4 Mart Raudsepp gentoo-dev 2006-05-01 22:20:24 UTC
Please use a ~x86 wxGTK AND ~x86 wxpython with ~x86 opendict
Comment 5 Congtat Cia 2006-05-02 04:33:24 UTC
installed: (~x86)
x11-libs/wxGTK-2.6.3.2
dev-python/wxpython-2.6.3.2
app-dicts/opendict-0.6.1
Comment 6 Mart Raudsepp gentoo-dev 2006-05-02 06:01:56 UTC
I see.
I got something similar after a wxGTK+wxpython followed by a wxGTK (only) reinstall. Investigating this as soon I arrange enough free HDD space.
I hope you aren't using --as-needed in an unstable combination.