wxPython problem

Net Llama! netllama
Thu Sep 9 10:27:11 PDT 2004


Youv'e got a ton of lib64 stuff in there.  Are you using an Opteron?
Where did you obtain your python package, and where did you obtain your
wxPython package?

On Thu, 9 Sep 2004, Michael Hipp wrote:

> Roger Oberholtzer wrote:
> > Try running:
> >
> > strace -o /tmp/wx.log_your_command_and_options
> >
> > Then, look at /tmp/wx.log. Specifically, at references to the .so file
> > in question. Sometimes it is that the .so file will not load because of
> > unresolved symbols. This is quite often the case when mixing RPMs from
> > various places and times. You may see that here.
>
> Thanks, Roger.
>
> Here's what I get from strace (the last 30 or so lines). At about the
> 10th linebelow it looks like the traceback begins and things are
> unraveling. Any idea what to look for above that. I wonder why it
> appears to open wxc.so twice.
>
> Thanks,
> Michael
>
> stat("/usr/lib/python2.3/site-packages/wxPython/wxc", 0x7fbfffc090) = -1
> ENOENT (No such file or directory)
> open("/usr/lib/python2.3/site-packages/wxPython/wxc.so", O_RDONLY) = 5
> fstat(5, {st_mode=S_IFREG|0755, st_size=2323356, ...}) = 0
> futex(0x36c43010f4, FUTEX_WAKE, 2147483647) = 0
> open("/usr/lib/python2.3/site-packages/wxPython/wxc.so", O_RDONLY) = 6
> read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\326"...,
> 640) = 640
> close(6)                                = 0
> close(5)                                = 0
> close(4)                                = 0
> close(3)                                = 0
> futex(0x6f4460, FUTEX_WAKE, 1)          = 0
> write(2, "Traceback (most recent call last"..., 35) = 35
> open("<string>", O_RDONLY)              = -1 ENOENT (No such file or
> directory)
> open("<string>", O_RDONLY)              = -1 ENOENT (No such file or
> directory)
> open("/usr/lib64/python23.zip/<string>", O_RDONLY) = -1 ENOENT (No such
> file or directory)
> open("/usr/lib64/python2.3/<string>", O_RDONLY) = -1 ENOENT (No such
> file or directory)
> open("/usr/lib64/python2.3/plat-linux2/<string>", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> open("/usr/lib64/python2.3/lib-tk/<string>", O_RDONLY) = -1 ENOENT (No
> such file or directory)
> open("/usr/lib64/python2.3/lib-dynload/<string>", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> open("/usr/lib64/python2.3/site-packages/<string>", O_RDONLY) = -1
> ENOENT (No such file or directory)
> open("/usr/lib64/python2.3/site-packages/gtk-2.0/<string>", O_RDONLY) =
> -1 ENOENT (No such file or directory)
> open("/usr/lib/python2.3/site-packages/<string>", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> write(2, "  File \"<string>\", line 1, in ?\n", 32) = 32
> open("/usr/lib/python2.3/site-packages/wx/__init__.py", O_RDONLY) = 3
> write(2, "  File \"/usr/lib/python2.3/site-"..., 72) = 72
> fstat(3, {st_mode=S_IFREG|0644, st_size=2298, ...}) = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
> = 0x2a97c87000
> read(3, "\"\"\"wx package\n\nProvides a way to"..., 4096) = 2298
> write(2, "    ", 4)                     = 4
> write(2, "from wxPython import wx\n", 24) = 24
> close(3)                                = 0
> munmap(0x2a97c87000, 4096)              = 0
> open("/usr/lib/python2.3/site-packages/wxPython/__init__.py", O_RDONLY) = 3
> write(2, "  File \"/usr/lib/python2.3/site-"..., 78) = 78
> fstat(3, {st_mode=S_IFREG|0644, st_size=766, ...}) = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
> = 0x2a97c87000
> read(3, "#-------------------------------"..., 4096) = 766
> write(2, "    ", 4)                     = 4
> write(2, "import wxc\n", 11)            = 11
> close(3)                                = 0
> munmap(0x2a97c87000, 4096)              = 0
> write(2, "ImportError", 11)             = 11
> write(2, ": ", 2)                       = 2
> write(2, "/usr/lib/python2.3/site-packages"..., 107) = 107
> write(2, "\n", 1)                       = 1
> rt_sigaction(SIGINT, NULL, {0x47cdf0, [], 0x4000000}, 8) = 0
> rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
> futex(0x749f80, FUTEX_WAKE, 1)          = 0
> futex(0x6f4080, FUTEX_WAKE, 1)          = 0
> futex(0x6f4080, FUTEX_WAKE, 1)          = 0
> futex(0x6f4080, FUTEX_WAKE, 1)          = 0
> exit_group(1)                           = ?
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> http://mail.linux-sxs.org/cgi-bin/mailman/listinfo/linux-users
>

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman                                netllama at linux-sxs.org
Linux Step-by-step & TyGeMo                  http://netllama.ipfox.com


More information about the Linux-users mailing list