Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47300 - python-xlib-0.12-r1 and pypanel-1.1 works on amd64
Summary: python-xlib-0.12-r1 and pypanel-1.1 works on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-08 21:11 UTC by Pavel
Modified: 2004-12-17 06:29 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 Pavel 2004-04-08 21:11:02 UTC
Please add "~amd64" to the KEYWORDS

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r3 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 x86_64 4
Gentoo Base System version 1.4.6
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 apm arts avi berkdb crypt encode esd foomaticdb gdbm gif
gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mikmod motif mozilla mpeg
ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline sdl slang spell ssl tcpd truetype xml2 xmms xv zlib"
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2004-04-15 15:25:57 UTC
Both packages seem to emerge fine, BUT...

dvandyk@phi qjackctl $ pypanel
/usr/lib/python2.3/site-packages/Xlib/display.py:30: DeprecationWarning: Non-ASCII character '\xf6' in file /usr/lib/python2.3/site-packages/Xlib/protocol/display.py on line 749, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
  import protocol.display
Segmentation fault

I tried to use it with xorg-x11 instead xfree.

Pavel: please report your version of X11
Comment 2 Pavel 2004-04-19 08:09:47 UTC
I am using  x11-base/xorg-x11-6.7.0. All I can say is that my config[home directory] file is from x86 machine. 
Comment 3 Tom Martin (RETIRED) gentoo-dev 2004-07-01 08:55:37 UTC
I added a magic comment (-*- coding: utf-8 -*-) to /usr/lib/python2.3/site-packages/Xlib/protocol/display.py, and the PEP warning is omitted, but still the same segfault. There doesn't seem to be any real debugging output.

This bug doesn't /really/ seem to be related to the encoding PEP, but something bigger and badder in python-xlib. I'd appreciate it lots and lots if someone from another architecture could have a look.
Comment 4 Jonathan Coome (RETIRED) gentoo-dev 2004-10-21 05:57:57 UTC
Re comment #1 - I get the same error, but no segfault. I'm currently using it with xorg-x11-6.8.0-r1.
Comment 5 Jonathan Coome (RETIRED) gentoo-dev 2004-10-21 06:26:14 UTC
And I'm using pypanel-1.3 for that matter... I didn't notice in my haste how old the bug was...
Comment 6 Tom Martin (RETIRED) gentoo-dev 2004-10-27 02:07:32 UTC
python@gentoo.org: Any ideas guys?
Comment 7 Eric Huff 2004-11-30 19:40:03 UTC
I get the same bug.

I am not on Gentoo, but I hope this info is helpful:

~ $ pypanel
/usr/lib/python2.3/site-packages/Xlib/display.py:30: DeprecationWarning: Non-ASCII character '\xf6' in file /usr/lib/python2.3/site-packages/Xlib/protocol/display.py on line 749, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
  import protocol.display

No seg fault, Pypanel does run, but as i switch desktops, the windows listed don't get erased.  The result is that after switching to a few desktops with windows in them, pypanel has a bunch of names written on top of each other.

My system:  
Intel Celeron
Mandrake 10.0 official (up to date on 2004-11-30)
kernel 2.6.3-7mdk

I compiled the imlib 2.0 myself, so the potential for error is there.
~ $ imlib2-config --version  == 1.1.2

~ $ Xorg -version
Release Date: 18 December 2003
X Protocol Version 11, Revision 0, Release 6.7
Build Operating System: Linux 2.6.4-1.tmb.5mdk i686 [ELF] 
Current Operating System: Linux cuda.ehuffy.com 2.6.3-7mdk #1 Wed Mar 17 15:56:42 CET 2004 i686
Build Date: 05 November 2004
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present

I'm also running pekwm, if that matters.

eric
Comment 8 Tom Martin (RETIRED) gentoo-dev 2004-12-17 06:29:22 UTC
Pypanel 2.0 works great for me.

Marked in CVS. Thanks all.