[Xcb] [Bug 60502] New: xpyb: damage.py does not work: "NameError: global name 'RECTANGLE' is not defined"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 8 08:04:35 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=60502

          Priority: medium
            Bug ID: 60502
          Assignee: xcb at lists.freedesktop.org
           Summary: xpyb: damage.py does not work: "NameError: global name
                    'RECTANGLE' is not defined"
        QA Contact: xcb at lists.freedesktop.org
          Severity: major
    Classification: Unclassified
                OS: All
          Reporter: daniel.mcdougall at liftoffsoftware.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: Library
           Product: XCB

For whatever reason, the build process of xpyb results in an error in the
damage.py module.  The two occurrences of RECTANGLE in the file should be
xproto.RECTANGLE.  This problem seems to exist in all packages of xpyb that
I've encountered (Debian/Ubuntu/pypi).

I tried looking at the Makefile and other areas of the build process to find
the bug/make a patch but it is way over my head.  I don't know why damage.py is
being generated incorrectly but something as simple as a search/replace at the
end of the build process would work around the problem as a quick fix...

sed -i -e 's/RECTANGLE/xproto.RECTANGLE/g' damage.py

Let me know if I can be of any assistance in fixing this bug.  Thanks!

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20130208/65e76006/attachment.html>


More information about the Xcb mailing list