Skip Menu |
 

This queue is for tickets about the Config-General CPAN distribution.

Report information
The Basics
Id: 123390
Status: rejected
Priority: 0/
Queue: Config-General

People
Owner: Nobody in particular
Requestors: MELEZHIK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.63
Fixed in: 2.63



Subject: Config::General::Interpolated does get loaded at runtime
I am trying to use Config::General and gettinh this error: Config::General: Can't locate Config/General/Interpolated.pm in @INC (you may need to install the Config::General::Interpolated module) (@INC contains: /opt/sparrow/plugins/public/package-generic/local/lib/perl5 /usr/lib/perl5/5.26/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.26/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.26/core_perl /usr/share/perl5/core_perl . /opt/sparrow/plugins/public/package-generic/lib) at /usr/share/perl5/site_perl/Config/General.pm line 231. at /usr/share/perl5/site_perl/Outthentic.pm line 134. Here are details of usage: lib/Outthentic.pm : 134 my %c = Config::General->new( 135 -InterPolateVars => 1 , 136 -InterPolateEnv => 1 , 137 -ConfigFile => $path 138 )->getall or confess "file $path is not valid config file"; I am using Config::General 2.63, the other details on Perl version and OS could be found here: https://travis-ci.org/melezhik/sparrowdo/jobs/293107164#L674-L812 Regards Alexey
Download (untitled) / with headers
text/plain 1.5k
I don't think Config::General is the culprit here. Installation of 2.63 works as it should: [30.Oct 09:54:14] --- [~/Downloads/Config-General-2.63] --- tl@ts: % perl Makefile.PL PREFIX=usr Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Config::General Writing MYMETA.yml and MYMETA.json [30.Oct 09:54:28] --- [~/Downloads/Config-General-2.63] --- tl@ts: % make cp General.pm blib/lib/Config/General.pm cp General/Interpolated.pm blib/lib/Config/General/Interpolated.pm cp General/Extended.pm blib/lib/Config/General/Extended.pm Manifying 3 pod documents [30.Oct 09:54:30] --- [~/Downloads/Config-General-2.63] --- tl@ts: % make install Manifying 3 pod documents Installing usr/lib/perl5/site_perl/Config/General.pm Installing usr/lib/perl5/site_perl/Config/General/Interpolated.pm Installing usr/lib/perl5/site_perl/Config/General/Extended.pm Installing usr/lib/perl5/site_perl/man/man3/Config::General.3 Installing usr/lib/perl5/site_perl/man/man3/Config::General::Extended.3 Installing usr/lib/perl5/site_perl/man/man3/Config::General::Interpolated.3 Appending installation info to usr/lib/perl5/5.24/mach/perllocal.pod You seem to use a third party installer, also there are errors right before Config::General installation (starting in line 775), check those first. Enable debug/verbose output, etc. If the module has been installed via a distro package, report the problem there (if and only if you find a problem with the package). I'm happy to help otherwise, let me know. best, Tom
Subject: Re: [rt.cpan.org #123390] Config::General::Interpolated does get loaded at runtime
Date: Mon, 30 Oct 2017 12:27:34 +0300
To: bug-Config-General [...] rt.cpan.org
From: Alexey Melezhik <melezhik [...] gmail.com>
Download (untitled) / with headers
text/plain 1.8k
Hi Tom! I have given the Travis job a run, and the issue is gone. lLooks like Travis bug ( yeah the one you've mentioned at the line number 775 ) 2017-10-30 12:01 GMT+03:00 T. Linden via RT <bug-Config-General@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=123390 > > > I don't think Config::General is the culprit here. Installation of 2.63 works as it should: > > [30.Oct 09:54:14] --- [~/Downloads/Config-General-2.63] --- > tl@ts: % perl Makefile.PL PREFIX=usr > Checking if your kit is complete... > Looks good > Generating a Unix-style Makefile > Writing Makefile for Config::General > Writing MYMETA.yml and MYMETA.json > > [30.Oct 09:54:28] --- [~/Downloads/Config-General-2.63] --- > tl@ts: % make > cp General.pm blib/lib/Config/General.pm > cp General/Interpolated.pm blib/lib/Config/General/Interpolated.pm > cp General/Extended.pm blib/lib/Config/General/Extended.pm > Manifying 3 pod documents > > [30.Oct 09:54:30] --- [~/Downloads/Config-General-2.63] --- > tl@ts: % make install > Manifying 3 pod documents > Installing usr/lib/perl5/site_perl/Config/General.pm > Installing usr/lib/perl5/site_perl/Config/General/Interpolated.pm > Installing usr/lib/perl5/site_perl/Config/General/Extended.pm > Installing usr/lib/perl5/site_perl/man/man3/Config::General.3 > Installing usr/lib/perl5/site_perl/man/man3/Config::General::Extended.3 > Installing usr/lib/perl5/site_perl/man/man3/Config::General::Interpolated.3 > Appending installation info to usr/lib/perl5/5.24/mach/perllocal.pod > > You seem to use a third party installer, also there are errors right before Config::General installation (starting in line 775), check those first. Enable debug/verbose output, etc. If the module has been installed via a distro package, report the problem there (if and only if you find a problem with the package). > > I'm happy to help otherwise, let me know. > > > > best, > Tom


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.