Skip Menu |

This queue is for tickets about the Metabolomics-Fragment-Annotation CPAN distribution.

Report information
The Basics
Id: 131470
Status: resolved
Priority: 0/
Queue: Metabolomics-Fragment-Annotation

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

Bug Information
Severity: (no value)
Broken in:
  • 0.2
  • 0.6.2
Fixed in: 0.6.3



Subject: Can't locate object method "new" via package "Text::CSV_XS"
On at least one of my smokers I see the following test failure: ... [WARN] the method _getPeak_ANNOTATION_IN_NEG_MODE can't _getPeak a undef or null string value [WARN] the method _getPeak_ANNOTATION_IN_POS_MODE can't _getPeak a undef or null string value [WARN] the method _getPeak_ANNOTATION_IN_NEG_MODE can't _getPeak a undef or null string value [WARN] the method _getPeak_ANNOTATION_TYPE can't _getPeak a undef or void string value [WARN] the method _getPeak_ANNOTATION_IN_NEG_MODE can't _getPeak a undef or null string value [WARN] the method _getPeak_ANNOTATION_IN_POS_MODE can't _getPeak a undef or null string value Can't locate object method "new" via package "Text::CSV_XS" (perhaps you forgot to load "Text::CSV_XS"?) at /home/cpansand/.cpan/build/2020011418/Metabolomics-Fragment-Annotation-0.2-0/t/../lib/Metabolomics/Fragment/Annotation.pm line 202. BEGIN failed--compilation aborted at t/Fragment-Annotation.t line 888. # Looks like your test exited with 255 just after 9. t/Fragment-Annotation.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 9/18 subtests ... Text::CSV is declared as a prereq and installed, so probably this module and not Text::CSV_XS should be used (or alternatively the declaration should be changed).
Thank you very much for the bug reporting. This issue was fixed in version 0.6.3 by adding Text::CSV_XS module declaration in the MakeFile.PL On Tue Jan 14 14:49:07 2020, SREZIC wrote: Show quoted text
> On at least one of my smokers I see the following test failure: > > ... > [WARN] the method _getPeak_ANNOTATION_IN_NEG_MODE can't _getPeak a > undef or null string value > [WARN] the method _getPeak_ANNOTATION_IN_POS_MODE can't _getPeak a > undef or null string value > [WARN] the method _getPeak_ANNOTATION_IN_NEG_MODE can't _getPeak a > undef or null string value > [WARN] the method _getPeak_ANNOTATION_TYPE can't _getPeak a undef or > void string value > [WARN] the method _getPeak_ANNOTATION_IN_NEG_MODE can't _getPeak a > undef or null string value > [WARN] the method _getPeak_ANNOTATION_IN_POS_MODE can't _getPeak a > undef or null string value > Can't locate object method "new" via package "Text::CSV_XS" (perhaps > you forgot to load "Text::CSV_XS"?) at > /home/cpansand/.cpan/build/2020011418/Metabolomics-Fragment- > Annotation-0.2-0/t/../lib/Metabolomics/Fragment/Annotation.pm line > 202. > BEGIN failed--compilation aborted at t/Fragment-Annotation.t line 888. > # Looks like your test exited with 255 just after 9. > t/Fragment-Annotation.t .. > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 9/18 subtests > ... > > Text::CSV is declared as a prereq and installed, so probably this > module and not Text::CSV_XS should be used (or alternatively the > declaration should be changed).
Including module in makefile for v0.6.3