tempire / mojolicious-plugin-consolelogger

Show Mojolicious log messages in browser console (firebug, webkit dev tools)
8 stars 5 forks source link

Can't locate object method "generate_port" via package "Mojo::IOLoop" at t/logger.t line 5 #4

Open phillipadsmith opened 10 years ago

phillipadsmith commented 10 years ago
➜  Mojolicious-Plugin-ConsoleLogger-0.05  make test
PERL_DL_NONLAZY=1 /Users/phillipadsmith/perl5/perlbrew/perls/perl-5.18.1/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/logger.t .. Can't locate object method "generate_port" via package "Mojo::IOLoop" at t/logger.t line 5.
t/logger.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
phillipadsmith commented 10 years ago

CORE Perl (v5.18.1, darwin) Mojolicious (5.24, Tiger Face)

tempire commented 10 years ago

I'll fix the test, but in the mean time, you can probably just force the install to get it working.

On Wednesday, August 6, 2014, Phillip Smith notifications@github.com wrote:


PERL_DL_NONLAZY=1
/Users/phillipadsmith/perl5/perlbrew/perls/perl-5.18.1/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')"
t/*.t
t/logger.t .. Can't locate object method "generate_port" via package
"Mojo::IOLoop" at t/logger.t line 5.
t/logger.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run

—
Reply to this email directly or view it on GitHub
https://github.com/tempire/mojolicious-plugin-consolelogger/issues/4.
phillipadsmith commented 10 years ago

Yes, indeed, I did that and it worked, but I wasn't sure what the test was testing and how it would impact the plugin...?

Then I hit issue #3 , which means I need to disable the plugin when working with JSON responses. :(