[dancer-users] Dancer under Strawberry Perl and local::lib

Lutz Gehlen lrg_ml at gmx.net
Fri Oct 3 12:09:51 BST 2014


Hello all,
I have just set up Strawberry Perl and local::lib under Windows 7 and am 
trying to install Dancer using cpanm. I get some permission problems, 
however (see build.log below).

The problems I find in the log are the following:
cannot unlink file for C:
\Users\lgehlen\AppData\Local\Temp\08zDBkGBog\logs\prod.log: Permission 
denied at C:/Strawberry/perl/lib/File/Temp.pm line 784.
cannot remove directory for C:
\Users\lgehlen\AppData\Local\Temp\08zDBkGBog\logs: Directory not empty at 
C:/Strawberry/perl/lib/File/Temp.pm line 784.
cannot remove directory for C:/Users/lgehlen/AppData/Local/Temp/08zDBkGBog: 
Directory not empty at C:/Strawberry/perl/lib/File/Temp.pm line 784.
[...]
[...some similar messages...]
[...]
Error in tempfile() using template \XXXXXXXXXX: Could not create temp file 
\hOPQFPobHh: Permission denied at C:
\Users\lgehlen\perl5\lib\perl5/HTTP/Body/OctetStream.pm line 36.

I am not very familiar with permissions under Windows, but if I look at the 
properties of \Users\lgehlen\AppData\Local\Temp\08zDBkGBog and the log 
directory in there, they both have the attribute "Read-only (only applies 
to files in folder)" ticked (or rather, the box is filled, which seems to be 
different from ticked). While this seems to explain the problem, I have no 
idea what to do about it, since these temporary directories seem to be 
created during the build process.

Can anybody help?
Thanks a lot,
Lutz

Full build.log:

