You are not logged in.

#1 2006-08-23 02:29:38

karsten
Member
Registered: 2006-07-14
Posts: 261

pypanel?

anyone running it on 64-bit?

$ pypanel
/usr/lib/python2.4/site-packages/Xlib/display.py:30: DeprecationWarning: Non-ASCII character 'xf6' in file /usr/lib/python2.4/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

Offline

#2 2006-08-23 02:37:40

bigbob73
Member
From: Fort Worth, Texas
Registered: 2006-07-19
Posts: 89

Re: pypanel?

karsten wrote:

anyone running it?

$ pypanel
/usr/lib/python2.4/site-packages/Xlib/display.py:30: DeprecationWarning: Non-ASCII character 'xf6' in file /usr/lib/python2.4/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

Running here with no problems  wink

Offline

#3 2006-08-23 02:59:24

karsten
Member
Registered: 2006-07-14
Posts: 261

Re: pypanel?

bigbob73 wrote:

Running here with no problems  wink

could you post a

$ pacman -Qs python

by any chance?

Offline

#4 2006-08-23 03:37:54

karsten
Member
Registered: 2006-07-14
Posts: 261

Re: pypanel?

fixed the non-ascii character warning message,

http://sourceforge.net/forum/forum.php? … _id=311692

but it still segfaults :-/

Offline

#5 2006-08-23 10:24:23

bigbob73
Member
From: Fort Worth, Texas
Registered: 2006-07-19
Posts: 89

Re: pypanel?

karsten wrote:
bigbob73 wrote:

Running here with no problems  wink

could you post a

$ pacman -Qs python

by any chance?

karsten, i just realized you were asking about 64 bit, so sorry, but i'm running 32 bit  :oops:

Offline

#6 2006-08-23 10:50:43

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: pypanel?

Hm. Frugal and Gentoo have no special fixes for our arch. Maybe the problem is one of its dependencies.

Maybe strace can you show you something helpfull.

Offline

#7 2006-08-23 13:21:34

karsten
Member
Registered: 2006-07-14
Posts: 261

Re: pypanel?

http://aviddot.net/trace.txt i couldnt' find anything :-/

Offline

#8 2006-09-02 00:46:23

Thalassinus
Member
Registered: 2006-08-29
Posts: 55

Re: pypanel?

$ pypanel
Traceback (most recent call last):
  File "/usr/bin/pypanel", line 948, in ?
    locale.setlocale(locale.LC_ALL, "")
  File "/usr/lib/python2.4/locale.py", line 381, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

Any idea? I just did pacman -S pypanel  :?

Offline

#9 2006-09-02 00:57:56

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 794
Website

Re: pypanel?

Thalassinus: Can you post the output of locale -a?

Offline

#10 2006-09-02 03:04:03

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: pypanel?

codemac wrote:

Thalassinus: Can you post the output of locale -a?

Yes. You need to configure your locales. From:
http://wiki.archlinux.org/index.php/Configuring_locales

As super user, edit /etc/locale.gen, uncommenting (removing "#" from the beginnings of appropriate lines) the locales you require. Then, run locale-gen.

Offline

#11 2006-09-02 03:32:26

karsten
Member
Registered: 2006-07-14
Posts: 261

Re: pypanel?

well now after a few software upgrades the thing won't even run on a 32-bit chroot anymore:

$ pypanel
Traceback (most recent call last):
  File "/usr/bin/pypanel", line 957, in ?
    PyPanel(display.Display())
  File "/usr/lib/python2.4/site-packages/Xlib/display.py", line 80, in __init__
    self.display = _BaseDisplay(display)
  File "/usr/lib/python2.4/site-packages/Xlib/display.py", line 67, in __init__
    apply(protocol.display.Display.__init__, (self, ) + args, keys)
  File "/usr/lib/python2.4/site-packages/Xlib/protocol/display.py", line 122, in __init__
    self.default_screen = min(self.default_screen, len(self.info.roots) - 1)
  File "/usr/lib/python2.4/site-packages/Xlib/protocol/rq.py", line 1371, in __getattr__
    raise AttributeError(attr)
AttributeError: roots

Offline

#12 2006-09-02 17:57:30

Thalassinus
Member
Registered: 2006-08-29
Posts: 55

Re: pypanel?

Snowman wrote:
codemac wrote:

Thalassinus: Can you post the output of locale -a?

Yes. You need to configure your locales. From:
http://wiki.archlinux.org/index.php/Configuring_locales

As super user, edit /etc/locale.gen, uncommenting (removing "#" from the beginnings of appropriate lines) the locales you require. Then, run locale-gen.

$ locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
C
POSIX
sl_SI
sl_SI.iso88592
sl_SI.utf8
slovene
slovenian

I did like you said smile
But I still can't get pypanel running:

$ pypanel
Traceback (most recent call last):
  File "/usr/bin/pypanel", line 948, in ?
    locale.setlocale(locale.LC_ALL, "")
  File "/usr/lib/python2.4/locale.py", line 381, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

Offline

#13 2006-09-02 18:55:27

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,912
Website

Re: pypanel?

locale-gen maybe?


Mr Green

Offline

#14 2006-09-02 19:12:24

Thalassinus
Member
Registered: 2006-08-29
Posts: 55

Re: pypanel?

I also did locale-gen, but I still get this error.

Offline

#15 2006-09-02 19:22:30

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,912
Website

Re: pypanel?

you have uncommented your locales in /etc/locale.gen ?

then maybe log out & in again....


Mr Green

Offline

#16 2006-09-02 21:37:23

Thalassinus
Member
Registered: 2006-08-29
Posts: 55

Re: pypanel?

I didn't know that I must uncoment locale which is in /etc/rc.conf  :oops:
Now everything works, thank you all for help!

Offline

#17 2006-09-03 05:35:28

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,912
Website

Re: pypanel?

no problem   8)


Mr Green

Offline

Board footer

Powered by FluxBB