Skip Menu |

This queue is for tickets about the X11-Protocol-Other CPAN distribution.

Report information
The Basics
Id: 92183
Status: resolved
Priority: 0/
Queue: X11-Protocol-Other

People
Owner: KRYDE [...] cpan.org
Requestors: DKOGAN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Test failures
Hi. I just made soon-to-be official debian packages, so I'm trying to tied up some loose ends. I'm seeing some test failures with the latest X11::Protocol::Other (version 28). It's not obvious that these are really bugs, so I apologize if this is really ok. 1. $ perl -Mblib t/WM.t <lots of successful output> not ok 247 # Test 247 got: "" (t/WM.t at line 1157) # Expected: "IconicState" # t/WM.t line 1157 is: skip ($skip, $wm_state, 'IconicState'); I'm hypothesizing that my window manager (notion) is denying the iconify() request, hence the failure. Does this sound plausible? 2. $ perl -Mblib t/XFIXES-5.t 1..2 # Running under perl version 5.018001 for linux # Current time local: Wed Jan 15 15:25:59 2014 # Current time GMT: Wed Jan 15 23:25:59 2014 # Using Test.pm version 1.26 # X11::Protocol version 0.56 # XFIXES extension opcode=148 event=99 error=160 # XFixesQueryVersion ask for 5.0 got server version 5.0 ok 1 Use of uninitialized value in numeric eq (==) at /usr/share/perl5/X11/Protocol.pm line 588. Protocol error: bad 16 (Length); Sequence Number 13 Opcode (148, 31) = XFixesCreatePointerBarrier at t/XFIXES-5.t line 150. # END Don't know what this one means without digging. Let me know if this sounds like a problem. Thanks for the useful module!
CC: bug-X11-Protocol-Other [...] rt.cpan.org
Subject: Re: [rt.cpan.org #92183] Test failures
Date: Thu, 16 Jan 2014 12:00:03 +1100
To: DKOGAN [...] cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
"Dima Kogan via RT" <bug-X11-Protocol-Other@rt.cpan.org> writes: Show quoted text
> > # Test 247 got: "" (t/WM.t at line 1157) > # Expected: "IconicState" > # t/WM.t line 1157 is: skip ($skip, $wm_state, 'IconicState'); > > I'm hypothesizing that my window manager (notion) is denying the iconify() request, hence the failure. Does this sound plausible?
Maybe. Dunno why it would be empty string in that case. I'll try to look into it. Which window manager? Show quoted text
> Protocol error: bad 16 (Length); Sequence Number 13 > Opcode (148, 31) = XFixesCreatePointerBarrier > at t/XFIXES-5.t line 150. > # END > > Don't know what this one means without digging. Let me know if this sounds like a problem.
Hmm. That might be an actual bug. I had some trouble there but thought I fixed it.
CC: Kevin Ryde <user42 [...] zip.com.au>
Subject: Re: [rt.cpan.org #92183] Test failures
Date: Wed, 15 Jan 2014 18:13:47 -0800
To: bug-X11-Protocol-Other [...] rt.cpan.org
From: Dima Kogan <dima [...] secretsauce.net>
user42@zip.com.au writes: Show quoted text
> "Dima Kogan via RT" <bug-X11-Protocol-Other@rt.cpan.org> writes:
>> >> # Test 247 got: "" (t/WM.t at line 1157) >> # Expected: "IconicState" >> # t/WM.t line 1157 is: skip ($skip, $wm_state, 'IconicState'); >> >> I'm hypothesizing that my window manager (notion) is denying the iconify() request, hence the failure. Does this sound plausible?
> > Maybe. Dunno why it would be empty string in that case. I'll try to > look into it. Which window manager?
Notion. I can help get more information, if that's useful.
CC: bug-X11-Protocol-Other [...] rt.cpan.org
Subject: Re: [rt.cpan.org #92183] Test failures
Date: Fri, 17 Jan 2014 09:42:35 +1100
To: Dima Kogan <dima [...] secretsauce.net>
From: Kevin Ryde <user42 [...] zip.com.au>
Dima Kogan <dima@secretsauce.net> writes: Show quoted text
> > Notion.
Ah yep, and you said that already too. Yes there's various other wms too which don't have an iconic state. I'll disable the tests. Dunno yet what the pointer barrier error means ...
Thanks. I uploaded a version 29 which might be better. I think the code was ok but the tests not. The pointer barrier was past versions of the x.org server not taking device ID args.
Subject: Re: [rt.cpan.org #92183] Test failures
Date: Sat, 18 Jan 2014 00:38:31 -0800
To: bug-X11-Protocol-Other [...] rt.cpan.org
From: Dima Kogan <dima [...] secretsauce.net>
bug-X11-Protocol-Other@rt.cpan.org writes: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=92183 > > > Thanks. I uploaded a version 29 which might be better. I think the code was ok but the tests not. > > The pointer barrier was past versions of the x.org server not taking device ID args.
Thanks for that. All the tests pass now for me. The official packages are now in NEW: https://ftp-master.debian.org/new/libx11-protocol-other-perl_28-1.html