Skip Menu |

This queue is for tickets about the Devel-REPL CPAN distribution.

Report information
The Basics
Id: 79956
Status: resolved
Priority: 0/
Queue: Devel-REPL

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

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



Subject: dependencies for default plugins
Date: Mon, 1 Oct 2012 22:04:43 -0700
To: bug-Devel-REPL [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
If you install Devel::REPL with a fresh perl and run re.pl, it explodes because CompletionDriver::INC and CompletionDriver::Keywords are enabled with the default profile but the dependencies to those plugins are not required by default. I recommend you to either a) make these dependencies (i.e. File::Next and B::Keywords) default to 1 or b) disable plugins in the default profile. ✗ re.pl Failed to load role: Devel::REPL::Plugin::CompletionDriver::Keywords Can't locate B/Keywords.pm in @INC (@INC contains: /Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1/darwin-2level /Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1 /Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/5.16.1/darwin-2level /Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/5.16.1 .) at /Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1/Devel/REPL/Plugin/CompletionDriver/Keywords.pm line 3. BEGIN failed--compilation aborted at /Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1/Devel/REPL/Plugin/CompletionDriver/Keywords.pm line 3. Compilation failed in require at /Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1/Devel/REPL/Script.pm line 40. -- Tatsuhiko Miyagawa
Subject: Re: [rt.cpan.org #79956] dependencies for default plugins
Date: Tue, 2 Oct 2012 11:34:42 +0000
To: bug-Devel-REPL [...] rt.cpan.org
From: Chris Marshall <devel.chm.01 [...] gmail.com>
Maybe the default profile could check that they are installed before using/loading them. On 10/2/12, miyagawa@gmail.com via RT <bug-Devel-REPL@rt.cpan.org> wrote: Show quoted text
> Tue Oct 02 01:05:13 2012: Request 79956 was acted upon. > Transaction: Ticket created by miyagawa@gmail.com > Queue: Devel-REPL > Subject: dependencies for default plugins > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: miyagawa@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79956 > > > > If you install Devel::REPL with a fresh perl and run re.pl, it > explodes because CompletionDriver::INC and CompletionDriver::Keywords > are enabled with the default profile but the dependencies to those > plugins are not required by default. > > I recommend you to either a) make these dependencies (i.e. File::Next > and B::Keywords) default to 1 or b) disable plugins in the default > profile. > > ✗ re.pl > Failed to load role: Devel::REPL::Plugin::CompletionDriver::Keywords > Can't locate B/Keywords.pm in @INC (@INC contains: > /Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1/darwin-2level > /Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1 > /Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/5.16.1/darwin-2level > /Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/5.16.1 .) at > /Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1/Devel/REPL/Plugin/CompletionDriver/Keywords.pm > line 3. > BEGIN failed--compilation aborted at > /Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1/Devel/REPL/Plugin/CompletionDriver/Keywords.pm > line 3. > Compilation failed in require at > /Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1/Devel/REPL/Script.pm > line 40. > > > -- > Tatsuhiko Miyagawa > >
On Tue Oct 02 07:34:53 2012, devel.chm.01@gmail.com wrote:
Show quoted text
> Maybe the default profile could check that they are installed before
> using/loading them.

Just got bit by this one myself on a recent
clean install.  Hope to get to this in the next
week or so....

Show quoted text
> On 10/2/12, miyagawa@gmail.com via RT <bug-Devel-REPL@rt.cpan.org>
> wrote:
> > Tue Oct 02 01:05:13 2012: Request 79956 was acted upon.
> > Transaction: Ticket created by miyagawa@gmail.com
> > Queue: Devel-REPL
> > Subject: dependencies for default plugins
> > Broken in: (no value)
> > Severity: (no value)
> > Owner: Nobody
> > Requestors: miyagawa@gmail.com
> > Status: new
> > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79956 >
> >
> >
> > If you install Devel::REPL with a fresh perl and run re.pl, it
> > explodes because CompletionDriver::INC and
> CompletionDriver::Keywords
> > are enabled with the default profile but the dependencies to those
> > plugins are not required by default.
> >
> > I recommend you to either a) make these dependencies (i.e.
> File::Next
> > and B::Keywords) default to 1 or b) disable plugins in the default
> > profile.
> >
> > ✗ re.pl
> > Failed to load role: Devel::REPL::Plugin::CompletionDriver::Keywords
> > Can't locate B/Keywords.pm in @INC (@INC contains:
> > /Users/miyagawa/perl5/perlbrew/perls/perl-
> 5.16.1/lib/site_perl/5.16.1/darwin-2level
> > /Users/miyagawa/perl5/perlbrew/perls/perl-
> 5.16.1/lib/site_perl/5.16.1
> > /Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/5.16.1/darwin-
> 2level
> > /Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/5.16.1 .) at
> > /Users/miyagawa/perl5/perlbrew/perls/perl-
> 5.16.1/lib/site_perl/5.16.1/Devel/REPL/Plugin/CompletionDriver/Keywords.pm
> > line 3.
> > BEGIN failed--compilation aborted at
> > /Users/miyagawa/perl5/perlbrew/perls/perl-
> 5.16.1/lib/site_perl/5.16.1/Devel/REPL/Plugin/CompletionDriver/Keywords.pm
> > line 3.
> > Compilation failed in require at
> > /Users/miyagawa/perl5/perlbrew/perls/perl-
> 5.16.1/lib/site_perl/5.16.1/Devel/REPL/Script.pm
> > line 40.
> >
> >
> > --
> > Tatsuhiko Miyagawa
> >
> >


Fixed in 1.003015.