traverseda / pycompmgr

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

pycompmgr fails to load: NameError: global name 'RECTANGLE' is not defined #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Ubuntu running openbox

./pycompmgr 
Traceback (most recent call last):
  File "./pycompmgr", line 64, in <module>
    e = pycomp.conn.wait_for_event()
  File "/usr/lib/pymodules/python2.6/xcb/damage.py", line 48, in __init__
    self.area = RECTANGLE(self, count, 8)
NameError: global name 'RECTANGLE' is not defined

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.

Please provide any additional information below.
Could I get a list of packages that I need to install to use pycompmgr.

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

GoogleCodeExporter commented 9 years ago
You can fix this by yourself by editing 
"/usr/lib/pymodules/python2.6/xcb/damage.py" respectively 
"/usr/lib/pymodules/python2.7/xcb/damage.py and replace every occurrence of 
"RECTANGLE" by "xproto.RECTANGLE".

Original comment by ubuntu...@gmail.com on 19 Jun 2012 at 6:59