Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 107429
Status: resolved
Priority: 0/
Queue: Devel-Trace-Subs

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

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



Subject: install_trace is not working
Date: Wed, 30 Sep 2015 16:46:39 +0100
To: bug-Devel-Trace-Subs [...] rt.cpan.org
From: Vytautas D <vytdau [...] gmail.com>
Using an example from documentation: sudo perl -MDevel::Trace::Subs=install_trace -e 'install_trace(file => "Data::Dump");' I get following error: Can't locate object method "delete_package" via package "Data::Dump" at /usr/share/perl5/site_perl/5.14.2/Devel/Examine/Subs.pm line 661. Tried on Perl 5.14.2 and 5.18.2 using up to date Devel::Trace::Subs version 0.15
Subject: Re: [rt.cpan.org #107429] install_trace is not working
Date: Wed, 30 Sep 2015 09:52:12 -0600
To: bug-Devel-Trace-Subs [...] rt.cpan.org
From: Steve Bertrand <steve.bertrand [...] gmail.com>
Thank you for the feedback. I found this bug yesterday, and it's fixed in a current version. I'll be updating CPAN today. To fix temporarily until my next version is released, in Devel/Examine/Subs.pm, change "use Symbol;" to "use Symbol qw(delete_package);" New version will be upped within an hour. Cheers! Steve On Wed, Sep 30, 2015 at 9:46 AM, Vytautas D via RT < bug-Devel-Trace-Subs@rt.cpan.org> wrote: Show quoted text
> Wed Sep 30 11:46:48 2015: Request 107429 was acted upon. > Transaction: Ticket created by vytdau@gmail.com > Queue: Devel-Trace-Subs > Subject: install_trace is not working > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: vytdau@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=107429 > > > > Using an example from documentation: > sudo perl -MDevel::Trace::Subs=install_trace -e 'install_trace(file => > "Data::Dump");' > > I get following error: > Can't locate object method "delete_package" via package "Data::Dump" > at /usr/share/perl5/site_perl/5.14.2/Devel/Examine/Subs.pm line 661. > > Tried on Perl 5.14.2 and 5.18.2 > using up to date Devel::Trace::Subs version 0.15 > >
Subject: Re: [rt.cpan.org #107429] install_trace is not working
Date: Wed, 30 Sep 2015 09:56:40 -0600
To: bug-Devel-Trace-Subs [...] rt.cpan.org
From: Steve Bertrand <steve.bertrand [...] gmail.com>
Until the new version is uploaded, and instead of hacking source, you can bypass that piece of code by loading the module you're editing prior to injecting: Change: sudo perl -MDevel::Trace::Subs=install_trace -e 'install_trace(file => "Data::Dump");' ...to this: sudo perl -MData::Dump -MDevel::Trace::Subs=install_trace -e 'install_trace(file => "Data::Dump");' On Wed, Sep 30, 2015 at 9:52 AM, Steve Bertrand <steve.bertrand@gmail.com> wrote: Show quoted text
> Thank you for the feedback. I found this bug yesterday, and it's fixed in > a current version. I'll be updating CPAN today. To fix temporarily until my > next version is released, in Devel/Examine/Subs.pm, change "use Symbol;" to > "use Symbol qw(delete_package);" > > New version will be upped within an hour. > > Cheers! > > Steve > > On Wed, Sep 30, 2015 at 9:46 AM, Vytautas D via RT < > bug-Devel-Trace-Subs@rt.cpan.org> wrote: >
>> Wed Sep 30 11:46:48 2015: Request 107429 was acted upon. >> Transaction: Ticket created by vytdau@gmail.com >> Queue: Devel-Trace-Subs >> Subject: install_trace is not working >> Broken in: (no value) >> Severity: (no value) >> Owner: Nobody >> Requestors: vytdau@gmail.com >> Status: new >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=107429 > >> >> >> Using an example from documentation: >> sudo perl -MDevel::Trace::Subs=install_trace -e 'install_trace(file => >> "Data::Dump");' >> >> I get following error: >> Can't locate object method "delete_package" via package "Data::Dump" >> at /usr/share/perl5/site_perl/5.14.2/Devel/Examine/Subs.pm line 661. >> >> Tried on Perl 5.14.2 and 5.18.2 >> using up to date Devel::Trace::Subs version 0.15 >> >>
>
Subject: Re: [rt.cpan.org #107429] install_trace is not working
Date: Wed, 30 Sep 2015 10:14:39 -0600
To: bug-Devel-Trace-Subs [...] rt.cpan.org
From: Steve Bertrand <steve.bertrand [...] gmail.com>
The updated prerequisite that is causing the issue is now on MetaCPAN: https://metacpan.org/release/STEVEB/Devel-Examine-Subs-1.45. It should be on CPAN within a couple of hours. It requires a newer version of File::Edit::Portable to be installed first, which is here: https://metacpan.org/release/STEVEB/File-Edit-Portable-0.08. You should be able to use CPAN to install the newer modules within a couple of hours. Since I've updated Devel::Trace::Subs as well this morning, a simple "sudo cpan install Devel::Trace::Subs" should update everything. On Wed, Sep 30, 2015 at 9:56 AM, Steve Bertrand <steve.bertrand@gmail.com> wrote: Show quoted text
> Until the new version is uploaded, and instead of hacking source, you can > bypass that piece of code by loading the module you're editing prior to > injecting: > > Change: > > sudo perl -MDevel::Trace::Subs=install_trace -e 'install_trace(file => > "Data::Dump");' > > > ...to this: > > sudo perl -MData::Dump -MDevel::Trace::Subs=install_trace -e > 'install_trace(file => > "Data::Dump");' > > On Wed, Sep 30, 2015 at 9:52 AM, Steve Bertrand <steve.bertrand@gmail.com> > wrote: >
>> Thank you for the feedback. I found this bug yesterday, and it's fixed in >> a current version. I'll be updating CPAN today. To fix temporarily until my >> next version is released, in Devel/Examine/Subs.pm, change "use Symbol;" to >> "use Symbol qw(delete_package);" >> >> New version will be upped within an hour. >> >> Cheers! >> >> Steve >> >> On Wed, Sep 30, 2015 at 9:46 AM, Vytautas D via RT < >> bug-Devel-Trace-Subs@rt.cpan.org> wrote: >>
>>> Wed Sep 30 11:46:48 2015: Request 107429 was acted upon. >>> Transaction: Ticket created by vytdau@gmail.com >>> Queue: Devel-Trace-Subs >>> Subject: install_trace is not working >>> Broken in: (no value) >>> Severity: (no value) >>> Owner: Nobody >>> Requestors: vytdau@gmail.com >>> Status: new >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=107429 > >>> >>> >>> Using an example from documentation: >>> sudo perl -MDevel::Trace::Subs=install_trace -e 'install_trace(file => >>> "Data::Dump");' >>> >>> I get following error: >>> Can't locate object method "delete_package" via package "Data::Dump" >>> at /usr/share/perl5/site_perl/5.14.2/Devel/Examine/Subs.pm line 661. >>> >>> Tried on Perl 5.14.2 and 5.18.2 >>> using up to date Devel::Trace::Subs version 0.15 >>> >>>
>>
>
This was fixed in version 0.16. The required version of Devel::Examine::Subs has been bumped to 1.45, which had the issue. It 'use Symbol', but needed 'use Symbol qw(delete_package);'