Skip Menu |
 

This queue is for tickets about the Test-Run-Plugin-AlternateInterpreters CPAN distribution.

Report information
The Basics
Id: 64286
Status: resolved
Priority: 0/
Queue: Test-Run-Plugin-AlternateInterpreters

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

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



From hayzer [...] gmail.com Tue Dec 28 08: 51:41 2010
MIME-Version: 1.0
X-Spam-Status: No, score=-6.21 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham
X-Spam-Flag: NO
content-type: text/plain; charset="utf-8"
Message-ID: <AANLkTimPKuMduG2jRi5vqW0j0ek6Av1RjK_anDXr4-ff [...] mail.gmail.com>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -6.21
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 4C3A224132D for <cpan-bug+test-run-plugin-alternateinterpreters [...] hipster.bestpractical.com>; Tue, 28 Dec 2010 08:51:41 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22DbvsaC-OXB for <cpan-bug+test-run-plugin-alternateinterpreters [...] hipster.bestpractical.com>; Tue, 28 Dec 2010 08:51:39 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 0A2B82412E6 for <bug-test-run-plugin-alternateinterpreters [...] rt.cpan.org>; Tue, 28 Dec 2010 08:51:38 -0500 (EST)
Received: (qmail 29975 invoked by uid 103); 28 Dec 2010 13:51:38 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 28 Dec 2010 13:51:38 -0000
Received: from mail-qw0-f50.google.com (HELO mail-qw0-f50.google.com) (209.85.216.50) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Tue, 28 Dec 2010 05:51:35 -0800
Received: by qwd6 with SMTP id 6so9144202qwd.9 for <bug-test-run-plugin-alternateinterpreters [...] rt.cpan.org>; Tue, 28 Dec 2010 05:51:33 -0800 (PST)
Received: by 10.229.213.211 with SMTP id gx19mr11921510qcb.172.1293544292965; Tue, 28 Dec 2010 05:51:32 -0800 (PST)
Received: by 10.229.114.204 with HTTP; Tue, 28 Dec 2010 05:51:02 -0800 (PST)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Authentication-Results: hipster.bestpractical.com (amavisd-new); domainkeys=pass header.from=hayzer [...] gmail.com
Delivered-To: cpan-bug+test-run-plugin-alternateinterpreters [...] hipster.bestpractical.com
Subject: Constraint problem while running the tests
Return-Path: <hayzer [...] gmail.com>
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=hgPu7JaQrxF9JmwQvbXZiLtKicKt2SjUinEoWXDq5zT1nW4HWIXNYpn5wBjRe8qNUa oWyCvlUt9J8wYS7vxdsNK6yaYhWLf02nFAROANqNMgabFje8sivHlejMzRFzE1amvrfN HnbmOtWDBf9nelchD9epLS/WyOzbOXZPZP9rg=
X-RT-Mail-Extension: test-run-plugin-alternateinterpreters
X-Original-To: cpan-bug+test-run-plugin-alternateinterpreters [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=45sWzavn2ZQBH9/RY0fJrfk25wHx5qImwDkIixp4VPw=; b=trhCPIsy8bcbljEGubNIokDgVjOqR1DlTnicNWSrKIcO3unjKnUZTGcJO/f93Ww76E S/EswAbJ7eFPLLuwYIztyET4Dg6NbFtRwgS2HcbYqHFKtfLWFwTwV+QEZXLPDxm7h2dQ JLAcqVT8Oj31kz/BTWvIpEGQ04bFNfRu1zs+A=
Date: Tue, 28 Dec 2010 15:51:02 +0200
X-Spam-Level:
To: bug-test-run-plugin-alternateinterpreters [...] rt.cpan.org
From: Thomas Maier <hayzer [...] gmail.com>
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 3311
Download (untitled) / with headers
text/plain 3.2k
Hi Shlomi, I just tried to use Test::Run as follow: {{{ HARNESS_PLUGINS="ColorSummary ColorFileVerdicts AlternateInterpreters" runprove t/ }}} And get the follow error: {{{ t/001-setup .......................... Attribute (alternate_interpreters) does not pass the type constraint because: Validation failed for 'ArrayRef' with value undef at /usr/local/share/perl/5.10.1/Test/Run/Plugin/AlternateInterpreters.pm line 44 Test::Run::Plugin::AlternateInterpreters::_init_strap('Test::Run::Iface=HASH(0x9cf5e70)', 'HASH(0x9d2e060)') called at /usr/local/share/perl/5.10.1/Test/Run/Core.pm line 770 Test::Run::Core::_time_single_test('Test::Run::Iface=HASH(0x9cf5e70)', 'HASH(0x9d2e060)') called at /usr/local/share/perl/5.10.1/Test/Run/Base.pm line 190 Test::Run::Base::_run_sequence('Test::Run::Iface=HASH(0x9cf5e70)', 'ARRAY(0x9d2e070)') called at /usr/local/share/perl/5.10.1/Test/Run/Core.pm line 1323 Test::Run::Core::_run_single_test('Test::Run::Iface=HASH(0x9cf5e70)', 'HASH(0x9d2e060)') called at /usr/local/share/perl/5.10.1/Test/Run/Core.pm line 1589 Test::Run::Core::_run_all_tests_loop('Test::Run::Iface=HASH(0x9cf5e70)') called at /usr/local/share/perl/5.10.1/Test/Run/Core.pm line 1600 Test::Run::Core::__ANON__() called at /usr/local/share/perl/5.10.1/Test/Run/Obj/TotObj.pm line 443 Test::Run::Obj::TotObj::benchmark_callback('Test::Run::Core::__HelperObjects::Helpers::Tot=HASH(0x9cffb48)', 'CODE(0x9cfa428)') called at /usr/local/share/perl/5.10.1/Test/Run/Core.pm line 1602 Test::Run::Core::_run_all_tests__run_loop('Test::Run::Iface=HASH(0x9cf5e70)') called at /usr/local/share/perl/5.10.1/Test/Run/Base.pm line 190 Test::Run::Base::_run_sequence('Test::Run::Iface=HASH(0x9cf5e70)') called at /usr/local/share/perl/5.10.1/Test/Run/Core.pm line 1625 Test::Run::Core::_run_all_tests('Test::Run::Iface=HASH(0x9cf5e70)') called at /usr/local/share/perl/5.10.1/Test/Run/Base.pm line 190 Test::Run::Base::_run_sequence('Test::Run::Iface=HASH(0x9cf5e70)') called at /usr/local/share/perl/5.10.1/Test/Run/Core.pm line 1420 Test::Run::Core::_real_runtests('Test::Run::Iface=HASH(0x9cf5e70)') called at /usr/local/share/perl/5.10.1/Test/Run/Core.pm line 1431 eval {...} called at /usr/local/share/perl/5.10.1/Test/Run/Core.pm line 1431 Test::Run::Core::runtests('Test::Run::Iface=HASH(0x9cf5e70)') called at /usr/local/share/perl/5.10.1/Test/Run/CmdLine.pm line 145 Test::Run::CmdLine::run('Test::Run::CmdLine::Drivers::Default=HASH(0x8f0a550)') called at /usr/local/share/perl/5.10.1/Test/Run/CmdLine/Iface.pm line 193 Test::Run::CmdLine::Iface::run('Test::Run::CmdLine::Iface=HASH(0x8f0a050)') called at /usr/local/share/perl/5.10.1/Test/Run/CmdLine/Prove.pm line 315 Test::Run::CmdLine::Prove::_wet_run('Test::Run::CmdLine::Prove=HASH(0x8f09d30)', 'ARRAY(0x8ee5968)') called at /usr/local/share/perl/5.10.1/Test/Run/CmdLine/Prove.pm line 294 Test::Run::CmdLine::Prove::_actual_run_tests('Test::Run::CmdLine::Prove=HASH(0x8f09d30)', 'ARRAY(0x8ee5968)') called at /usr/local/share/perl/5.10.1/Test/Run/CmdLine/Prove.pm line 271 Test::Run::CmdLine::Prove::run('Test::Run::CmdLine::Prove=HASH(0x8f09d30)') called at /usr/local/share/perl/5.10.1/Test/Run/CmdLine/Prove/App.pm line 23 Test::Run::CmdLine::Prove::App::run() called at /usr/local/bin/runprove line 10 }}} Regards, Thomas
MIME-Version: 1.0
In-Reply-To: <AANLkTimPKuMduG2jRi5vqW0j0ek6Av1RjK_anDXr4-ff [...] mail.gmail.com>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <AANLkTimPKuMduG2jRi5vqW0j0ek6Av1RjK_anDXr4-ff [...] mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-17551-1293703651-61.64286-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1133
Download (untitled) / with headers
text/plain 1.1k
Hi Thomas, thanks for your interest in Test-Run. On Tue Dec 28 08:51:41 2010, hayzer@gmail.com wrote: Show quoted text
> Hi Shlomi, > I just tried to use Test::Run as follow: > {{{ > HARNESS_PLUGINS="ColorSummary ColorFileVerdicts AlternateInterpreters" > runprove t/ > }}} > > And get the follow error: > {{{ > t/001-setup .......................... Attribute > (alternate_interpreters) does not pass the type constraint because: > Validation failed for 'ArrayRef' with value undef at > /usr/local/share/perl/5.10.1/Test/Run/Plugin/AlternateInterpreters.pm > line 44 >
All this is Moose's way of saying that the alternate_interpreters slot was not populated with an a array ref. To fix it, follow the instructions on http://search.cpan.org/perldoc?Test::Run::CmdLine::Plugin::AlternateInterpreters and point the HARNESS_ALT_INTRP_FILE environment variable to a YAML file that contains the necessary information (or remove the AlternateInterpreters plugin from HARNESS_PLUGINS if you don't need it.). Maybe I should throw a more meaningful exception if HARNESS_ALT_INTRP_PLUGINS is not specified. I'll consider it. Regards, -- Shlomi Fish
From hayzer [...] gmail.com Thu Dec 30 07: 08:12 2010
MIME-Version: 1.0
X-Spam-Status: No, score=-6.21 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-17551-1293703651-1706.64286-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-64286 [...] rt.cpan.org> <AANLkTimPKuMduG2jRi5vqW0j0ek6Av1RjK_anDXr4-ff [...] mail.gmail.com> <rt-3.8.HEAD-17551-1293703651-1706.64286-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <AANLkTimr7pVSNtO5Vdg937vQj0CETOp_gLF2CTnjiKRP [...] mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.21
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Authentication-Results: hipster.bestpractical.com (amavisd-new); domainkeys=pass header.from=hayzer [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id DF3602412DC for <cpan-bug+Test-Run-Plugin-AlternateInterpreters [...] hipster.bestpractical.com>; Thu, 30 Dec 2010 07:08:11 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mFkJnCbe8CiO for <cpan-bug+Test-Run-Plugin-AlternateInterpreters [...] hipster.bestpractical.com>; Thu, 30 Dec 2010 07:08:10 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id B80E5241167 for <bug-Test-Run-Plugin-AlternateInterpreters [...] rt.cpan.org>; Thu, 30 Dec 2010 07:08:09 -0500 (EST)
Received: (qmail 20870 invoked by uid 103); 30 Dec 2010 12:08:09 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 30 Dec 2010 12:08:09 -0000
Received: from mail-qw0-f50.google.com (HELO mail-qw0-f50.google.com) (209.85.216.50) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Thu, 30 Dec 2010 04:08:07 -0800
Received: by qwd6 with SMTP id 6so10870865qwd.9 for <bug-Test-Run-Plugin-AlternateInterpreters [...] rt.cpan.org>; Thu, 30 Dec 2010 04:08:04 -0800 (PST)
Received: by 10.229.213.202 with SMTP id gx10mr13910144qcb.96.1293710884594; Thu, 30 Dec 2010 04:08:04 -0800 (PST)
Received: by 10.229.95.133 with HTTP; Thu, 30 Dec 2010 04:07:34 -0800 (PST)
Delivered-To: cpan-bug+Test-Run-Plugin-AlternateInterpreters [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #64286] Constraint problem while running the tests
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=IKtBqbqP4jHjzKWh368niQl2SsSRzRkhBMDJjiTKseDN9R64ZkGWCbrQ87Jud6YkST iNhOwxsXTWfw2mfGHrc/wxRL+UiF3V4vDL2P9iP1z10Xf1DcQ97udZb6f+Sntg3tYKoh DtnE4h2eEpwxxfKkqrDiNacET0HOKk4JKamsM=
Return-Path: <hayzer [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=QEjCMJ1e9W46To1xvZ48ZUqGNN4OEOH2CFCVFNOjRPE=; b=BIerz5tzsq7x5spw+Zf9+y7RoxZfOsKUT5hrDWoONSys857hD6OVvOw7WLfLHW6x/I 3NG/HytescP6peKn4O/OfbsJXu5Z3wSS+akHrF2RALjJhvLJi0gn31kUy9b7x69YaUo3 q/TKWBr4RC2d5gART9oMYJ54GIzwZG7J37O8A=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Test-Run-Plugin-AlternateInterpreters [...] hipster.bestpractical.com
X-RT-Mail-Extension: test-run-plugin-alternateinterpreters
Date: Thu, 30 Dec 2010 14:07:34 +0200
X-Spam-Level:
To: bug-Test-Run-Plugin-AlternateInterpreters [...] rt.cpan.org
From: Thomas Maier <hayzer [...] gmail.com>
RT-Message-ID: <rt-3.8.HEAD-9726-1293710892-745.64286-0-0 [...] rt.cpan.org>
Content-Length: 1277
Download (untitled) / with headers
text/plain 1.2k
Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=64286 > > > Hi Thomas, > > thanks for your interest in Test-Run. > > On Tue Dec 28 08:51:41 2010, hayzer@gmail.com wrote:
>> Hi Shlomi, >> I just tried to use Test::Run as follow: >> {{{ >> HARNESS_PLUGINS="ColorSummary ColorFileVerdicts AlternateInterpreters" >> runprove t/ >> }}} >> >> And get the follow error: >> {{{ >> t/001-setup .......................... Attribute >> (alternate_interpreters) does not pass the type constraint because: >> Validation failed for 'ArrayRef' with value undef at >> /usr/local/share/perl/5.10.1/Test/Run/Plugin/AlternateInterpreters.pm >> line 44 >>
> > All this is Moose's way of saying that the alternate_interpreters slot > was not populated with an a array ref. To fix it, follow the > instructions on > http://search.cpan.org/perldoc?Test::Run::CmdLine::Plugin::AlternateInterpreters
Ups. Missed that. Sorry. Thanks Show quoted text
> > and point the HARNESS_ALT_INTRP_FILE environment variable to a YAML file > that contains the necessary information (or remove the > AlternateInterpreters plugin from HARNESS_PLUGINS if you don't need it.). > > Maybe I should throw a more meaningful exception if > HARNESS_ALT_INTRP_PLUGINS is not specified. I'll consider it. > > Regards, > > -- Shlomi Fish > >
MIME-Version: 1.0
In-Reply-To: <AANLkTimPKuMduG2jRi5vqW0j0ek6Av1RjK_anDXr4-ff [...] mail.gmail.com>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <AANLkTimPKuMduG2jRi5vqW0j0ek6Av1RjK_anDXr4-ff [...] mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-12438-1312359485-677.64286-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 6
Fixed.


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.