Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: help installing WWW::Mechanize::Chrome in Strawberry Perl

by pritesh_ugrankar (Monk)
on Jan 04, 2021 at 15:04 UTC ( [id://11126280]=note: print w/replies, xml ) Need Help??


in reply to help installing WWW::Mechanize::Chrome in Strawberry Perl

Hi,

As suggested by 1nickt I ran the command again with cpanm -v WWW::Mechanize::Chrome and here is what I found

cpanm -v WWW::Mechanize::Chrome cpanm (App::cpanminus) 1.7044 on perl 5.032000 built for MSWin32-x64-m +ulti-thread Work directory is C:\Users\PUGRAN~1/.cpanm/work/1609769637.8608 You have make C:\Strawberry\c\bin\gmake.exe You have LWP 6.46 Falling back to Archive::Tar 2.38 Searching WWW::Mechanize::Chrome () on cpanmetadb ... --> Working on WWW::Mechanize::Chrome Fetching http://www.cpan.org/authors/id/C/CO/CORION/WWW-Mechanize-Chro +me-0.65.tar.gz ... OK Unpacking WWW-Mechanize-Chrome-0.65.tar.gz Entering WWW-Mechanize-Chrome-0.65 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.46) Running Makefile.PL Configuring WWW-Mechanize-Chrome-0.65 ... (Re)Creating lib/WWW/Mechani +ze/Chrome/Examples.pm Checking if your kit is complete... Looks good Generating a gmake-style Makefile Writing Makefile for WWW::Mechanize::Chrome Writing MYMETA.yml and MYMETA.json OK Checking dependencies from MYMETA.json ... Checking if you have IPC::Open3 0 ... Yes (1.21) Checking if you have Data::Dump 0 ... Yes (1.23) Checking if you have HTML::Selector::XPath 0 ... Yes (0.25) Checking if you have Test::HTTP::LocalServer 0.71 ... Yes (0.71) Checking if you have Imager::File::PNG 0 ... Yes (0.95) Checking if you have Object::Import 0 ... Yes (1.005) Checking if you have URI::file 0 ... Yes (4.21) Checking if you have Log::Log4perl 0 ... Yes (1.53) Checking if you have Test::Without::Module 0 ... Yes (0.20) Checking if you have Moo 2 ... Yes (2.004004) Checking if you have WWW::Mechanize::Link 0 ... Yes (2.00) Checking if you have Carp 0 ... Yes (1.50) Checking if you have Algorithm::Loops 0 ... Yes (1.032) Checking if you have Time::HiRes 0 ... Yes (1.9764) Checking if you have Filter::signatures 0.16 ... Yes (0.17) Checking if you have URI::ws 0 ... Yes (0.03) Checking if you have HTTP::Response 0 ... Yes (6.25) Checking if you have MIME::Base64 0 ... Yes (3.15) Checking if you have URI 0 ... Yes (1.76) Checking if you have Exporter 5 ... Yes (5.74) Checking if you have JSON 0 ... Yes (4.02) Checking if you have Data::Dumper 0 ... Yes (2.174) Checking if you have POSIX 0 ... Yes (1.94) Checking if you have Imager 0 ... Yes (1.012) Checking if you have Scalar::Util 0 ... Yes (1.55) Checking if you have IO::Socket::INET 0 ... Yes (1.41) Checking if you have Storable 0 ... Yes (3.21) Checking if you have Future 0.35 ... Yes (0.47) Checking if you have IO::Async 0 ... Yes (0.77) Checking if you have Win32::File::VersionInfo 0 ... Yes (0.07) Checking if you have ExtUtils::MakeMaker 5.52_01 ... Yes (7.46) Checking if you have Net::Async::WebSocket::Client 0.12 ... Yes (0.13) Checking if you have Try::Tiny 0 ... Yes (0.30) Checking if you have Test::More 0 ... Yes (1.302175) Checking if you have PerlX::Maybe 0 ... Yes (1.201) Checking if you have Test::Memory::Cycle 0 ... Yes (1.06) Checking if you have File::Spec 0 ... Yes (3.78) Checking if you have Test::Deep 0 ... Yes (1.130) Checking if you have Future::HTTP 0.06 ... Yes (0.14) Checking if you have Image::Info 0 ... Yes (1.42) Checking if you have HTTP::Cookies 0 ... Yes (6.08) Checking if you have File::Basename 0 ... Yes (2.85) Checking if you have HTTP::Headers 0 ... Yes (6.25) Building and testing WWW-Mechanize-Chrome-0.65 ... cp lib/Chrome/DevTo +olsProtocol/Transport.pm blib\lib\Chrome\DevToolsProtocol\Transport.p +m cp lib/Chrome/DevToolsProtocol/Transport/NetAsync.pm blib\lib\Chrome\D +evToolsProtocol\Transport\NetAsync.pm cp lib/Chrome/DevToolsProtocol/Target.pm blib\lib\Chrome\DevToolsProto +col\Target.pm cp lib/HTTP/Cookies/ChromeDevTools.pm blib\lib\HTTP\Cookies\ChromeDevT +ools.pm cp lib/Chrome/DevToolsProtocol/Transport/Pipe/NetAsync.pm blib\lib\Chr +ome\DevToolsProtocol\Transport\Pipe\NetAsync.pm cp lib/Chrome/DevToolsProtocol/Transport/Mojo.pm blib\lib\Chrome\DevTo +olsProtocol\Transport\Mojo.pm cp lib/Chrome/DevToolsProtocol/Transport/Pipe.pm blib\lib\Chrome\DevTo +olsProtocol\Transport\Pipe.pm cp lib/Chrome/DevToolsProtocol/Transport/Pipe/AnyEvent.pm blib\lib\Chr +ome\DevToolsProtocol\Transport\Pipe\AnyEvent.pm cp lib/Chrome/DevToolsProtocol.pm blib\lib\Chrome\DevToolsProtocol.pm cp lib/Chrome/DevToolsProtocol/Transport/Pipe/Mojo.pm blib\lib\Chrome\ +DevToolsProtocol\Transport\Pipe\Mojo.pm cp lib/Chrome/DevToolsProtocol/Transport/AnyEvent.pm blib\lib\Chrome\D +evToolsProtocol\Transport\AnyEvent.pm cp lib/Chrome/DevToolsProtocol/Transport/Win32PipeOpener.pm blib\lib\C +hrome\DevToolsProtocol\Transport\Win32PipeOpener.pm cp lib/WWW/Mechanize/Chrome.pm blib\lib\WWW\Mechanize\Chrome.pm cp lib/WWW/Mechanize/Chrome/Contributing.pod blib\lib\WWW\Mechanize\Ch +rome\Contributing.pod cp lib/WWW/Mechanize/Chrome/DSL.pm blib\lib\WWW\Mechanize\Chrome\DSL.p +m cp lib/WWW/Mechanize/Chrome/Install.pod blib\lib\WWW\Mechanize\Chrome\ +Install.pod cp lib/WWW/Mechanize/Chrome/Internals.pod blib\lib\WWW\Mechanize\Chrom +e\Internals.pod cp lib/WWW/Mechanize/Chrome/Node.pm blib\lib\WWW\Mechanize\Chrome\Node +.pm cp lib/WWW/Mechanize/Chrome/Cookbook.pm blib\lib\WWW\Mechanize\Chrome\ +Cookbook.pm cp lib/WWW/Mechanize/Chrome/URLBlacklist.pm blib\lib\WWW\Mechanize\Chr +ome\URLBlacklist.pm cp lib/WWW/Mechanize/Chrome/Examples.pm blib\lib\WWW\Mechanize\Chrome\ +Examples.pm cp lib/WWW/Mechanize/Chrome/Troubleshooting.pm blib\lib\WWW\Mechanize\ +Chrome\Troubleshooting.pm "C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::H +arness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\l +ib', 'blib\arch')" t/00-load.t t/01-chrome-devtools-protocol-target-c +ycle.t t/01-chrome-devtools-protocol-target.t t/01-chrome-devtools-pr +otocol.t t/01-select-backend-implementation.t t/02-chrome-devtools-ta +b.t t/03-listener-leak-test.t t/47-mech-simplest.t t/49-launch.t t/49 +-mech-get-file.t t/49-mech-nav.t t/49-pipe.t t/49-port.t t/50-follow- +link.t t/50-form-with-fields-gh48.t t/50-form-with-fields.t t/50-form +2.t t/50-mech-autoclose.t t/50-mech-content.t t/50-mech-ct.t t/50-mec +h-encoding.t t/50-mech-eval.t t/50-mech-forms.t t/50-mech-get-nonexis +tent.t t/50-mech-get.t t/50-mech-new-dsl.t t/50-mech-new-tab.t t/50-m +ech-new.t t/50-mech-redirect.t t/50-mech-start-url.t t/50-mech-status +.t t/50-mech-text.t t/50-popup.t t/50-tick.t t/51-click-intrapage.t t +/51-mech-form-with-fields.t t/51-mech-links.t t/51-mech-set-content.t + t/51-mech-submit.t t/53-mech-capture-js-error.t t/56-render-content. +t t/58-alert.t t/60-list-tabs.t t/60-mech-cookies.t t/60-mech-custom- +headers.t t/61-mech-download.t t/61-popup.t t/61-screencast.t t/62-ne +tworkstatus.t t/62-viewport-size.t t/65-is_visible-2.t t/65-is_visibl +e.t t/65-save-content.t t/65-wait_until_visible.t t/70-mech-png.t t/7 +5-classnames.t t/76-scroll.t t/77-reload-fragment.t t/78-memleak.t t/ +78-two-instances.t t/99-interactive-single-window.t t/rt127588.t t/rt +130999.t t/select.t t/00-load.t ................................... 1/1 # Testing WWW::Mec +hanize::Chrome 0.65, Perl 5.032000 # AutoLoader 5.74 # B 1.80 # Carp 1.50 # Carp::Heavy 1.50 # Chrome::DevToolsProtocol 0.65 # Chrome::DevToolsProtocol::EventListener 0.65 # Chrome::DevToolsProtocol::Target 0.65 # Chrome::DevToolsProtocol::Transport 0.65 # Class::Method::Modifiers 2.13 # Class::XSAccessor 1.19 # Class::XSAccessor::Heavy 1.19 # Clone 0.45 # Config 5.032000 # Cwd 3.78 # Data::Dumper 2.174 # DynaLoader 1.47 # Errno 1.3 # Exporter 5.74 # Exporter::Heavy 5.74 # Fcntl 1.13 # File::Basename 2.85 # File::Spec 3.78 # File::Spec::Unix 3.78 # File::Spec::Win32 3.79 # Filter::Simple 0.96 # Filter::Util::Call 1.59 # Filter::signatures 0.17 # Future 0.47 # Future::Exception 0.47 # Future::HTTP 0.14 # HTML::Selector::XPath 0.25 # HTTP::Cookies 6.08 # HTTP::Cookies::ChromeDevTools 0.65 # HTTP::Cookies::Netscape 6.08 # HTTP::Date 6.05 # HTTP::Headers 6.25 # HTTP::Headers::Util 6.25 # HTTP::Message 6.25 # HTTP::Response 6.25 # HTTP::Status 6.25 # IO 1.43 # IO::Handle 1.42 # IO::Socket 1.43 # IO::Socket::INET 1.41 # IO::Socket::UNIX 1.41 # JSON 4.02 # JSON::XS 4.02 # List::Util 1.55 # Log::Log4perl 1.53 # Log::Log4perl::Appender <unknown> # Log::Log4perl::Appender::String <unknown> # Log::Log4perl::Config <unknown> # Log::Log4perl::Config::BaseConfigurator <unknown> # Log::Log4perl::Config::PropertyConfigurator <unknown> # Log::Log4perl::Config::Watch <unknown> # Log::Log4perl::DateFormat <unknown> # Log::Log4perl::Filter <unknown> # Log::Log4perl::Filter::Boolean <unknown> # Log::Log4perl::JavaMap <unknown> # Log::Log4perl::Layout <unknown> # Log::Log4perl::Layout::PatternLayout <unknown> # Log::Log4perl::Layout::PatternLayout::Multiline <unknown> # Log::Log4perl::Layout::SimpleLayout <unknown> # Log::Log4perl::Level <unknown> # Log::Log4perl::Logger <unknown> # Log::Log4perl::MDC <unknown> # Log::Log4perl::NDC <unknown> # Log::Log4perl::Util <unknown> # Log::Log4perl::Util::TimeTracker <unknown> # MIME::Base64 3.15 # Method::Generate::Accessor <unknown> # Method::Generate::Constructor <unknown> # Moo 2.004004 # Moo::HandleMoose::_TypeMap <unknown> # Moo::Object <unknown> # Moo::_Utils <unknown> # Moo::_mro <unknown> # Moo::_strictures <unknown> # Moo::sification <unknown> # POSIX 1.94 # PerlIO 1.11 # PerlX::Maybe 1.201 # Scalar::Util 1.55 # SelectSaver 1.02 # SelfLoader 1.26 # Socket 2.030 # Storable 3.21 # Sub::Defer 2.006006 # Sub::Quote 2.006006 # Sub::Util 1.55 # Symbol 1.08 # Sys::Hostname 1.23 # Test::Builder 1.302175 # Test::Builder::Formatter 1.302175 # Test::Builder::Module 1.302175 # Test::Builder::TodoDiag 1.302175 # Test::More 1.302175 # Test2::API 1.302175 # Test2::API::Context 1.302175 # Test2::API::Instance 1.302175 # Test2::API::Stack 1.302175 # Test2::Event 1.302175 # Test2::Event::Bail 1.302175 # Test2::Event::Diag 1.302175 # Test2::Event::Exception 1.302175 # Test2::Event::Fail 1.302175 # Test2::Event::Note 1.302175 # Test2::Event::Ok 1.302175 # Test2::Event::Pass 1.302175 # Test2::Event::Plan 1.302175 # Test2::Event::Skip 1.302175 # Test2::Event::Subtest 1.302175 # Test2::Event::V2 1.302175 # Test2::Event::Waiting 1.302175 # Test2::EventFacet 1.302175 # Test2::EventFacet::About 1.302175 # Test2::EventFacet::Amnesty 1.302175 # Test2::EventFacet::Assert 1.302175 # Test2::EventFacet::Control 1.302175 # Test2::EventFacet::Error 1.302175 # Test2::EventFacet::Hub 1.302175 # Test2::EventFacet::Info 1.302175 # Test2::EventFacet::Meta 1.302175 # Test2::EventFacet::Parent 1.302175 # Test2::EventFacet::Plan 1.302175 # Test2::EventFacet::Trace 1.302175 # Test2::Formatter 1.302175 # Test2::Formatter::TAP 1.302175 # Test2::Hub 1.302175 # Test2::Hub::Interceptor 1.302175 # Test2::Hub::Interceptor::Terminator 1.302175 # Test2::Hub::Subtest 1.302175 # Test2::Util 1.302175 # Test2::Util::ExternalMeta 1.302175 # Test2::Util::Facets2Legacy 1.302175 # Test2::Util::HashBase 1.302175 # Test2::Util::Trace 1.302175 # Text::Balanced 2.03 # Tie::Hash 1.05 # Time::HiRes 1.9764 # Time::Local 1.30 # Try::Tiny 0.30 # Types::Serialiser 1.0 # URI 1.76 # URI::Escape 3.31 # WWW::Mechanize::Chrome 0.65 # WWW::Mechanize::Chrome::Node 0.65 # WWW::Mechanize::Link 2.00 # XSLoader 0.30 # attributes 0.33 # base 2.27 # bytes 1.07 # common::sense 3.75 # constant 1.33 # feature 1.58 # mro 1.23 # overload 1.31 # overloading 0.02 # parent 0.238 # re 0.40 # strict 1.11 # vars 1.05 # warnings 1.47 # warnings::register 1.04 t/00-load.t ................................... ok t/01-chrome-devtools-protocol-target-cycle.t .. 1/8 Unhandled type: GL +OB at C:/Strawberry/perl/site/lib/Devel/Cycle.pm line 107. t/01-chrome-devtools-protocol-target-cycle.t .. ok t/01-chrome-devtools-protocol-target.t ........ ok t/01-chrome-devtools-protocol.t ............... ok t/01-select-backend-implementation.t .......... skipped: No backend ot +her than IO::Async available t/02-chrome-devtools-tab.t .................... ok t/03-listener-leak-test.t ..................... ok t/47-mech-simplest.t .......................... ok t/49-launch.t ................................. ok t/49-mech-get-file.t .......................... ok t/49-mech-nav.t ............................... ok t/49-pipe.t ................................... skipped: Pipes are cur +rently unsupported on MSWin32 t/49-port.t ................................... ok t/50-follow-link.t ............................ ok t/50-form-with-fields-gh48.t .................. 1/6 cannot unlink file + for C:\Users\PUGRAN~1\AppData\Local\Temp\Dvvy_MMaaV\CrashpadMetrics- +active.pma: Permission denied at C:/Strawberry/perl/lib/File/Temp.pm +line 916. cannot remove directory for C:/Users/PUGRAN~1/AppData/Local/Temp/Dvvy_ +MMaaV: Directory not empty at C:/Strawberry/perl/lib/File/Temp.pm lin +e 916. t/50-form-with-fields-gh48.t .................. ok t/50-form-with-fields.t ....................... ok t/50-form2.t .................................. ok t/50-mech-autoclose.t ......................... ok t/50-mech-content.t ........................... ok t/50-mech-ct.t ................................ ok t/50-mech-encoding.t .......................... ok t/50-mech-eval.t .............................. ok t/50-mech-forms.t ............................. ok t/50-mech-get-nonexistent.t ................... ok t/50-mech-get.t ............................... ok t/50-mech-new-dsl.t ........................... ok t/50-mech-new-tab.t ........................... 7/8 Could not find nod +e with given id -32000 at C:\Users\PUGRAN~1\.cpanm\work\1609769637.8608\WWW-Mechanize- +Chrome-0.65\blib\lib/Chrome/DevToolsProtocol/Target.pm line 490 # Looks like your test exited with 2304 just after 7. t/50-mech-new-tab.t ........................... Dubious, test returned + 255 (wstat 65280, 0xff00) Failed 1/8 subtests t/50-mech-new.t ............................... ok t/50-mech-redirect.t .......................... ok t/50-mech-start-url.t ......................... ok t/50-mech-status.t ............................ ok t/50-mech-text.t .............................. ok t/50-popup.t .................................. ok t/50-tick.t ................................... ok t/51-click-intrapage.t ........................ ok t/51-mech-form-with-fields.t .................. ok t/51-mech-links.t ............................. ok t/51-mech-set-content.t ....................... ok t/51-mech-submit.t ............................ ok t/53-mech-capture-js-error.t .................. ok t/56-render-content.t ......................... ok t/58-alert.t .................................. ok t/60-list-tabs.t .............................. ok t/60-mech-cookies.t ........................... ok t/60-mech-custom-headers.t .................... 4/21 No search session + with given id found -32000 at C:\Users\PUGRAN~1\.cpanm\work\1609769637.8608\WWW-Mechanize- +Chrome-0.65\blib\lib/Chrome/DevToolsProtocol/Target.pm line 490 # Looks like your test exited with 2304 just after 10. t/60-mech-custom-headers.t .................... Dubious, test returned + 255 (wstat 65280, 0xff00) Failed 11/21 subtests t/61-mech-download.t .......................... ok t/61-popup.t .................................. ok t/61-screencast.t ............................. ok t/62-networkstatus.t .......................... ok t/62-viewport-size.t .......................... ok t/65-is_visible-2.t ........................... ok t/65-is_visible.t ............................. ok t/65-save-content.t ........................... ok t/65-wait_until_visible.t ..................... ok t/70-mech-png.t ............................... ok t/75-classnames.t ............................. ok t/76-scroll.t ................................. ok t/77-reload-fragment.t ........................ ok t/78-memleak.t ................................ Unhandled type: GLOB a +t C:/Strawberry/perl/site/lib/Devel/Cycle.pm line 107. t/78-memleak.t ................................ ok t/78-two-instances.t .......................... Unhandled type: GLOB a +t C:/Strawberry/perl/site/lib/Devel/Cycle.pm line 107. t/78-two-instances.t .......................... ok t/99-interactive-single-window.t .............. ok t/rt127588.t .................................. ok t/rt130999.t .................................. ok t/select.t .................................... Use of uninitialized v +alue $ENV{"PATH"} in split at C:/Strawberry/perl/lib/File/Spec/Win32. +pm line 169. Use of uninitialized value $ENV{"PATH"} in split at C:/Strawberry/perl +/lib/File/Spec/Win32.pm line 169. t/select.t .................................... ok Test Summary Report ------------------- t/50-mech-new-tab.t (Wstat: 65280 Tests: 7 Fai +led: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 8 tests but ran 7. t/60-mech-custom-headers.t (Wstat: 65280 Tests: 10 Fa +iled: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 21 tests but ran 10. Files=64, Tests=515, 219 wallclock secs ( 0.41 usr + 0.84 sys = 1.25 + CPU) Result: FAIL Failed 2/64 test programs. 0/515 subtests failed. gmake: *** [Makefile:976: test_dynamic] Error 255 FAIL ! Installing WWW::Mechanize::Chrome failed. See C:\Users\PUGRAN~1\.cpa +nm\work\1609769637.8608\build.log for details. Retry with --force to +force install it. Expiring 10 work directories.

And when I check the C:\Users\PUGRAN~1\.cpanm\work\1609769637.8608\build.log file, it shows this:

cpanm (App::cpanminus) 1.7044 on perl 5.032000 built for MSWin32-x64-m +ulti-thread Work directory is C:\Users\PUGRAN~1/.cpanm/work/1609769637.8608 You have make C:\Strawberry\c\bin\gmake.exe You have LWP 6.46 Falling back to Archive::Tar 2.38 Searching WWW::Mechanize::Chrome () on cpanmetadb ... --> Working on WWW::Mechanize::Chrome Fetching http://www.cpan.org/authors/id/C/CO/CORION/WWW-Mechanize-Chro +me-0.65.tar.gz -> OK Unpacking WWW-Mechanize-Chrome-0.65.tar.gz Entering WWW-Mechanize-Chrome-0.65 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.46) Configuring WWW-Mechanize-Chrome-0.65 Running Makefile.PL -> OK Checking dependencies from MYMETA.json ... Checking if you have IPC::Open3 0 ... Yes (1.21) Checking if you have Data::Dump 0 ... Yes (1.23) Checking if you have HTML::Selector::XPath 0 ... Yes (0.25) Checking if you have Test::HTTP::LocalServer 0.71 ... Yes (0.71) Checking if you have Imager::File::PNG 0 ... Yes (0.95) Checking if you have Object::Import 0 ... Yes (1.005) Checking if you have URI::file 0 ... Yes (4.21) Checking if you have Log::Log4perl 0 ... Yes (1.53) Checking if you have Test::Without::Module 0 ... Yes (0.20) Checking if you have Moo 2 ... Yes (2.004004) Checking if you have WWW::Mechanize::Link 0 ... Yes (2.00) Checking if you have Carp 0 ... Yes (1.50) Checking if you have Algorithm::Loops 0 ... Yes (1.032) Checking if you have Time::HiRes 0 ... Yes (1.9764) Checking if you have Filter::signatures 0.16 ... Yes (0.17) Checking if you have URI::ws 0 ... Yes (0.03) Checking if you have HTTP::Response 0 ... Yes (6.25) Checking if you have MIME::Base64 0 ... Yes (3.15) Checking if you have URI 0 ... Yes (1.76) Checking if you have Exporter 5 ... Yes (5.74) Checking if you have JSON 0 ... Yes (4.02) Checking if you have Data::Dumper 0 ... Yes (2.174) Checking if you have POSIX 0 ... Yes (1.94) Checking if you have Imager 0 ... Yes (1.012) Checking if you have Scalar::Util 0 ... Yes (1.55) Checking if you have IO::Socket::INET 0 ... Yes (1.41) Checking if you have Storable 0 ... Yes (3.21) Checking if you have Future 0.35 ... Yes (0.47) Checking if you have IO::Async 0 ... Yes (0.77) Checking if you have Win32::File::VersionInfo 0 ... Yes (0.07) Checking if you have ExtUtils::MakeMaker 5.52_01 ... Yes (7.46) Checking if you have Net::Async::WebSocket::Client 0.12 ... Yes (0.13) Checking if you have Try::Tiny 0 ... Yes (0.30) Checking if you have Test::More 0 ... Yes (1.302175) Checking if you have PerlX::Maybe 0 ... Yes (1.201) Checking if you have Test::Memory::Cycle 0 ... Yes (1.06) Checking if you have File::Spec 0 ... Yes (3.78) Checking if you have Test::Deep 0 ... Yes (1.130) Checking if you have Future::HTTP 0.06 ... Yes (0.14) Checking if you have Image::Info 0 ... Yes (1.42) Checking if you have HTTP::Cookies 0 ... Yes (6.08) Checking if you have File::Basename 0 ... Yes (2.85) Checking if you have HTTP::Headers 0 ... Yes (6.25) Building and testing WWW-Mechanize-Chrome-0.65 -> FAIL Installing WWW::Mechanize::Chrome failed. See C:\Users\PUGRAN~ +1\.cpanm\work\1609769637.8608\build.log for details. Retry with --for +ce to force install it. Expiring 10 work directories.

From what I could understand, the issue is mainly at:

t/49-pipe.t ................................... skipped: Pipes are cur +rently unsupported on MSWin32 t/49-port.t ................................... ok t/50-follow-link.t ............................ ok t/50-form-with-fields-gh48.t .................. 1/6 cannot unlink file + for C:\Users\PUGRAN~1\AppData\Local\Temp\Dvvy_MMaaV\CrashpadMetrics- +active.pma: Permission denied at C:/Strawberry/perl/lib/File/Temp.pm +line 916. cannot remove directory for C:/Users/PUGRAN~1/AppData/Local/Temp/Dvvy_ +MMaaV: Directory not empty at C:/Strawberry/perl/lib/File/Temp.pm lin +e 916.

And

C:/Strawberry/perl/site/lib/Devel/Cycle.pm line 107. t/78-memleak.t ................................ ok t/78-two-instances.t .......................... Unhandled type: GLOB a +t C:/Strawberry/perl/site/lib/Devel/Cycle.pm line 107. t/78-two-instances.t .......................... ok t/99-interactive-single-window.t .............. ok t/rt127588.t .................................. ok t/rt130999.t .................................. ok t/select.t .................................... Use of uninitialized v +alue $ENV{"PATH"} in split at C:/Strawberry/perl/lib/File/Spec/Win32. +pm line 169. Use of uninitialized value $ENV{"PATH"} in split at C:/Strawberry/perl +/lib/File/Spec/Win32.pm line 169. t/select.t .................................... ok

But my Perl Foo is not that strong. I'll still try to figure it out.

Replies are listed 'Best First'.
Re^2: help installing WWW::Mechanize::Chrome in Strawberry Perl
by Corion (Patriarch) on Jan 04, 2021 at 15:21 UTC

    Actually the two errors are:

    ... t/50-mech-new-tab.t ........................... 7/8 Could not find nod +e with given id -32000 at C:\Users\PUGRAN~1\.cpanm\work\1609769637.8608\WWW-Mechanize- +Chrome-0.65\blib\lib/Chrome/DevToolsProtocol/Target.pm line 490 # Looks like your test exited with 2304 just after 7. t/50-mech-new-tab.t ........................... Dubious, test returned + 255 (wstat 65280, 0xff00) Failed 1/8 subtests ... t/60-mech-custom-headers.t .................... 4/21 No search session + with given id found -32000 at C:\Users\PUGRAN~1\.cpanm\work\1609769637.8608\WWW-Mechanize- +Chrome-0.65\blib\lib/Chrome/DevToolsProtocol/Target.pm line 490 # Looks like your test exited with 2304 just after 10. t/60-mech-custom-headers.t .................... Dubious, test returned + 255 (wstat 65280, 0xff00) Failed 11/21 subtests

    These errors are "safe" to ignore, as they are some timing related issue which I haven't found the cause of (or a solution for) yet.

      Hi,

      Indeed!!. I ran cpanm -v --force WWW::Mechanize::Chrome and it did install fine!! Given below is the output just in case

      Please let me know how did you figure out that these are not "showstopper" errors? Did you refer any line/log that helped you decide that?

        No - I was working on these errors (and their intermittency) on the weekend, that's why they are still fresh in my mind. It might be that a Chrome update surfaces this problem now more often.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11126280]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2024-04-18 07:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found