in reply to Re^4: Problem with WWW::Mechanize::Chrome
in thread Problem with WWW::Mechanize::Chrome

Thank you for pursuing this and keeping at this!

The error message reminds me of a bugfix where the (number of) parameters given to a callback changed with some version of AnyEvent::WebSocket, which I think I fixed already, but it seems I haven't even published the change on Github yet. Update: Now the change has been pushed.

In any case this sounds like a bug in my codebase to me, so I'll have to find out what callback is called at that place and whether my latest changes fix that. Having internal errors vanish silently is infuriating to me, and my codebase certainly shouldn't gobble up such errors.

I've seen those other warnings, but I'm not familiar enough with Websockets to know what an empty message should be, and whether undef would be allowed there.

Replies are listed 'Best First'.
Re^6: Problem with WWW::Mechanize::Chrome
by ivartr (Novice) on Nov 14, 2017 at 09:28 UTC
    Thank you! I downloaded latest version and it mostly works. However some probably minor errors on running testsuite:
    t/50-mech-forms.t ................ 7/14 # Failed test 'We found five forms' # at t/50-mech-forms.t line 61. # got: '6' # expected: '5' .. Many tests issue this warning: AnyEvent::Future=HASH(0x2ee1000) AnyEvent::Future=HASH(0x2ee1000) los +t a sequence Future at /home/ivar/WWW-Mechanize-Chrome-master/blib/li +b/Chrome/DevToolsProtocol.pm line 305. .. Test Summary Report ------------------- t/50-mech-forms.t (Wstat: 256 Tests: 14 Failed: 1) Failed test: 8 Non-zero exit status: 1 Files=32, Tests=227, 200 wallclock secs ( 0.13 usr 0.04 sys + 12.29 c +usr 3.20 csys = 15.66 CPU) Result: FAIL Failed 1/32 test programs. 1/227 subtests failed. Makefile:930: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 255
    Thank you for your support! Despite of some glitches, I'm probably able to use the module and go forward with my task.. Anyway - I'm happy to support you in further testing if needed. Kind regards, Ivar