Skip to content

Instantly share code, notes, and snippets.

@AeroNotix
Created March 18, 2012 16:26
Show Gist options
  • Save AeroNotix/2076825 to your computer and use it in GitHub Desktop.
Save AeroNotix/2076825 to your computer and use it in GitHub Desktop.
/usr/bin/python2 ./py_client.py -p /usr/lib/python2.7/site-packages /usr/share/xcb/xproto.xml
Traceback (most recent call last):
File "./py_client.py", line 623, in <module>
module.generate()
File "/usr/lib/python2.7/site-packages/xcbgen/state.py", line 101, in generate
item.out(name)
File "./py_client.py", line 363, in py_struct
_py_complex(self, name)
File "./py_client.py", line 327, in _py_complex
_py(' self.%s = xcb.List(self, count, %s, %s, %d)', _n(field.field_name), _py_get_expr(field.type.expr), field.py_listtype, field.py_listsize)
File "./py_client.py", line 278, in _py_get_expr
lenexp = _py_get_length_field(expr)
File "./py_client.py", line 264, in _py_get_length_field
if hasattr(expr.parent.parent, "opcode"):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment