Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnboundLocalError: local variable 'basestring' referenced before assignment #23

Open
ViktorNova opened this issue Feb 27, 2015 · 0 comments

Comments

@ViktorNova
Copy link

I am having this issue, which was also reported by someone else in the past but was closed without explanation:
#22

This error happens immediately on startup

Here is the traceback

Traceback (most recent call last):
  File "/usr/bin/pytyle3", line 19, in <module>
    client.update_clients()
  File "/usr/lib/python2.7/site-packages/pt3/client.py", line 192, in update_clients
    track_client(c)
  File "/usr/lib/python2.7/site-packages/pt3/client.py", line 208, in track_client
    clients[client] = Client(client)
  File "/usr/lib/python2.7/site-packages/pt3/client.py", line 52, in __init__
    tile.update_client_add(self)
  File "/usr/lib/python2.7/site-packages/pt3/tile.py", line 88, in update_client_add
    tiler.add(c)
  File "/usr/lib/python2.7/site-packages/pt3/layouts/layout_vert_horz.py", line 21, in add
    self.store.add(c)
  File "/usr/lib/python2.7/site-packages/pt3/layouts/store.py", line 16, in add
    ewmh.request_wm_state_checked(c.wid,0,util.get_atom('_NET_WM_STATE_BELOW')).check()
  File "/usr/lib/python2.7/site-packages/xpybutil/ewmh.py", line 1434, in request_wm_state_checked
    action, first, second, source)
  File "/usr/lib/python2.7/site-packages/xpybutil/event.py", line 90, in root_send_client_event_checked
    packed = pack_client_message(window, message_type, *data)
  File "/usr/lib/python2.7/site-packages/xpybutil/event.py", line 72, in pack_client_message
    if isinstance(message_type, basestring):
UnboundLocalError: local variable 'basestring' referenced before assignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant