<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>47300</bug_id>
          
          <creation_ts>2004-04-08 21:11 0000</creation_ts>
          <short_desc>python-xlib-0.12-r1 and pypanel-1.1 works on amd64</short_desc>
          <delta_ts>2004-12-17 06:29:22 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>hlobil@gmail.com</reporter>
          <assigned_to>amd64@gentoo.org</assigned_to>
          <cc>python@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>hlobil@gmail.com</who>
            <bug_when>2004-04-08 21:11:02 0000</bug_when>
            <thetext>Please add &quot;~amd64&quot; 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=&quot;amd64 ~amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O3 -pipe&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O3 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache sandbox&quot;
GENTOO_MIRRORS=&quot;http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j3&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kugelfang@gentoo.org</who>
            <bug_when>2004-04-15 15:25:57 0000</bug_when>
            <thetext>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 &apos;\xf6&apos; 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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hlobil@gmail.com</who>
            <bug_when>2004-04-19 08:09:47 0000</bug_when>
            <thetext>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. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>slarti@gentoo.org</who>
            <bug_when>2004-07-01 08:55:37 0000</bug_when>
            <thetext>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&apos;t seem to be any real debugging output.

This bug doesn&apos;t /really/ seem to be related to the encoding PEP, but something bigger and badder in python-xlib. I&apos;d appreciate it lots and lots if someone from another architecture could have a look.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>maedhros@gentoo.org</who>
            <bug_when>2004-10-21 05:57:57 0000</bug_when>
            <thetext>Re comment #1 - I get the same error, but no segfault. I&apos;m currently using it with xorg-x11-6.8.0-r1.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>maedhros@gentoo.org</who>
            <bug_when>2004-10-21 06:26:14 0000</bug_when>
            <thetext>And I&apos;m using pypanel-1.3 for that matter... I didn&apos;t notice in my haste how old the bug was...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>slarti@gentoo.org</who>
            <bug_when>2004-10-27 02:07:32 0000</bug_when>
            <thetext>python@gentoo.org: Any ideas guys?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mandrake@ehuffy.com</who>
            <bug_when>2004-11-30 19:40:03 0000</bug_when>
            <thetext>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 &apos;\xf6&apos; 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&apos;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&apos;m also running pekwm, if that matters.

eric
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>slarti@gentoo.org</who>
            <bug_when>2004-12-17 06:29:22 0000</bug_when>
            <thetext>Pypanel 2.0 works great for me.

Marked in CVS. Thanks all.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>