On 25/06/13 20:58, Britt Anderson wrote:
I use the python library psychopy which uses pyglet. I have it working on several machines running archlinux, but with this computer (using an ATI video card), I get an error for python code that executes fine on other machines with the same setup. Can anyone suggest how I might track down the problem? Thank you.

Traceback (most recent call last):
  File "demo.py", line 3, in <module>
    from pyglet.window import key
File "/usr/lib/python2.7/site-packages/pyglet/window/__init__.py", line 1684, in <module>
    gl._create_shadow_window()
File "/usr/lib/python2.7/site-packages/pyglet/gl/__init__.py", line 494, in _create_shadow_window
    _shadow_window = Window(width=1, height=1, visible=False)
File "/usr/lib/python2.7/site-packages/pyglet/window/xlib/__init__.py", line 474, in __init__
    super(XlibWindow, self).__init__(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/pyglet/window/__init__.py", line 686, in __init__
    self._create()
File "/usr/lib/python2.7/site-packages/pyglet/window/xlib/__init__.py", line 651, in _create
    self.set_caption(self._caption)
File "/usr/lib/python2.7/site-packages/pyglet/window/xlib/__init__.py", line 822, in set_caption
    self._set_text_property('_NET_WM_NAME', caption)
File "/usr/lib/python2.7/site-packages/pyglet/window/xlib/__init__.py", line 1065, in _set_text_property
    raise XlibException('Could not create UTF8 text property')
pyglet.window.xlib.XlibException: Could not create UTF8 text property

It looks like a problem with your window manager:
http://standards.freedesktop.org/wm-spec/1.4/ar01s05.html
maybe try a different one first? Or look for UTF8 locale stuff?

--
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to