Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dancer-Plugin-REST CPAN distribution.

Report information
The Basics
Id: 63921
Status: resolved
Priority: 0/
Queue: Dancer-Plugin-REST

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

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



Download (untitled) / with headers
text/plain 5.2k
Test failures on a ubuntu 9 fresh install, any ideas what to try to fix? # make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/01_base.t t/02_prepare_serializer_for_format.t t/03_resource.t t/04_plugin_settings.t t/01_base.t ........................... ok t/02_prepare_serializer_for_format.t .. 1/8 # Failed test 'headers have content_type set to text/html' # at t/02_prepare_serializer_for_format.t line 58. # Structures begin differing at: # $got = HTTP::Headers=HASH(0x8a651a8) # $expected = ARRAY(0x8a65128) # Failed test 'headers have content_type set to application/json' # at t/02_prepare_serializer_for_format.t line 58. # Structures begin differing at: # $got = HTTP::Headers=HASH(0x8a71048) # $expected = ARRAY(0x8a655a8) # Failed test 'headers have content_type set to text/x-yaml' # at t/02_prepare_serializer_for_format.t line 58. # Structures begin differing at: # $got = HTTP::Headers=HASH(0x8a65828) # $expected = ARRAY(0x8a653d8) # Failed test 'headers have content_type set to text/html' # at t/02_prepare_serializer_for_format.t line 58. # Structures begin differing at: # $got = HTTP::Headers=HASH(0x8a71858) # $expected = ARRAY(0x8a71698) # Looks like you failed 4 tests of 8. t/02_prepare_serializer_for_format.t .. Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/8 subtests t/03_resource.t ....................... ok t/04_plugin_settings.t ................ 1/5 # Failed test 'response looks good for 'GET /foo.json'' # at t/04_plugin_settings.t line 67. # 'An internal error occured' # doesn't match '(?ms-xi:Error 500.*Unable to process your query)' # Looks like you failed 1 test of 5. t/04_plugin_settings.t ................ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests Test Summary Report ------------------- t/02_prepare_serializer_for_format.t (Wstat: 1024 Tests: 8 Failed: 4) Failed tests: 1, 3, 5, 7 Non-zero exit status: 4 t/04_plugin_settings.t (Wstat: 256 Tests: 5 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=4, Tests=22, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.66 cusr 0.05 csys = 0.74 CPU) Result: FAIL Failed 2/4 test programs. 5/22 subtests failed. make: *** [test_dynamic] Error 1 perl -V Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=linux, osvers=2.6.24-23-server, archname=i486-linux-gnu-thread-multi uname='linux vernadsky 2.6.24-23-server #1 smp wed apr 1 22:22:14 utc 2009 i686 gnulinux ' config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC - Darchname=i486-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.10 - Darchlib=/usr/lib/perl/5.10 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 - Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.10.0 -Dsitearch=/usr/local/lib/perl/5.10.0 -Dman1dir=/usr/share/man/man1 - Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 - Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl - Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm - DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib -Dlibperl=libperl.so.5.10.0 -Dd_dosuid - des' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe - I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -g', cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe - I/usr/local/include' ccversion='', gccversion='4.4.1', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /usr/lib64 libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt perllibs=-ldl -lm -lpthread -lc -lcrypt libc=/lib/libc-2.10.1.so, so=so, useshrplib=true, libperl=libperl.so.5.10.0 gnulibc_version='2.10.1' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Oct 1 2009 22:19:26 %ENV: PERL5LIB="" PERL5OPT="" PERL5_CPANPLUS_IS_RUNNING="6213" PERL5_CPAN_IS_RUNNING="6213" @INC: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .
Download (untitled) / with headers
text/plain 167b
Hi A patch exists on github (https://github.com/sukria/dancer-plugin- rest/pulls). You can fetch my fork or you can ask sukria to merge and release a new version :)
Subject: Re: [rt.cpan.org #63921]
Date: Thu, 16 Dec 2010 09:55:44 -0700
To: bug-Dancer-Plugin-REST [...] rt.cpan.org
From: Todd Bruner <todd.bruner [...] gmail.com>
Download (untitled) / with headers
text/plain 417b
That helped. Thanks! ------------------------------ todd.bruner@gmail.com On Wed, Dec 15, 2010 at 1:17 AM, Franck Cuny via RT < bug-Dancer-Plugin-REST@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=63921 > > > Hi > > A patch exists on github (https://github.com/sukria/dancer-plugin- > rest/pulls). > > You can fetch my fork or you can ask sukria to merge and release a new > version :) >
Appears as though this was resolved.


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.