Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • libxcb libxcb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 41
    • Issues 41
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorg
  • lib
  • libxcblibxcb
  • Issues
  • #6

Closed (moved)
(moved)
Open
Created Feb 08, 2013 by Bugzilla Migration User@bugzilla-migration

xpyb: damage.py does not work: "NameError: global name 'RECTANGLE' is not defined"

Submitted by Dan McDougall

Assigned to xcb mailing list dummy

Link to original bug (#60502)

Description

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!

Version: 1.1

Assignee
Assign to
Time tracking