hualet / pycompmgr

Automatically exported from code.google.com/p/pycompmgr
0 stars 0 forks source link

Error running pycompmgr 'module' object has no attribute 'Struct' #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Note: This issue contains a working solution at the end.

What steps will reproduce the problem?
Ubuntu running openbox
$> ./pycompmgr 
Traceback (most recent call last):
  File "./pycompmgr", line 7, in <module>
    import pycomp
  File "/home/kporter/pycompmgr/pycomp/__init__.py", line 1, in <module>
    import xcb, xcb.xproto, xcb.render, xcb.composite, xcb.damage
  File "/usr/lib/pymodules/python2.6/xcb/xproto.py", line 11, in <module>
    class CHAR2B(xcb.Struct):
AttributeError: 'module' object has no attribute 'Struct'

What is the expected output? What do you see instead?
Not this :)

What version of the product are you using? On what operating system?
Latest as of today

Fix action:
sudo ln -s /usr/lib/pymodules/python2.6/xcb/xcb.so.0.0.0 
/usr/lib/pymodules/python2.6/xcb/xcb.so

Original issue reported on code.google.com by kporte...@gmail.com on 8 Feb 2011 at 9:17

GoogleCodeExporter commented 9 years ago
Sorry, didn't mean to double post.

Original comment by kporte...@gmail.com on 8 Feb 2011 at 9:17