View previous topic :: View next topic |
Author |
Message |
drawsmcgraw Tux's lil' helper
Joined: 11 Oct 2004 Posts: 126 Location: Starkville, Mississippi USA
|
Posted: Tue Nov 08, 2005 3:26 am Post subject: |
|
|
Okay, not understanding this... I'm getting the exact same error myself. I just finished sync'ing, and I go to get the latest wxGTK...
Code: |
bash-2.05b# emerge -s wxgtk
Searching...
[ Results for search key : wxgtk ]
[ Applications found : 1 ]
* x11-libs/wxGTK
Latest version available: 2.6.1
Latest version installed: 2.6.1
Size of downloaded files: 13,757 kB
Homepage: http://www.wxwindows.org
Description: GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit and wxbase non-gui library
License: wxWinLL-3
|
Why am I not seeing 2.6.2? Working on AMD64, if that matters at all. _________________ "Of course, that's just my opinion. I could be wrong."
-Dennis Miller |
|
Back to top |
|
|
plastikman187 Apprentice
Joined: 15 Mar 2005 Posts: 233
|
Posted: Wed Nov 09, 2005 5:03 am Post subject: |
|
|
Here is all that you have to do
Code: |
echo ">=x11-libs/wxGTK-2.6.2" > /etc/portage/package.keywords
emerge wxGTK
|
|
|
Back to top |
|
|
drawsmcgraw Tux's lil' helper
Joined: 11 Oct 2004 Posts: 126 Location: Starkville, Mississippi USA
|
Posted: Wed Nov 09, 2005 12:37 pm Post subject: |
|
|
Thanks! _________________ "Of course, that's just my opinion. I could be wrong."
-Dennis Miller |
|
Back to top |
|
|
cylamanae Tux's lil' helper
Joined: 26 Mar 2004 Posts: 126
|
Posted: Wed Nov 30, 2005 5:54 am Post subject: |
|
|
Sorry to bring up a dead topic.... I am having the same problem again. When I run the following command I get the following error in wxPython.
nivlac@localhost ~ $ python -c "from wxPython.wx import *"
Traceback (most recent call last):
File "<string>", line 1, in ?
ImportError: Bad magic number in /usr/lib/python2.4/wxPython/__init__.pyc
wxpython - version is 2.6.1.0
wxgtk 2.6.2-r1
bittornado version is 0.3.14.
Here is my emerge info
emerge info
Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 audiofile avi berkdb bitmap-fonts browserplugin bzip2 cdr crypt cups curl divx4linux dlloader dvd dvdread eds emboss emul-linux-x86 encode esd exif expat fam ffmpeg foomaticdb fortran ftp gdbm gif glut gmp gpm gstreamer gtk gtk2 idn imlib ipv6 java jpeg kde kdeenablefinal lcms lzw lzw-tiff mad matroska matrox mng mp3 mpeg ncurses nls nsplugin ogg oggvorbis openal opengl oss pam pcmcia pcre pdflib perl png python qt quicktime readline ruby sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vorbis wifi wxgtk1 wxwindows xine xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Any help will be greatly appreciated. Thanks in advance. |
|
Back to top |
|
|
ixce n00b
Joined: 30 Dec 2004 Posts: 21
|
Posted: Tue Dec 06, 2005 8:40 pm Post subject: |
|
|
I'm having the same issue as well. Same versions of everything, I think something happened when I upgraded to gcc 3.4.4 _________________ gentoo.
http://www.projectixce.net |
|
Back to top |
|
|
plastikman187 Apprentice
Joined: 15 Mar 2005 Posts: 233
|
Posted: Wed Dec 07, 2005 9:32 pm Post subject: |
|
|
fellas the issue i haw as a bug with wxwidgets not sure what is causing this issue for you guys.
Try submitting a bug at http://bugzilla.gentoo.org _________________ Ubuntu -- An african word meaning 'Gentoo is too hard for me' |
|
Back to top |
|
|
asarazan n00b
Joined: 09 Apr 2005 Posts: 54
|
Posted: Fri Dec 09, 2005 3:03 am Post subject: |
|
|
Why does the topic have solved in it. _________________ The Seraphim |
|
Back to top |
|
|
plastikman187 Apprentice
Joined: 15 Mar 2005 Posts: 233
|
Posted: Fri Dec 09, 2005 9:41 pm Post subject: |
|
|
because my issue which was an issue with wxGTK (wxwidgets) was resolved so the original posting which was an error stating that wxpython was not installed was resolved.
The issue that the last few posters had posted are a seperate issue. _________________ Ubuntu -- An african word meaning 'Gentoo is too hard for me' |
|
Back to top |
|
|
plastikman187 Apprentice
Joined: 15 Mar 2005 Posts: 233
|
Posted: Sat Dec 10, 2005 12:06 am Post subject: |
|
|
Have either of you two tried rebuilding Python? _________________ Ubuntu -- An african word meaning 'Gentoo is too hard for me' |
|
Back to top |
|
|
jonfr Veteran
Joined: 20 Jul 2003 Posts: 1008 Location: Denmark
|
Posted: Wed Feb 08, 2006 4:25 pm Post subject: |
|
|
This bug is back from the dead. With same errors as before regarding bittorando.
Code: | btdownloadgui.py
wxPython is either not installed or has not been installed properly.
|
But now when i try this, i get this error.
Code: | jupiter jonfr # emerge wxpython
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-python/wxpython-2.6.1.0 to /
>>> md5 files ;-) wxpython-2.4.2.4-r3.ebuild
>>> md5 files ;-) wxpython-2.4.2.4.ebuild
>>> md5 files ;-) wxpython-2.6.0.0-r1.ebuild
>>> md5 files ;-) wxpython-2.6.1.0.ebuild
>>> md5 files ;-) files/digest-wxpython-2.4.2.4-r3
>>> md5 files ;-) files/digest-wxpython-2.4.2.4
>>> md5 files ;-) files/scripts-multiver-2.6.0.0.diff
>>> md5 files ;-) files/digest-wxpython-2.6.0.0-r1
>>> md5 files ;-) files/digest-wxpython-2.6.1.0
>>> md5 files ;-) files/wxversion.py
>>> md5 files ;-) files/scripts-multiver-2.6.1.0.diff
>>> md5 files ;-) files/wxpy-config.py
>>> md5 src_uri ;-) wxPython-src-2.6.1.0.tar.gz
>>> Unpacking source...
>>> Unpacking wxPython-src-2.6.1.0.tar.gz to /var/tmp/portage/wxpython-2.6.1.0/work
* Applying scripts-multiver-2.6.1.0.diff ... [ ok ]
>>> Source unpacked.
!!! set-wxconfig: Error: Can't find normal or debug version:
!!! set-wxconfig: /usr/lib/wx/config/gtk-ansi-release-2.6 not found
!!! set-wxconfig: /usr/lib/wx/config/gtk-ansi-debug-2.6 not found
!!! You need to emerge wxGTK with wxgtk1 in your USE
|
But this are my use flag regarding wxGTK
Code: | emerge wxGTK -pv
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] x11-libs/wxGTK-2.6.2-r1 +X -debug -doc -gnome -joystick -odbc +opengl +sdl -unicode 0 kB
Total size of downloads: 0 kB
|
My old fix doesn't work anymore. |
|
Back to top |
|
|
plastikman187 Apprentice
Joined: 15 Mar 2005 Posts: 233
|
Posted: Thu Feb 09, 2006 9:25 pm Post subject: |
|
|
jonfr,
what happens when you do this:
Code: |
python -c "from wxPython.wx import *"
|
? _________________ Ubuntu -- An african word meaning 'Gentoo is too hard for me' |
|
Back to top |
|
|
jonfr Veteran
Joined: 20 Jul 2003 Posts: 1008 Location: Denmark
|
Posted: Thu Feb 09, 2006 9:31 pm Post subject: |
|
|
I get this error msg.
Quote: | jupiter jonfr # python -c "from wxPython.wx import *"
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk-ansi/wxPython/__init__.py", line 10, in ?
import _wx
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk-ansi/wxPython/_wx.py", line 3, in ?
from _core import *
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk-ansi/wxPython/_core.py", line 15, in ?
import wx._core
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk-ansi/wx/__init__.py", line 42, in ?
from wx._core import *
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk-ansi/wx/_core.py", line 4, in ?
import _core_
ImportError: libwx_gtk_xrc-2.6.so.0: cannot open shared object file: No such file or directory
|
|
|
Back to top |
|
|
plastikman187 Apprentice
Joined: 15 Mar 2005 Posts: 233
|
Posted: Fri Feb 10, 2006 12:30 am Post subject: |
|
|
Does that file actually exist on your machine?
Is it in your python path? _________________ Ubuntu -- An african word meaning 'Gentoo is too hard for me' |
|
Back to top |
|
|
F-0_ICE l33t
Joined: 06 Dec 2004 Posts: 679
|
Posted: Fri Feb 24, 2006 8:08 pm Post subject: |
|
|
similar problem here i seemed to get it to run after recompiling wxGTK, wxpython and bittornado but i end up with this
Code: |
/usr/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/_core.py:13155: UserWarning: wxPython/wxWidgets release number mismatch
warnings.warn("wxPython/wxWidgets release number mismatch")
|
when running btdownloadgui.py from konsole.
all else seems fine thought and the program works
wxGTK
Code: |
x11-libs/wxGTK-2.6.2-r1 +X +debug -doc -gnome -joystick -odbc +opengl +sdl -unicode
|
wxpython
Code: |
dev-python/wxpython-2.6.1.0 +gtk +gtk2 +opengl -unicode
|
if this error means anything please let me know. _________________ ~AMD64
AMD: Athlon64 X2 3800+
2G PC3200
ATI: RADEON HD 4350
Linksys: WMP54G
True Knowledge is Best Acquired Through Experience. |
|
Back to top |
|
|
plastikman187 Apprentice
Joined: 15 Mar 2005 Posts: 233
|
Posted: Tue Feb 28, 2006 1:42 am Post subject: |
|
|
Mine gives me the same error...and works...not sure what it means.... _________________ Ubuntu -- An african word meaning 'Gentoo is too hard for me' |
|
Back to top |
|
|
Gentoonie Apprentice
Joined: 06 Apr 2004 Posts: 205 Location: near Munich | Bavaria | Germany
|
Posted: Tue Mar 07, 2006 7:17 pm Post subject: |
|
|
I have exactly the same problem right now.
I installed the following:
Code: | [ebuild R ] x11-libs/wxGTK-2.6.2-r1 USE="X gnome opengl sdl unicode -debug -doc -joystick -odbc" 0 kB
[ebuild R ] dev-python/wxpython-2.6.1.0 USE="gtk gtk2 opengl unicode" 0 kB |
But i get the same old error message that there would be no wxPython installed.
Running Code: | python -c "from wxPython.wx import *" | gives me
Code: | Traceback (most recent call last):
File "<string>", line 1, in ?
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wxPython/__init__.py", line 10, in ?
import _wx
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wxPython/_wx.py", line 3, in ?
from _core import *
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wxPython/_core.py", line 15, in ?
import wx._core
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-2.6.so.0: undefined symbol: _ZNK11wxClassInfo8IsKindOfEPKS_
|
Is there still no solution to this annoying bugs? =/
Greets to all _________________ Do you know the secret hand shake - you best use it.
GCC 4, Kernel 2.6.14-ck7, NPTL |
|
Back to top |
|
|
|