Skip Menu |

This queue is for tickets about the Catalyst-Plugin-Static-Simple CPAN distribution.

Report information
The Basics
Id: 87577
Status: resolved
Priority: 0/
Queue: Catalyst-Plugin-Static-Simple

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

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



Subject: bug at line 117?
Date: Sat, 3 Aug 2013 18:08:20 -0400
To: bug-Catalyst-Plugin-Static-Simple [...] rt.cpan.org
From: Alexander Paciorkowski <shuraski [...] gmail.com>
Hello, When attempting to install Catalyst::Plugin::Static::Simple on Slackware 14.0, Perl 5.16.1 via cpan I encounter this problem: bash-4.2$ sudo perl -MCPAN -e 'install Catalyst::Plugin::Static::Simple' Reading '/root/.cpan/Metadata' Database was generated on Sat, 03 Aug 2013 14:17:03 GMT Running install for module 'Catalyst::Plugin::Static::Simple' Running make for A/AB/ABRAXXA/Catalyst-Plugin-Static-Simple-0.30.tar.gz Checksum for /root/.cpan/sources/authors/id/A/AB/ABRAXXA/Catalyst-Plugin-Static-Simple-0.30.tar.gz ok CPAN.pm: Building A/AB/ABRAXXA/Catalyst-Plugin-Static-Simple-0.30.tar.gz Cannot determine perl version info from lib/Catalyst/Plugin/Static/Simple.pm *** Module::AutoInstall version 1.06 *** Checking for Perl dependencies... *** Since we're running under CPAN, I'll just let it take care of the dependency's installation later. [Core Features] - Test::More ...loaded. (0.98) - Catalyst::Runtime ...loaded. (5.90042 >= 5.80008) - MIME::Types ...loaded. (2.00 >= 1.25) - Test::More ...loaded. (0.98) - Moose ...loaded. (2.1004) - MooseX::Types ...loaded. (0.36) - namespace::autoclean ...loaded. (0.13) *** Module::AutoInstall configuration finished. Checking if your kit is complete... Looks good Writing Makefile for Catalyst::Plugin::Static::Simple Writing MYMETA.yml and MYMETA.json cp lib/Catalyst/Plugin/Static/Simple.pm blib/lib/Catalyst/Plugin/Static/Simple.pm Manifying blib/man3/Catalyst::Plugin::Static::Simple.3 ABRAXXA/Catalyst-Plugin-Static-Simple-0.30.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl5.16.1 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/01use.t t/04static.t t/05dirs.t t/06include_path.t t/07mime_types.t t/08subreq.t t/09ignore_ext.t t/10ignore_dirs.t t/11serve_static.t t/12check_error_scope.t t/20debug.t t/01use.t ................ ok t/04static.t ............. Can't locate object method "create_type_index" via package "MIME::Types" at /root/.cpan/build/Catalyst-Plugin-Static-Simple-0.30-yfZ4mJ/blib/lib/Catalyst/Plugin/Static/Simple.pm line 117. Compilation failed in require at /usr/local/share/perl5/Catalyst/Test.pm line 154. /// Line 117 reads: $config->{mime_types_obj}->create_type_index; /// It appears create_type_index cannot be evaluated. Is there another dependency I might be missing? I have checked all dependencies of Catalyst::Plugin::Static::Simple on CPAN, and all are up to date. Regards, ARP
It seems that the "create_type_index" has been removed from the just released MIME-Types-2.00 (I've already filed a bug in the MIME-Types RT queue: https://rt.cpan.org/Ticket/Display.html?id=87578&results=df3a8cf63365fb24e92074b8ba48cbbb) As a (hopefully temporary) workaround you can install a previous version of MIME-Types: $ cpanm MIME::Types@1.38 -Emanuele Il Sab 03 Ago 2013 18:08:32, shuraski@gmail.com ha scritto: Show quoted text
> Hello, > When attempting to install Catalyst::Plugin::Static::Simple on > Slackware > 14.0, Perl 5.16.1 via cpan I encounter this problem: > > bash-4.2$ sudo perl -MCPAN -e 'install > Catalyst::Plugin::Static::Simple' > Reading '/root/.cpan/Metadata' > Database was generated on Sat, 03 Aug 2013 14:17:03 GMT > Running install for module 'Catalyst::Plugin::Static::Simple' > Running make for A/AB/ABRAXXA/Catalyst-Plugin-Static-Simple- > 0.30.tar.gz > Checksum for > /root/.cpan/sources/authors/id/A/AB/ABRAXXA/Catalyst-Plugin-Static- > Simple-0.30.tar.gz > ok > > CPAN.pm: Building A/AB/ABRAXXA/Catalyst-Plugin-Static-Simple- > 0.30.tar.gz > > Cannot determine perl version info from > lib/Catalyst/Plugin/Static/Simple.pm > *** Module::AutoInstall version 1.06 > *** Checking for Perl dependencies... > *** Since we're running under CPAN, I'll just let it take care > of the dependency's installation later. > [Core Features] > - Test::More ...loaded. (0.98) > - Catalyst::Runtime ...loaded. (5.90042 >= 5.80008) > - MIME::Types ...loaded. (2.00 >= 1.25) > - Test::More ...loaded. (0.98) > - Moose ...loaded. (2.1004) > - MooseX::Types ...loaded. (0.36) > - namespace::autoclean ...loaded. (0.13) > *** Module::AutoInstall configuration finished. > Checking if your kit is complete... > Looks good > Writing Makefile for Catalyst::Plugin::Static::Simple > Writing MYMETA.yml and MYMETA.json > cp lib/Catalyst/Plugin/Static/Simple.pm > blib/lib/Catalyst/Plugin/Static/Simple.pm > Manifying blib/man3/Catalyst::Plugin::Static::Simple.3 > ABRAXXA/Catalyst-Plugin-Static-Simple-0.30.tar.gz > /usr/bin/make -- OK > Running make test > PERL_DL_NONLAZY=1 /usr/bin/perl5.16.1 "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/01use.t > t/04static.t > t/05dirs.t t/06include_path.t t/07mime_types.t t/08subreq.t > t/09ignore_ext.t t/10ignore_dirs.t t/11serve_static.t > t/12check_error_scope.t t/20debug.t > t/01use.t ................ ok > t/04static.t ............. Can't locate object method > "create_type_index" > via package "MIME::Types" at > /root/.cpan/build/Catalyst-Plugin-Static-Simple-0.30- > yfZ4mJ/blib/lib/Catalyst/Plugin/Static/Simple.pm > line 117. > Compilation failed in require at > /usr/local/share/perl5/Catalyst/Test.pm > line 154. > > /// > > Line 117 reads: > > $config->{mime_types_obj}->create_type_index; > > /// > > It appears create_type_index cannot be evaluated. Is there another > dependency I might be missing? I have checked all dependencies of > Catalyst::Plugin::Static::Simple on CPAN, and all are up to date. > > Regards, > > ARP
Solved in no time in MIME-Types-2.01, thanks to MarkOv. Il Sab 03 Ago 2013 18:19:51, emazep ha scritto: Show quoted text
> It seems that the "create_type_index" has been removed from the just > released MIME-Types-2.00 (I've already filed a bug in the MIME-Types > RT queue: > https://rt.cpan.org/Ticket/Display.html?id=87578&results=df3a8cf63365fb24e92074b8ba48cbbb) > > As a (hopefully temporary) workaround you can install a previous > version of MIME-Types: > > $ cpanm MIME::Types@1.38 > > -Emanuele > > Il Sab 03 Ago 2013 18:08:32, shuraski@gmail.com ha scritto:
> > Hello, > > When attempting to install Catalyst::Plugin::Static::Simple on > > Slackware > > 14.0, Perl 5.16.1 via cpan I encounter this problem: > > > > bash-4.2$ sudo perl -MCPAN -e 'install > > Catalyst::Plugin::Static::Simple' > > Reading '/root/.cpan/Metadata' > > Database was generated on Sat, 03 Aug 2013 14:17:03 GMT > > Running install for module 'Catalyst::Plugin::Static::Simple' > > Running make for A/AB/ABRAXXA/Catalyst-Plugin-Static-Simple- > > 0.30.tar.gz > > Checksum for > > /root/.cpan/sources/authors/id/A/AB/ABRAXXA/Catalyst-Plugin-Static- > > Simple-0.30.tar.gz > > ok > > > > CPAN.pm: Building A/AB/ABRAXXA/Catalyst-Plugin-Static-Simple- > > 0.30.tar.gz > > > > Cannot determine perl version info from > > lib/Catalyst/Plugin/Static/Simple.pm > > *** Module::AutoInstall version 1.06 > > *** Checking for Perl dependencies... > > *** Since we're running under CPAN, I'll just let it take care > > of the dependency's installation later. > > [Core Features] > > - Test::More ...loaded. (0.98) > > - Catalyst::Runtime ...loaded. (5.90042 >= 5.80008) > > - MIME::Types ...loaded. (2.00 >= 1.25) > > - Test::More ...loaded. (0.98) > > - Moose ...loaded. (2.1004) > > - MooseX::Types ...loaded. (0.36) > > - namespace::autoclean ...loaded. (0.13) > > *** Module::AutoInstall configuration finished. > > Checking if your kit is complete... > > Looks good > > Writing Makefile for Catalyst::Plugin::Static::Simple > > Writing MYMETA.yml and MYMETA.json > > cp lib/Catalyst/Plugin/Static/Simple.pm > > blib/lib/Catalyst/Plugin/Static/Simple.pm > > Manifying blib/man3/Catalyst::Plugin::Static::Simple.3 > > ABRAXXA/Catalyst-Plugin-Static-Simple-0.30.tar.gz > > /usr/bin/make -- OK > > Running make test > > PERL_DL_NONLAZY=1 /usr/bin/perl5.16.1 "-MExtUtils::Command::MM" "-e" > > "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/01use.t > > t/04static.t > > t/05dirs.t t/06include_path.t t/07mime_types.t t/08subreq.t > > t/09ignore_ext.t t/10ignore_dirs.t t/11serve_static.t > > t/12check_error_scope.t t/20debug.t > > t/01use.t ................ ok > > t/04static.t ............. Can't locate object method > > "create_type_index" > > via package "MIME::Types" at > > /root/.cpan/build/Catalyst-Plugin-Static-Simple-0.30- > > yfZ4mJ/blib/lib/Catalyst/Plugin/Static/Simple.pm > > line 117. > > Compilation failed in require at > > /usr/local/share/perl5/Catalyst/Test.pm > > line 154. > > > > /// > > > > Line 117 reads: > > > > $config->{mime_types_obj}->create_type_index; > > > > /// > > > > It appears create_type_index cannot be evaluated. Is there another > > dependency I might be missing? I have checked all dependencies of > > Catalyst::Plugin::Static::Simple on CPAN, and all are up to date. > > > > Regards, > > > > ARP
Subject: Re: [rt.cpan.org #87577] bug at line 117?
Date: Sat, 3 Aug 2013 19:26:11 -0400
To: bug-Catalyst-Plugin-Static-Simple [...] rt.cpan.org
From: Alexander Paciorkowski <shuraski [...] gmail.com>
Emanuele, Thank you so much! Was just about to install MIME-Types-1.38. But now will wait to see 2.01 up on CPAN. Best wishes, ARP On Sat, Aug 3, 2013 at 7:24 PM, Emanuele Zeppieri via RT < bug-Catalyst-Plugin-Static-Simple@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=87577 > > > Solved in no time in MIME-Types-2.01, thanks to MarkOv. > > Il Sab 03 Ago 2013 18:19:51, emazep ha scritto:
> > It seems that the "create_type_index" has been removed from the just > > released MIME-Types-2.00 (I've already filed a bug in the MIME-Types > > RT queue: > >
> https://rt.cpan.org/Ticket/Display.html?id=87578&results=df3a8cf63365fb24e92074b8ba48cbbb > )
> > > > As a (hopefully temporary) workaround you can install a previous > > version of MIME-Types: > > > > $ cpanm MIME::Types@1.38 > > > > -Emanuele > > > > Il Sab 03 Ago 2013 18:08:32, shuraski@gmail.com ha scritto:
> > > Hello, > > > When attempting to install Catalyst::Plugin::Static::Simple on > > > Slackware > > > 14.0, Perl 5.16.1 via cpan I encounter this problem: > > > > > > bash-4.2$ sudo perl -MCPAN -e 'install > > > Catalyst::Plugin::Static::Simple' > > > Reading '/root/.cpan/Metadata' > > > Database was generated on Sat, 03 Aug 2013 14:17:03 GMT > > > Running install for module 'Catalyst::Plugin::Static::Simple' > > > Running make for A/AB/ABRAXXA/Catalyst-Plugin-Static-Simple- > > > 0.30.tar.gz > > > Checksum for > > > /root/.cpan/sources/authors/id/A/AB/ABRAXXA/Catalyst-Plugin-Static- > > > Simple-0.30.tar.gz > > > ok > > > > > > CPAN.pm: Building A/AB/ABRAXXA/Catalyst-Plugin-Static-Simple- > > > 0.30.tar.gz > > > > > > Cannot determine perl version info from > > > lib/Catalyst/Plugin/Static/Simple.pm > > > *** Module::AutoInstall version 1.06 > > > *** Checking for Perl dependencies... > > > *** Since we're running under CPAN, I'll just let it take care > > > of the dependency's installation later. > > > [Core Features] > > > - Test::More ...loaded. (0.98) > > > - Catalyst::Runtime ...loaded. (5.90042 >= 5.80008) > > > - MIME::Types ...loaded. (2.00 >= 1.25) > > > - Test::More ...loaded. (0.98) > > > - Moose ...loaded. (2.1004) > > > - MooseX::Types ...loaded. (0.36) > > > - namespace::autoclean ...loaded. (0.13) > > > *** Module::AutoInstall configuration finished. > > > Checking if your kit is complete... > > > Looks good > > > Writing Makefile for Catalyst::Plugin::Static::Simple > > > Writing MYMETA.yml and MYMETA.json > > > cp lib/Catalyst/Plugin/Static/Simple.pm > > > blib/lib/Catalyst/Plugin/Static/Simple.pm > > > Manifying blib/man3/Catalyst::Plugin::Static::Simple.3 > > > ABRAXXA/Catalyst-Plugin-Static-Simple-0.30.tar.gz > > > /usr/bin/make -- OK > > > Running make test > > > PERL_DL_NONLAZY=1 /usr/bin/perl5.16.1 "-MExtUtils::Command::MM" "-e" > > > "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/01use.t > > > t/04static.t > > > t/05dirs.t t/06include_path.t t/07mime_types.t t/08subreq.t > > > t/09ignore_ext.t t/10ignore_dirs.t t/11serve_static.t > > > t/12check_error_scope.t t/20debug.t > > > t/01use.t ................ ok > > > t/04static.t ............. Can't locate object method > > > "create_type_index" > > > via package "MIME::Types" at > > > /root/.cpan/build/Catalyst-Plugin-Static-Simple-0.30- > > > yfZ4mJ/blib/lib/Catalyst/Plugin/Static/Simple.pm > > > line 117. > > > Compilation failed in require at > > > /usr/local/share/perl5/Catalyst/Test.pm > > > line 154. > > > > > > /// > > > > > > Line 117 reads: > > > > > > $config->{mime_types_obj}->create_type_index; > > > > > > /// > > > > > > It appears create_type_index cannot be evaluated. Is there another > > > dependency I might be missing? I have checked all dependencies of > > > Catalyst::Plugin::Static::Simple on CPAN, and all are up to date. > > > > > > Regards, > > > > > > ARP
> > > >
this has been fixed in 0.31 by requiring MIME::Types 2.03 and not calling an undocumented method.