X Protocol Error

2005-06-07
2013-04-15
  • Richard Whelan
    Richard Whelan
    2005-06-07

    Hi,

    I've just built pypanel, and generally got it working fine. After finding the solution to the '\xf6' problem, I now have another. I would like to use the ability of autohiding. I've reduced the clock time down, and am now shown the following messages:

    X protocol error:
    Xlib.error.BadValue: code = 2, resource_id = 0, sequence_number = xxx, major_opcode = 12, minor_opcode = 0

    The trace back shows:

    File "/usr/local/bin/pypanel", line 923, in ?
       PyPanel(display.Display())
    File "/usr/local/bin/pypanel", line 98, in __init__
       self.loop(self.display, self.root, self.window, self.panel)
    File "/usr/local/bin/pypanel", line 865, in loop
        rs, ws, es = select.select([dsp.display.socket], [], [], CLOCK_DELAY)

    Can anyone shed any light as what is causing this ?

    I'm running this under Solaris 9, with WindowMaker 0.91

    Thanks,

    Richard

     
    • Jon Gelo
      Jon Gelo
      2005-06-11

      I may need some more info.  When you start the panel, it gives you the X protocol error, and then dies?

      Could you send me the entire output in an email?

       
      • Richard Whelan
        Richard Whelan
        2005-06-15

        Hi Ziljian,

        Here is everything that gets echoed to the screen, after it is started. At this point the panel is showing. The Xlib
        errors come up after the short wait I've set for it to then
        auto-hide, and then each time I move the mouse on and off the panel. The panel never dies, it just never hides.

        richard@ukadmin1:richard:3> pypanel
        X protocol error:
        Xlib.error.BadValue: code = 2, resource_id = 0,
        sequence_number = 130, major_opcode = 12, minor_opcode = 0
        X protocol error:
        Xlib.error.BadValue: code = 2, resource_id = 0,
        sequence_number = 141, major_opcode = 12, minor_opcode = 0
        X protocol error:
        Xlib.error.BadValue: code = 2, resource_id = 0,
        sequence_number = 148, major_opcode = 12, minor_opcode = 0
        ^CTraceback (most recent call last):
          File "/usr/local/bin/pypanel", line 923, in ?
            PyPanel(display.Display())
          File "/usr/local/bin/pypanel", line 98, in __init__
            self.loop(self.display, self.root, self.window, self.panel)
          File "/usr/local/bin/pypanel", line 856, in loop
            rs, ws, es = select.select([dsp.display.socket], [], [],
        CLOCK_DELAY)
        KeyboardInterrupt

        If I can provide you with anything else, please let me know.

        Thanks,

        Richard