Skip Menu |

This queue is for tickets about the WWW-Mechanize-FireFox CPAN distribution.

Report information
The Basics
Id: 125921
Status: open
Priority: 0/
Queue: WWW-Mechanize-FireFox

People
Owner: Nobody in particular
Requestors: adougher9 [...] gmail.com
Cc:
AdminCc:

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



Subject: $firefox->get($url) fails
Date: Tue, 24 Jul 2018 17:58:41 -0400
To: bug-WWW-Mechanize-FireFox [...] rt.cpan.org
From: Andrew Dougherty <adougher9 [...] gmail.com>
To whom it may concern, Using the following configuration: Linux ai 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3 (2017-12-03) x86_64 GNU/Linux This is perl 5, version 24, subversion 1 (v5.24.1) built for x86_64-linux-gnu-thread-multi firefox-esr 52.9.0esr-1~deb9u1 I get the following error upon calling get($url) Unrecognized LWP::UserAgent options: cache at /var/lib/myfrdcsa/codebases/ internal/myfrdcsa/bin/radar-web-search line 79. Can't use an undefined value as a HASH reference at /usr/local/share/perl/5.24.1/WWW/Mechanize/Firefox.pm line 1366. at /usr/share/perl5/PerlLib/SwissArmyKnife.pm line 26. PerlLib::SwissArmyKnife::__ANON__("Can't use an undefined value as a HASH reference at /usr/loca"...) called at /usr/local/share/perl/5.24.1/WWW/Mechanize/Firefox.pm line 1366 WWW::Mechanize::Firefox::_install_response_header_listener( WWW::Mechanize::Firefox=HASH(0x55b66f260b08)) called at /usr/local/share/perl/5.24.1/WWW/Mechanize/Firefox.pm line 1393 WWW::Mechanize::Firefox::synchronize(WWW::Mechanize::Firefox=HASH(0x55b66f260b08), ARRAY(0x55b66fb97900), CODE(0x55b67053aa88)) called at /usr/local/share/perl/5.24.1/WWW/Mechanize/Firefox.pm line 1570 WWW::Mechanize::Firefox::_sync_call(WWW::Mechanize::Firefox=HASH(0x55b66f260b08), ARRAY(0x55b66fb97900), CODE(0x55b67053aa88)) called at /usr/local/share/perl/5.24.1/WWW/Mechanize/Firefox.pm line 826 WWW::Mechanize::Firefox::get(WWW::Mechanize::Firefox=HASH(0x55b66f260b08), "https://duckduckgo.com/?q=%22starcraft+ai%22+software+download") called at /usr/share/perl5/Capability/WebSearch/Method/WWWMechanizeFirefox.pm line 56 Capability::WebSearch::Method::WWWMechanizeFirefox::WebSearc h(Capability::WebSearch::Method::WWWMechanizeFirefox=HASH(0x55b66ef796a0), "Search", "\"starcraft ai\" software download", "ContentArgs", HASH(0x55b6704e7f20), "NumberOfResults", 300) called at /usr/share/perl5/Capability/WebSearch/Engine/DuckDuckGo.\ pm line 40 Capability::WebSearch::Engine::DuckDuckGo::WebSearch(Capabil ity::WebSearch::Engine::DuckDuckGo=HASH(0x55b66ef79478), "Search", "\"starcraft ai\" software download", "NumberOfResults", 300) called at /usr/share/perl5/Capability/WebSearch.pm line 51 Capability::WebSearch::WebSearch(Capability::WebSearch=HASH(0x55b66ee957d0), "Search", "\"starcraft ai\" software download", "NumberOfResults", 300) called at /usr/share/perl5/Capability/WebSearch/API/Rival/Yahoo/Search.pm line 28 Capability::WebSearch::API::Rival::Yahoo::Search::Results(" Capability::WebSearch::API::Rival::Yahoo::Search", "Doc", "\"starcraft ai\" software download", "AppId", "Software-Finder", "Mode", "all", "Start", ...) called at /var/lib/myfrdcsa/codebases/internal/myfrdcsa/bin/radar-web-search line 232 main::Search("starcraft ai") called at /var/lib/myfrdcsa/codebases/internal/myfrdcsa/bin/radar-web-search line 133 I could connect to MozRepl on 127.0.0.1 4242 It seemed like the contentWindow was undefined. Please let me know if I should provide you with any more information about this bug. -- Andrew Dougherty Independent A.I. Researcher FRDCSA.org (331) 684-7674 adougher9@gmail.com
Subject: Re: [rt.cpan.org #125921] $firefox->get($url) fails
Date: Wed, 25 Jul 2018 08:20:02 +0200
To: bug-WWW-Mechanize-FireFox [...] rt.cpan.org
From: Max Maischein <corion [...] corion.net>
Hello Andrew, can you please provide me a short example to reproduce the problem, or maybe show me the code in radar-web-search around line 79? There is no mention of "cache" in Firefox.pm, so I'm not sure what constellation causes that error. Also, the error message seems to originate from LWP::UserAgent, but WWW::Mechanize::Firefox doesn't subclass WWW::Mechanize or LWP::UserAgent. The crash in Firefox.pm line 1366 seems to be caused by $mech->repl being undefined, but that shouldn't happen at all (well, duh), and I'm at a loss how to reproduce this in a good way to find the cause of where/why the repl becomes undefined. Thanks, -max Am 24.07.2018 um 23:58 schrieb Andrew Dougherty via RT: Show quoted text
> Tue Jul 24 17:58:57 2018: Request 125921 was acted upon. > Transaction: Ticket created by adougher9@gmail.com > Queue: WWW-Mechanize-FireFox > Subject: $firefox->get($url) fails > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: adougher9@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=125921 > > > > To whom it may concern, > > Using the following configuration: > > Linux ai 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3 (2017-12-03) x86_64 GNU/Linux > This is perl 5, version 24, subversion 1 (v5.24.1) built for > x86_64-linux-gnu-thread-multi > firefox-esr 52.9.0esr-1~deb9u1 > > I get the following error upon calling get($url) > > Unrecognized LWP::UserAgent options: cache at /var/lib/myfrdcsa/codebases/ > internal/myfrdcsa/bin/radar-web-search line 79. > > Can't use an undefined value as a HASH reference at > /usr/local/share/perl/5.24.1/WWW/Mechanize/Firefox.pm line 1366. > at /usr/share/perl5/PerlLib/SwissArmyKnife.pm line 26. > PerlLib::SwissArmyKnife::__ANON__("Can't use an undefined value as > a HASH reference at /usr/loca"...) called at > /usr/local/share/perl/5.24.1/WWW/Mechanize/Firefox.pm > line 1366 > WWW::Mechanize::Firefox::_install_response_header_listener( > WWW::Mechanize::Firefox=HASH(0x55b66f260b08)) called at > /usr/local/share/perl/5.24.1/WWW/Mechanize/Firefox.pm line 1393 > WWW::Mechanize::Firefox::synchronize(WWW::Mechanize::Firefox=HASH(0x55b66f260b08), > ARRAY(0x55b66fb97900), CODE(0x55b67053aa88)) called at > /usr/local/share/perl/5.24.1/WWW/Mechanize/Firefox.pm line 1570 > WWW::Mechanize::Firefox::_sync_call(WWW::Mechanize::Firefox=HASH(0x55b66f260b08), > ARRAY(0x55b66fb97900), CODE(0x55b67053aa88)) called at > /usr/local/share/perl/5.24.1/WWW/Mechanize/Firefox.pm line 826 > WWW::Mechanize::Firefox::get(WWW::Mechanize::Firefox=HASH(0x55b66f260b08), > "https://duckduckgo.com/?q=%22starcraft+ai%22+software+download") called at > /usr/share/perl5/Capability/WebSearch/Method/WWWMechanizeFirefox.pm line 56 > Capability::WebSearch::Method::WWWMechanizeFirefox::WebSearc > h(Capability::WebSearch::Method::WWWMechanizeFirefox=HASH(0x55b66ef796a0), > "Search", "\"starcraft ai\" software download", "ContentArgs", > HASH(0x55b6704e7f20), "NumberOfResults", 300) called at > /usr/share/perl5/Capability/WebSearch/Engine/DuckDuckGo.\ > pm line 40 > Capability::WebSearch::Engine::DuckDuckGo::WebSearch(Capabil > ity::WebSearch::Engine::DuckDuckGo=HASH(0x55b66ef79478), "Search", > "\"starcraft ai\" software download", "NumberOfResults", 300) called at > /usr/share/perl5/Capability/WebSearch.pm line 51 > Capability::WebSearch::WebSearch(Capability::WebSearch=HASH(0x55b66ee957d0), > "Search", "\"starcraft ai\" software download", "NumberOfResults", 300) > called at /usr/share/perl5/Capability/WebSearch/API/Rival/Yahoo/Search.pm > line 28 > Capability::WebSearch::API::Rival::Yahoo::Search::Results(" > Capability::WebSearch::API::Rival::Yahoo::Search", "Doc", "\"starcraft ai\" > software download", "AppId", "Software-Finder", "Mode", "all", "Start", > ...) called at /var/lib/myfrdcsa/codebases/internal/myfrdcsa/bin/radar-web-search > line 232 > main::Search("starcraft ai") called at > /var/lib/myfrdcsa/codebases/internal/myfrdcsa/bin/radar-web-search line 133 > > I could connect to MozRepl on 127.0.0.1 4242 It seemed like the > contentWindow was undefined. > > Please let me know if I should provide you with any more information about > this bug. >