My apologies for accidentally posting this question twice. I missed the note about it being a moderated forum and posts requiring approval.
The problem was in my language settings, which I somehow mangled. I needed to edit, as root, my /etc/locale.conf and change the incorrect en_US_UTF.8 to en_US_UTF-8 (note hyphen and dot before the 8). After rebooting, all is fixed. Thanks for the responses. On Wednesday, June 26, 2013 4:19:07 PM UTC-4, Nathan wrote: > > First, what version of pyglet are you using? > > Second, from the error it appears that the program is having trouble > converting the value of _NET_WM_NAME to UTF8 -- so...any ideas about that? > I presume that variable has something to do with the name of some Window > Manager network...something or other. > > ~ Nathan > > > On Tue, Jun 25, 2013 at 2:02 PM, Britt Anderson > <[email protected]<javascript:> > > wrote: > >> I have a python script that runs fine on multiple machines running linux, >> however on this machine which is configured similarly, but uses an ATI >> graphics card I get an error. Can anyone suggest how I should figure out >> what is wrong? >> >> Thanks >> >> Error message: >> >> 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 >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/pyglet-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- 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.
