You are not logged in.
Pages: 1
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
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
Offline
Running here with no problems
could you post a
$ pacman -Qs python
by any chance?
Offline
fixed the non-ascii character warning message,
http://sourceforge.net/forum/forum.php? … _id=311692
but it still segfaults :-/
Offline
bigbob73 wrote:Running here with no problems
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
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
http://aviddot.net/trace.txt i couldnt' find anything :-/
Offline
$ 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
Offline
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
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
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_localesAs 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
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
locale-gen maybe?
Mr Green
Offline
I also did locale-gen, but I still get this error.
Offline
you have uncommented your locales in /etc/locale.gen ?
then maybe log out & in again....
Mr Green
Offline
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
no problem 8)
Mr Green
Offline
Pages: 1