cpanm (App::cpanminus) 1.7009 on perl 5.020001 built for MSWin32-x64-multi-
thread
Work directory is C:\Users\lgehlen/.cpanm/work/1412333148.920
You have make C:\Strawberry\c\bin\dmake.exe
You have LWP 6.08
Falling back to Archive::Tar 2.02
Searching Dancer on cpanmetadb ...
--> Working on Dancer
Fetching http://www.cpan.org/authors/id/Y/YA/YANICK/Dancer-1.3130.tar.gz
-> OK
Unpacking Dancer-1.3130.tar.gz
Entering Dancer-1.3130
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.98)
Configuring Dancer-1.3130
Running Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Dancer
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have File::Path 0 ... Yes (2.09)
Checking if you have File::Temp 0 ... Yes (0.2304)
Checking if you have Carp 0 ... Yes (1.3301)
Checking if you have File::Spec 0 ... Yes (3.48)
Checking if you have Scalar::Util 0 ... Yes (1.41)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.98)
Checking if you have HTTP::Body 0 ... Yes (1.19)
Checking if you have bytes 0 ... Yes (1.04)
Checking if you have HTTP::Cookies 0 ... Yes (6.01)
Checking if you have URI 0 ... Yes (1.64)
Checking if you have IO::Handle 0 ... Yes (1.35)
Checking if you have FindBin 0 ... Yes (1.51)
Checking if you have Fcntl 0 ... Yes (1.11)
Checking if you have Exporter 0 ... Yes (5.71)
Checking if you have Time::HiRes 0 ... Yes (1.9726)
Checking if you have lib 0 ... Yes (0.63)
Checking if you have Pod::Usage 0 ... Yes (1.64)
Checking if you have URI::Escape 0 ... Yes (3.31)
Checking if you have POSIX 0 ... Yes (1.38_03)
Checking if you have Hash::Merge::Simple 0 ... Yes (0.051)
Checking if you have HTTP::Headers 0 ... Yes (6.05)
Checking if you have IO::File 0 ... Yes (1.16)
Checking if you have overload 0 ... Yes (1.22)
Checking if you have strict 0 ... Yes (1.08)
Checking if you have Test::Builder 0 ... Yes (1.001006)
Checking if you have IPC::Open3 0 ... Yes (1.16)
Checking if you have MIME::Types 0 ... Yes (2.09)
Checking if you have vars 0 ... Yes (1.03)
Checking if you have constant 0 ... Yes (1.31)
Checking if you have HTTP::Server::Simple::PSGI 0 ... Yes (0.16)
Checking if you have LWP::UserAgent 0 ... Yes (6.06)
Checking if you have Encode 0 ... Yes (2.62)
Checking if you have Plack::Builder 0 ... Yes (undef)
Checking if you have File::Spec::Functions 0 ... Yes (3.48)
Checking if you have Try::Tiny 0 ... Yes (0.22)
Checking if you have base 0 ... Yes (2.22)
Checking if you have Getopt::Long 0 ... Yes (2.42)
Checking if you have File::Copy 0 ... Yes (2.30)
Checking if you have HTTP::Request 0 ... Yes (6.00)
Checking if you have Module::Runtime 0 ... Yes (0.014)
Checking if you have HTTP::Date 0 ... Yes (6.02)
Checking if you have Devel::Hide 0 ... Yes (0.0009)
Checking if you have File::stat 0 ... Yes (1.07)
Checking if you have Cwd 0 ... Yes (3.48)
Checking if you have Test::More 0.88 ... Yes (1.001006)
Checking if you have parent 0 ... Yes (0.228)
Checking if you have warnings 0 ... Yes (1.23)
Checking if you have utf8 0 ... Yes (1.13_01)
Checking if you have File::Basename 0 ... Yes (2.85)
Checking if you have Data::Dumper 0 ... Yes (2.151)
Building and testing Dancer-1.3130
cp lib/Dancer/Continuation/Route/FileSent.pm 
blib\lib\Dancer\Continuation\Route\FileSent.pm
cp lib/Dancer/Continuation/Route/Templated.pm 
blib\lib\Dancer\Continuation\Route\Templated.pm
cp lib/Dancer/Continuation.pm blib\lib\Dancer\Continuation.pm
cp lib/Dancer/Cookbook.pod blib\lib\Dancer\Cookbook.pod
cp lib/Dancer/Continuation/Route.pm blib\lib\Dancer\Continuation\Route.pm
cp lib/Dancer/Continuation/Route/ErrorSent.pm 
blib\lib\Dancer\Continuation\Route\ErrorSent.pm
cp lib/Dancer.pm blib\lib\Dancer.pm
cp lib/Dancer/App.pm blib\lib\Dancer\App.pm
cp lib/Dancer/Deprecation.pm blib\lib\Dancer\Deprecation.pm
cp lib/Dancer/Cookie.pm blib\lib\Dancer\Cookie.pm
cp lib/Dancer/Deployment.pod blib\lib\Dancer\Deployment.pod
cp lib/Dancer/Config.pm blib\lib\Dancer\Config.pm
cp lib/Dancer/Development/Integration.pod 
blib\lib\Dancer\Development\Integration.pod
cp lib/Dancer/Development.pod blib\lib\Dancer\Development.pod
cp lib/Dancer/Continuation/Halted.pm blib\lib\Dancer\Continuation\Halted.pm
cp lib/Dancer/Continuation/Route/Passed.pm 
blib\lib\Dancer\Continuation\Route\Passed.pm
cp lib/Dancer/Continuation/Route/Forwarded.pm 
blib\lib\Dancer\Continuation\Route\Forwarded.pm
cp lib/Dancer/Cookies.pm blib\lib\Dancer\Cookies.pm
cp lib/Dancer/Config/Object.pm blib\lib\Dancer\Config\Object.pm
cp lib/Dancer/Logger/Capture.pm blib\lib\Dancer\Logger\Capture.pm
cp lib/Dancer/Handler/PSGI.pm blib\lib\Dancer\Handler\PSGI.pm
cp lib/Dancer/Exception/Base.pm blib\lib\Dancer\Exception\Base.pm
cp lib/Dancer/Logger/Diag.pm blib\lib\Dancer\Logger\Diag.pm
cp lib/Dancer/Hook.pm blib\lib\Dancer\Hook.pm
cp lib/Dancer/Handler/Standalone.pm blib\lib\Dancer\Handler\Standalone.pm
cp lib/Dancer/Introduction.pod blib\lib\Dancer\Introduction.pod
cp lib/Dancer/Engine.pm blib\lib\Dancer\Engine.pm
cp lib/Dancer/GetOpt.pm blib\lib\Dancer\GetOpt.pm
cp lib/Dancer/Hook/Properties.pm blib\lib\Dancer\Hook\Properties.pm
cp lib/Dancer/Handler.pm blib\lib\Dancer\Handler.pm
cp lib/Dancer/FileUtils.pm blib\lib\Dancer\FileUtils.pm
cp lib/Dancer/Error.pm blib\lib\Dancer\Error.pm
cp lib/Dancer/Logger.pm blib\lib\Dancer\Logger.pm
cp lib/Dancer/Logger/Capture/Trap.pm blib\lib\Dancer\Logger\Capture\Trap.pm
cp lib/Dancer/Factory/Hook.pm blib\lib\Dancer\Factory\Hook.pm
cp lib/Dancer/HTTP.pm blib\lib\Dancer\HTTP.pm
cp lib/Dancer/Handler/Debug.pm blib\lib\Dancer\Handler\Debug.pm
cp lib/Dancer/Logger/Abstract.pm blib\lib\Dancer\Logger\Abstract.pm
cp lib/Dancer/Exception.pm blib\lib\Dancer\Exception.pm
cp lib/Dancer/Logger/Console.pm blib\lib\Dancer\Logger\Console.pm
cp lib/Dancer/Request/Upload.pm blib\lib\Dancer\Request\Upload.pm
cp lib/Dancer/Plugin.pm blib\lib\Dancer\Plugin.pm
cp lib/Dancer/Response.pm blib\lib\Dancer\Response.pm
cp lib/Dancer/Object.pm blib\lib\Dancer\Object.pm
cp lib/Dancer/Route/Cache.pm blib\lib\Dancer\Route\Cache.pm
cp lib/Dancer/Route.pm blib\lib\Dancer\Route.pm
cp lib/Dancer/MIME.pm blib\lib\Dancer\MIME.pm
cp lib/Dancer/Plugins.pod blib\lib\Dancer\Plugins.pod
cp lib/Dancer/Logger/Null.pm blib\lib\Dancer\Logger\Null.pm
cp lib/Dancer/Renderer.pm blib\lib\Dancer\Renderer.pm
cp lib/Dancer/Plugin/Ajax.pm blib\lib\Dancer\Plugin\Ajax.pm
cp lib/Dancer/Serializer/Abstract.pm blib\lib\Dancer\Serializer\Abstract.pm
cp lib/Dancer/Route/Registry.pm blib\lib\Dancer\Route\Registry.pm
cp lib/Dancer/Object/Singleton.pm blib\lib\Dancer\Object\Singleton.pm
cp lib/Dancer/Serializer/Dumper.pm blib\lib\Dancer\Serializer\Dumper.pm
cp lib/Dancer/Serializer.pm blib\lib\Dancer\Serializer.pm
cp lib/Dancer/Request.pm blib\lib\Dancer\Request.pm
cp lib/Dancer/Serializer/JSON.pm blib\lib\Dancer\Serializer\JSON.pm
cp lib/Dancer/Logger/Note.pm blib\lib\Dancer\Logger\Note.pm
cp lib/Dancer/Logger/File.pm blib\lib\Dancer\Logger\File.pm
cp lib/Dancer/ModuleLoader.pm blib\lib\Dancer\ModuleLoader.pm
cp lib/Dancer/Template/Abstract.pm blib\lib\Dancer\Template\Abstract.pm
cp lib/Dancer/Template/TemplateToolkit.pm 
blib\lib\Dancer\Template\TemplateToolkit.pm
cp lib/Dancer/Serializer/Mutable.pm blib\lib\Dancer\Serializer\Mutable.pm
cp lib/Dancer/Serializer/XML.pm blib\lib\Dancer\Serializer\XML.pm
cp lib/Dancer/Session/YAML.pm blib\lib\Dancer\Session\YAML.pm
cp lib/Dancer/Timer.pm blib\lib\Dancer\Timer.pm
cp lib/Dancer/Session.pm blib\lib\Dancer\Session.pm
cp lib/Dancer/Template/Simple.pm blib\lib\Dancer\Template\Simple.pm
cp lib/Dancer/Serializer/YAML.pm blib\lib\Dancer\Serializer\YAML.pm
cp lib/Dancer/Session/Simple.pm blib\lib\Dancer\Session\Simple.pm
cp lib/Dancer/Session/Abstract.pm blib\lib\Dancer\Session\Abstract.pm
cp lib/Dancer/Tutorial.pod blib\lib\Dancer\Tutorial.pod
cp lib/Dancer/Test.pm blib\lib\Dancer\Test.pm
cp lib/Dancer/Template.pm blib\lib\Dancer\Template.pm
cp lib/Dancer/Serializer/JSONP.pm blib\lib\Dancer\Serializer\JSONP.pm
cp lib/Dancer/SharedData.pm blib\lib\Dancer\SharedData.pm
C:\Strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp -- bin/dancer 
blib\script\dancer
pl2bat.bat blib\script\dancer
C:\Strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" 
"-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 
'blib\arch')" t/*.t t/00_base/*.t t/01_config/*.t t/02_request/*.t 
t/03_route_handler/*.t t/04_static_file/*.t t/05_views/*.t t/06_helpers/*.t 
t/07_apphandlers/*.t t/08_session/*.t t/09_cookies/*.t t/10_template/*.t 
t/11_logger/*.t t/12_response/*.t t/13_engines/*.t t/14_serializer/*.t 
t/15_plugins/*.t t/16_timer/*.t t/17_apps/*.t t/19_dancer/*.t 
t/20_deprecation/*.t t/21_dependents/*.t t/22_hooks/*.t 
t/23_dancer_tests/*.t t/24_deployment/*.t t/25_exceptions/*.t
t/00-compile.t ...................................... ok
# 
# 
# Generated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.10
# perl: 5.020001 (wanted 5.006) on MSWin32 from C:
\Strawberry\perl\bin\perl.exe
# 
# Carp                                          => 1.3301     (want any 
version)
# Cwd                                           => 3.48       (want any 
version)
# Data::Dumper                                  => 2.151      (want any 
version)
# Devel::Hide                                   => 0.0009     (want any 
version)
# Encode                                        => 2.62       (want any 
version)
# Exporter                                      => 5.71       (want any 
version)
# ExtUtils::MakeMaker                           => 6.98       (want any 
version)
# Fcntl                                         => 1.11       (want any 
version)
# File::Basename                                => 2.85       (want any 
version)
# File::Copy                                    => 2.30       (want any 
version)
# File::Path                                    => 2.09       (want any 
version)
# File::Spec                                    => 3.48       (want any 
version)
# File::Spec::Functions                         => 3.48       (want any 
version)
# File::Temp                                    => 0.2304     (want any 
version)
# File::stat                                    => 1.07       (want any 
version)
# FindBin                                       => 1.51       (want any 
version)
# Getopt::Long                                  => 2.42       (want any 
version)
# HTTP::Body                                    => 1.19       (want any 
version)
# HTTP::Cookies                                 => 6.01       (want any 
version)
# HTTP::Date                                    => 6.02       (want any 
version)
# HTTP::Headers                                 => 6.05       (want any 
version)
# HTTP::Request                                 => 6.00       (want any 
version)
# HTTP::Server::Simple::PSGI                    => 0.16       (want any 
version)
# Hash::Merge::Simple                           => 0.051      (want any 
version)
# IO::File                                      => 1.16       (want any 
version)
# IO::Handle                                    => 1.35       (want any 
version)
# IPC::Open3                                    => 1.16       (want any 
version)
# LWP::UserAgent                                => 6.06       (want any 
version)
# MIME::Types                                   => 2.09       (want any 
version)
# Module::Runtime                               => 0.014      (want any 
version)
# POSIX                                         => 1.38_03    (want any 
version)
# Plack::Builder                                => <undef>    (want any 
version)
# Pod::Usage                                    => 1.64       (want any 
version)
# Scalar::Util                                  => 1.41       (want any 
version)
# Test::Builder                                 => 1.001006   (want any 
version)
# Test::More                                    => 1.001006   (want 0.88)   
# Time::HiRes                                   => 1.9726     (want any 
version)
# Try::Tiny                                     => 0.22       (want any 
version)
# URI                                           => 1.64       (want any 
version)
# URI::Escape                                   => 3.31       (want any 
version)
# base                                          => 2.22       (want any 
version)
# bytes                                         => 1.04       (want any 
version)
# constant                                      => 1.31       (want any 
version)
# lib                                           => 0.63       (want any 
version)
# overload                                      => 1.22       (want any 
version)
# parent                                        => 0.228      (want any 
version)
# strict                                        => 1.08       (want any 
version)
# utf8                                          => 1.13_01    (want any 
version)
# vars                                          => 1.03       (want any 
version)
# warnings                                      => 1.23       (want any 
version)
# 
# Thanks for using my code.  I hope it works for you.
# If not, please try and include this output in the bug report.
# That will help me reproduce the issue and solve your problem.
# 
t/000-report-versions-tiny.t ........................ ok
t/00_base/000_create_fake_env.t ..................... ok
# Testing Dancer 1.3130, Perl 5.020001, C:\Strawberry\perl\bin\perl.exe
t/00_base/001_load.t ................................ ok
t/00_base/002_strict_and_warnings.t ................. ok
t/00_base/003_syntax.t .............................. ok
t/00_base/004_args.t ................................ ok
t/00_base/005_module_loader.t ....................... ok
t/00_base/007_load_syntax.t ......................... ok
t/00_base/008_export.t .............................. ok
t/00_base/009_syntax_export.t ....................... ok
t/00_base/010_export_script.t ....................... ok
t/00_base/06_dancer_object.t ........................ ok
t/00_base/08_pod_coverage_dancer.t .................. skipped: 
Test::Pod::Coverage 1.08 required for testing POD coverage
t/00_base/09_load_app.t ............................. ok
t/00_base/11_file_utils.t ........................... ok
t/00_base/12_utf8_charset.t ......................... skipped: skip test 
with Test::TCP in win32
t/00_base/13_dancer_singleton.t ..................... ok
t/00_base/15_dependent_modules.t .................... skipped: Author tests 
not required for installation
t/00_base/16_version.t .............................. ok
t/00_base/17_globalwarnings_config_on.t ............. ok
t/00_base/config.t .................................. ok
t/00_base/normalize_path.t .......................... ok
# Test::TCP 2.06 loaded successfully
# Test::More 1.001006 loaded successfully
# JSON 2.90 loaded successfully
# YAML 1.12 loaded successfully
# Clone 0.37 loaded successfully
# Plack 1.0031 loaded successfully
# XML::Simple 2.20 loaded successfully
# HTTP::Parser::XS is not available
t/00_base/optional-module-versions.t ................ ok
t/00_base/uri_for.t ................................. ok
t/01_config/01_settings.t ........................... ok
t/01_config/02_mime_type.t .......................... ok
t/01_config/03_logger.t ............................. ok
t/01_config/04_config_file.t ........................ ok
t/01_config/05_serializers.t ........................ ok
t/01_config/06_config_api.t ......................... ok
t/01_config/06_stack_trace.t ........................ ok
t/01_config/07_strict_config.t ...................... ok
cannot unlink file for C:
\Users\lgehlen\AppData\Local\Temp\08zDBkGBog\logs\prod.log: Permission 
denied at C:/Strawberry/perl/lib/File/Temp.pm line 784.
cannot remove directory for C:
\Users\lgehlen\AppData\Local\Temp\08zDBkGBog\logs: Directory not empty at 
C:/Strawberry/perl/lib/File/Temp.pm line 784.
cannot remove directory for C:/Users/lgehlen/AppData/Local/Temp/08zDBkGBog: 
Directory not empty at C:/Strawberry/perl/lib/File/Temp.pm line 784.
t/01_config/08_environments.t ....................... ok
t/01_config/yaml_dependency.t ....................... ok
t/02_request/000_create_fake_env.t .................. ok
t/02_request/01_load.t .............................. ok
t/02_request/04_custom.t ............................ ok
t/02_request/04_forward.t ........................... ok
t/02_request/05_cgi_pm_compat.t ..................... ok
t/02_request/06_init_env.t .......................... ok
t/02_request/07_raw_data.t .......................... skipped: skip test 
with Test::TCP in win32
t/02_request/08_params.t ............................ ok
t/02_request/10_mixed_params.t ...................... skipped: skip test 
with Test::TCP in win32
t/02_request/11_accessors.t ......................... ok
t/02_request/12_base.t .............................. ok
t/02_request/13_ajax.t .............................. skipped: skip test 
with Test::TCP in win32
t/02_request/14_uploads.t ........................... ok
t/02_request/15_headers.t ........................... skipped: skip test 
with Test::TCP in win32
t/02_request/16_delete.t ............................ ok
t/02_request/17_uri_base.t .......................... ok
t/02_request/18_param_accessor.t .................... ok
t/03_route_handler/01_http_methods.t ................ ok
t/03_route_handler/02_params.t ...................... ok
t/03_route_handler/03_routes_api.t .................. ok
t/03_route_handler/04_routes_matching.t ............. ok
t/03_route_handler/04_wildcards_megasplat.t ......... ok
t/03_route_handler/05_filter.t ...................... ok
t/03_route_handler/05_unicode.t ..................... ok
t/03_route_handler/06_redirect.t .................... ok
t/03_route_handler/07_compilation_warning.t ......... ok
t/03_route_handler/08_errors.t ...................... ok
t/03_route_handler/12_response.t .................... ok
t/03_route_handler/12_response_halt.t ............... ok
t/03_route_handler/14_options.t ..................... ok
t/03_route_handler/15_prefix.t ...................... ok
t/03_route_handler/16_caching.t ..................... ok
t/03_route_handler/16_embedded_prefixes.t ........... ok
t/03_route_handler/18_auto_page.t ................... ok
t/03_route_handler/21_ajax.t ........................ skipped: skip test 
with Test::TCP in win32
t/03_route_handler/23_filter_error_catching.t ....... ok
t/03_route_handler/24_multiple_params.t ............. ok
t/03_route_handler/24_named_captures.t .............. ok
t/03_route_handler/28_plack_mount.t ................. skipped: skip test 
with Test::TCP in win32
t/03_route_handler/29_forward.t ..................... ok
t/03_route_handler/29_redirect_immediately.t ........ ok
t/03_route_handler/30_forward_session.t ............. ok
t/03_route_handler/31_infinite_loop.t ............... ok
t/03_route_handler/33_vars.t ........................ skipped: skip test 
with Test::TCP in win32
t/03_route_handler/34_forward_body_post.t ........... skipped: skip test 
with Test::TCP in win32
t/03_route_handler/35_no_further_routes.t ........... ok
t/03_route_handler/36_false_routes.t ................ ok
t/03_route_handler/99_bugs.t ........................ ok
t/04_static_file/001_base.t ......................... skipped: Skip test 
with Test::TCP in win32
t/04_static_file/003_mime_types_reinit.t ............ ok
t/04_static_file/01_mime_types.t .................... ok
t/04_static_file/02_dir_traversal.t ................. ok
t/05_views/002_view_rendering.t ..................... ok
t/05_views/03_layout.t .............................. ok
t/06_helpers/000_create_fake_env.t .................. ok
t/06_helpers/01_send_file.t ......................... ok
t/06_helpers/02_http_status.t ....................... ok
t/06_helpers/03_content_type.t ...................... ok
t/06_helpers/04_status.t ............................ ok
t/06_helpers/05_send_error.t ........................ ok
t/06_helpers/06_load.t .............................. ok
t/07_apphandlers/000_create_fake_env.t .............. ok
t/07_apphandlers/01_base.t .......................... ok
t/07_apphandlers/02_apache2_plack.t ................. ok
t/07_apphandlers/03_psgi_app.t ...................... skipped: skip test 
with Test::TCP in win32
t/07_apphandlers/04_standalone_app.t ................ skipped: skip test 
with Test::TCP in win32
t/07_apphandlers/05_middlewares.t ................... skipped: skip test 
with Test::TCP in win32
t/07_apphandlers/05_psgi_api.t ...................... ok
t/07_apphandlers/06_debug.t ......................... ok
t/07_apphandlers/07_middleware_map.t ................ skipped: skip test 
with Test::TCP in win32
t/07_apphandlers/08_is_text.t ....................... ok
t/08_session/000_create_fake_env.t .................. ok
t/08_session/01_load.t .............................. ok
t/08_session/02_dependency_check.t .................. ok
t/08_session/03_http_requests.t ..................... skipped: skip test 
with Test::TCP in win32
t/08_session/04_api.t ............................... ok
t/08_session/05_yaml.t .............................. ok
t/08_session/06_abstract.t .......................... ok
t/08_session/07_session_expires.t ................... skipped: skip test 
with Test::TCP in win32
t/08_session/08_simple.t ............................ ok
t/08_session/09_session.t ........................... ok
t/08_session/10_filter.t ............................ ok
t/08_session/11_session_secure.t .................... ok
t/08_session/12_session_name.t ...................... ok
t/08_session/13_session_httponly.t .................. skipped: skip test 
with Test::TCP in win32
t/08_session/14_session_domain.t .................... ok
t/09_cookies/000_create_fake_env.t .................. ok
t/09_cookies/01_use.t ............................... ok
t/09_cookies/02_cookie_object.t ..................... ok
t/09_cookies/03_persistence.t ....................... skipped: skip test 
with Test::TCP in win32
t/09_cookies/04_secure.t ............................ ok
t/09_cookies/05_api.t ............................... ok
t/09_cookies/06_expires.t ........................... ok
t/10_template/000_create_fake_env.t ................. ok
t/10_template/01_factory.t .......................... ok
t/10_template/02_abstract_class.t ................... ok
t/10_template/03_simple.t ........................... ok
t/10_template/05_template_toolkit.t ................. ok
t/10_template/extension.t ........................... ok
t/10_template/template.t ............................ ok
t/11_logger/000_create_fake_env.t ................... ok
t/11_logger/01_abstract.t ........................... ok
t/11_logger/02_factory.t ............................ ok
cannot unlink file for C:
\Users\lgehlen\AppData\Local\Temp\oiJ1h7qUfs\foo.bar: Permission denied at 
C:/Strawberry/perl/lib/File/Temp.pm line 784.
cannot remove directory for C:/Users/lgehlen/AppData/Local/Temp/oiJ1h7qUfs: 
Directory not empty at C:/Strawberry/perl/lib/File/Temp.pm line 784.
t/11_logger/03_file.t ............................... ok
t/11_logger/04_console.t ............................ ok
t/11_logger/05_format.t ............................. ok
t/11_logger/06_null.t ............................... ok
t/11_logger/07_diag.t ............................... ok
t/11_logger/08_serialize.t .......................... ok
t/11_logger/09_capture.t ............................ ok
t/11_logger/10_note.t ............................... ok
cannot unlink file for C:
\Users\lgehlen\AppData\Local\Temp\evEBkvaJ2T\logs\development.log: 
Permission denied at C:/Strawberry/perl/lib/File/Temp.pm line 784.
cannot remove directory for C:
\Users\lgehlen\AppData\Local\Temp\evEBkvaJ2T\logs: Directory not empty at 
C:/Strawberry/perl/lib/File/Temp.pm line 784.
cannot remove directory for C:/Users/lgehlen/AppData/Local/Temp/evEBkvaJ2T: 
Directory not empty at C:/Strawberry/perl/lib/File/Temp.pm line 784.
t/11_logger/11_runtime_file.t ....................... ok
t/12_response/000_create_fake_env.t ................. ok
t/12_response/01_CRLF_injection.t ................... ok
t/12_response/02_headers.t .......................... ok
t/12_response/03_charset.t .......................... ok
t/12_response/04_charset_server.t ................... skipped: skip test 
with Test::TCP in win32
t/12_response/05_api.t .............................. ok
t/12_response/06_filter_halt_status.t ............... ok
t/12_response/07_cookies.t .......................... ok
t/12_response/08_drop_content.t ..................... skipped: skip test 
with Test::TCP in win32
t/12_response/09_headers_to_array.t ................. ok
Data exceeding 100 levels, truncating
t/12_response/10_error_dumper.t ..................... ok
Devel::Hide hides Clone.pm
t/12_response/10_error_dumper_without_clone.t ....... ok
t/12_response/11_CVE-2012-5572.t .................... ok
t/13_engines/00_load.t .............................. ok
t/13_engines/02_template_init.t ..................... ok
t/14_serializer/01_helpers.t ........................ ok
t/14_serializer/02_request_json.t ................... ok
t/14_serializer/03_request_yaml.t ................... ok
t/14_serializer/04_request_xml.t .................... ok
t/14_serializer/05_request_mutable.t ................ ok
Error in tempfile() using template \XXXXXXXXXX: Could not create temp file 
\hOPQFPobHh: Permission denied at C:
\Users\lgehlen\perl5\lib\perl5/HTTP/Body/OctetStream.pm line 36.
# Looks like you planned 18 tests but ran 15.
# Looks like your test exited with 13 just after 15.
t/14_serializer/06_api.t ............................ 
Dubious, test returned 13 (wstat 3328, 0xd00)
Failed 3/18 subtests 
t/14_serializer/07_request_jsonp.t .................. ok
t/14_serializer/17_clear_serializer.t ............... skipped: skip test 
with Test::TCP in win32
t/14_serializer/18_mutable_template_or_serialize.t .. ok
t/14_serializer/99_bugs.t ........................... ok
t/15_plugins/000_create_fake_env.t .................. ok
t/15_plugins/01_register.t .......................... ok
t/15_plugins/02_config.t ............................ ok
t/15_plugins/03_namespace.t ......................... ok
t/15_plugins/04_apps_and_plugins.t .................. ok
t/15_plugins/05_keywords.t .......................... ok
t/15_plugins/05_plugins_and_OO.t .................... ok
t/15_plugins/05b_plugins_and_c3.t ................... ok
t/15_plugins/06_hook.t .............................. ok
t/15_plugins/07_ajax_plack_builder.t ................ skipped: skip test 
with Test::TCP in win32
t/16_timer/00_base.t ................................ ok
t/17_apps/000_create_fake_env.t ..................... ok
t/17_apps/00_base.t ................................. ok
t/17_apps/01_settings.t ............................. ok
t/17_apps/02_load_app.t ............................. ok
t/17_apps/03_prefix.t ............................... ok
t/17_apps/05_api.t .................................. ok
t/19_dancer/01_script.t ............................. ok
t/19_dancer/02_script_version_from.t ................ ok
t/20_deprecation/01_api.t ........................... ok
t/21_dependents/Dancer-Session-Cookie.t ............. skipped: 
Dancer::Session::Cookie 0.14 required
t/22_hooks/00_syntax.t .............................. ok
t/22_hooks/01_api.t ................................. ok
t/22_hooks/02_before.t .............................. ok
t/22_hooks/03_after.t ............................... ok
t/22_hooks/04_template.t ............................ ok
t/22_hooks/05_layout.t .............................. ok
t/22_hooks/06_serializer.t .......................... ok
t/22_hooks/07_file.t ................................ ok
t/22_hooks/08_error.t ............................... ok
t/22_hooks/09_before_error_init.t ................... ok
t/22_hooks/10_error_in_hook.t ....................... ok
t/22_hooks/11_error_in_hook.t ....................... ok
t/23_dancer_tests/01_basic.t ........................ ok
t/23_dancer_tests/02_tests_functions.t .............. ok
t/23_dancer_tests/03_uris.t ......................... ok
t/24_deployment/01_multi_webapp.t ................... skipped: skip test 
with Test::TCP in win32
t/25_exceptions/01_exceptions.t ..................... ok
t/25_exceptions/02_exceptions.t ..................... ok
t/25_exceptions/03_exceptions.t ..................... ok
t/25_exceptions/04_exceptions_warn.t ................ ok
t/manifest.t ........................................ skipped: Author tests 
not required for installation
t/pod.t ............................................. skipped: Author tests 
not required for installation

Test Summary Report
-------------------
t/14_serializer/06_api.t                          (Wstat: 3328 Tests: 15 
Failed: 0)
  Non-zero exit status: 13
  Parse errors: Bad plan.  You planned 18 tests but ran 15.
Files=215, Tests=1808, 110 wallclock secs ( 0.91 usr +  0.27 sys =  1.17 
CPU)
Result: FAIL
Failed 1/215 test programs. 0/1808 subtests failed.
dmake.exe:  Error code 255, while making 'test_dynamic'
-> FAIL Installing Dancer failed. See C:
\Users\lgehlen\.cpanm\work\1412333148.920\build.log for details. Retry with 
--force to force install it.


More information about the dancer-users mailing list