Skip Menu |

This queue is for tickets about the Text-CSV_XS CPAN distribution.

Report information
The Basics
Id: 123584
Status: resolved
Priority: 0/
Queue: Text-CSV_XS

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

Bug Information
Severity: Normal
Broken in: 0.41
Fixed in: 1.35



Subject: error_diag failure
I don't know what is wrong here, but unfortunately this message gives no indication. Perhaps there needs to be a test on what "ref($self)" is at this point. Can't call method "isa" on unblessed reference at /home/njh/perl5/perlbrew/perls/perl-5.26.1-thread/lib/site_perl/5.26.1/x86_64-linux-thread-multi/Text/CSV_XS.pm line 612, <GEN5> line 2417.
On Fri Nov 10 08:08:15 2017, NHORNE wrote: Show quoted text
> I don't know what is wrong here, but unfortunately this message gives > no indication. Perhaps there needs to be a test on what "ref($self)" > is at this point. > > Can't call method "isa" on unblessed reference at > /home/njh/perl5/perlbrew/perls/perl-5.26.1- > thread/lib/site_perl/5.26.1/x86_64-linux-thread-multi/Text/CSV_XS.pm > line 612, <GEN5> line 2417.
Don't you have code that triggers this? It boils down to something like this: $ perl -MText::CSV_XS -wE'Text::CSV_XS::error_diag ({})' Can't call method "isa" on unblessed reference at .../site_perl/5.26.0/x86_64-linux-thread-multi-ld/Text/CSV_XS.pm line 612. which is deliberately shooting yourself in the foot
Subject: Re: [rt.cpan.org #123584] error_diag failure
Date: Fri, 10 Nov 2017 14:35:43 -0500
To: <bug-Text-CSV_XS [...] rt.cpan.org>
From: Nigel Horne <njh [...] bandsman.co.uk>
On 10/11/17, 08:19, "H.Merijn Brand via RT" <bug-Text-CSV_XS@rt.cpan.org> wrote: <URL: https://rt.cpan.org/Ticket/Display.html?id=123584 > On Fri Nov 10 08:08:15 2017, NHORNE wrote: Show quoted text
> I don't know what is wrong here, but unfortunately this message gives > no indication. Perhaps there needs to be a test on what "ref($self)" > is at this point. > > Can't call method "isa" on unblessed reference at > /home/njh/perl5/perlbrew/perls/perl-5.26.1- > thread/lib/site_perl/5.26.1/x86_64-linux-thread-multi/Text/CSV_XS.pm > line 612, <GEN5> line 2417.
Don't you have code that triggers this? Yes - https://github.com/nigelhorne/ged2site
Show quoted text
> Don't you have code that triggers this? > > Yes - https://github.com/nigelhorne/ged2site
Hmm, that is too big to analyse. Can you cut it down to an example of say 15 lines?
Subject: Re: [rt.cpan.org #123584] error_diag failure
Date: Sat, 11 Nov 2017 11:19:12 -0500
To: <bug-Text-CSV_XS [...] rt.cpan.org>, <NHORNE [...] cpan.org>
From: Nigel Horne <njh [...] bandsman.co.uk>
Hmm, that is too big to analyse. Can you cut it down to an example of say 15 lines? No, simple code works fine.