Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the KiokuDB-Backend-DBI CPAN distribution.

Report information
The Basics
Id: 48223
Status: resolved
Priority: 0/
Queue: KiokuDB-Backend-DBI

People
Owner: Nobody in particular
Requestors: ddascalescu+perl [...] gmail.com
Cc:
AdminCc:

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



Subject: Test warnings on Windows using latest Github
3 Moose warnings, please see attachment.
Subject: make_test.txt
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/01load......You are overwriting a locally defined method (finished) with an accessor at C:/STRAWB~1/perl/site/lib/Moose/Meta/Attribute.pm line 584 Moose::Meta::Attribute::_process_accessors('Moose::Meta::Attribute=HASH(0x124a50c)', 'clearer', 'finished', undef) called at C:/STRAWB~1/perl/site/lib/Class/MOP/Attribute.pm line 417 Class::MOP::Attribute::install_accessors('Moose::Meta::Attribute=HASH(0x124a50c)') called at C:/STRAWB~1/perl/site/lib/Moose/Meta/Attribute.pm line 558 Moose::Meta::Attribute::install_accessors('Moose::Meta::Attribute=HASH(0x124a50c)') called at C:/STRAWB~1/perl/site/lib/Class/MOP/Class.pm line 864 eval {...} called at C:/STRAWB~1/perl/site/lib/Class/MOP/Class.pm line 864 Class::MOP::Class::add_attribute('Moose::Meta::Class=HASH(0x11cb5e4)', 'Moose::Meta::Attribute=HASH(0x124a50c)') called at C:/STRAWB~1/perl/site/lib/Moose/Meta/Class.pm line 250 Moose::Meta::Class::add_attribute('Moose::Meta::Class=HASH(0x11cb5e4)', 'sth', 'handles', 'ARRAY(0x11cbbb4)', 'required', 1, 'clearer', 'finished', 'isa', ...) called at C:/STRAWB~1/perl/site/lib/Moose.pm line 68 Moose::has('Data::Stream::Bulk::DBI', 'sth', 'isa', 'Object', 'is', 'ro', 'required', 1, 'handles', ...) called at C:/STRAWB~1/perl/site/lib/Moose/Exporter.pm line 320 Moose::has('sth', 'isa', 'Object', 'is', 'ro', 'required', 1, 'handles', 'ARRAY(0x11cbbb4)', ...) called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 10 require Data/Stream/Bulk/DBI.pm called at C:\prg\perl\kiokudb-backend-dbi\blib\lib/KiokuDB/Backend/DBI.pm line 10 KiokuDB::Backend::DBI::BEGIN() called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 0 eval {...} called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 0 require KiokuDB/Backend/DBI.pm called at (eval 4) line 2 main::BEGIN() called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 0 eval {...} called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 0 eval 'package main; use KiokuDB::Backend::DBI @{$args[0]}; 1; ;' called at C:/STRAWB~1/perl/lib/Test/More.pm line 805 Test::More::_eval('package main;\x{a}use KiokuDB::Backend::DBI @{$args[0]};\x{a}1;\x{a}', 'ARRAY(0xa834d4)') called at C:/STRAWB~1/perl/lib/Test/More.pm line 780 Test::More::use_ok('KiokuDB::Backend::DBI') called at t/01load.t line 8 main::BEGIN() called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 0 eval {...} called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 0 ok t/basic.......You are overwriting a locally defined method (finished) with an accessor at C:/STRAWB~1/perl/site/lib/Moose/Meta/Attribute.pm line 584 Moose::Meta::Attribute::_process_accessors('Moose::Meta::Attribute=HASH(0x15b3f6c)', 'clearer', 'finished', undef) called at C:/STRAWB~1/perl/site/lib/Class/MOP/Attribute.pm line 417 Class::MOP::Attribute::install_accessors('Moose::Meta::Attribute=HASH(0x15b3f6c)') called at C:/STRAWB~1/perl/site/lib/Moose/Meta/Attribute.pm line 558 Moose::Meta::Attribute::install_accessors('Moose::Meta::Attribute=HASH(0x15b3f6c)') called at C:/STRAWB~1/perl/site/lib/Class/MOP/Class.pm line 864 eval {...} called at C:/STRAWB~1/perl/site/lib/Class/MOP/Class.pm line 864 Class::MOP::Class::add_attribute('Moose::Meta::Class=HASH(0x158931c)', 'Moose::Meta::Attribute=HASH(0x15b3f6c)') called at C:/STRAWB~1/perl/site/lib/Moose/Meta/Class.pm line 250 Moose::Meta::Class::add_attribute('Moose::Meta::Class=HASH(0x158931c)', 'sth', 'handles', 'ARRAY(0x158c1ac)', 'required', 1, 'clearer', 'finished', 'isa', ...) called at C:/STRAWB~1/perl/site/lib/Moose.pm line 68 Moose::has('Data::Stream::Bulk::DBI', 'sth', 'isa', 'Object', 'is', 'ro', 'required', 1, 'handles', ...) called at C:/STRAWB~1/perl/site/lib/Moose/Exporter.pm line 320 Moose::has('sth', 'isa', 'Object', 'is', 'ro', 'required', 1, 'handles', 'ARRAY(0x158c1ac)', ...) called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 10 require Data/Stream/Bulk/DBI.pm called at C:\prg\perl\kiokudb-backend-dbi\blib\lib/KiokuDB/Backend/DBI.pm line 10 KiokuDB::Backend::DBI::BEGIN() called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 0 eval {...} called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 0 require KiokuDB/Backend/DBI.pm called at (eval 247) line 2 main::BEGIN() called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 0 eval {...} called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 0 eval 'package main; use KiokuDB::Backend::DBI @{$args[0]}; 1; ;' called at C:/STRAWB~1/perl/lib/Test/More.pm line 805 Test::More::_eval('package main;\x{a}use KiokuDB::Backend::DBI @{$args[0]};\x{a}1;\x{a}', 'ARRAY(0xa8374c)') called at C:/STRAWB~1/perl/lib/Test/More.pm line 780 Test::More::use_ok('KiokuDB::Backend::DBI') called at t/basic.t line 15 main::BEGIN() called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 0 eval {...} called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 0 ok t/fixtures....You are overwriting a locally defined method (finished) with an accessor at C:/STRAWB~1/perl/site/lib/Moose/Meta/Attribute.pm line 584 Moose::Meta::Attribute::_process_accessors('Moose::Meta::Attribute=HASH(0x1bf51d4)', 'clearer', 'finished', undef) called at C:/STRAWB~1/perl/site/lib/Class/MOP/Attribute.pm line 417 Class::MOP::Attribute::install_accessors('Moose::Meta::Attribute=HASH(0x1bf51d4)') called at C:/STRAWB~1/perl/site/lib/Moose/Meta/Attribute.pm line 558 Moose::Meta::Attribute::install_accessors('Moose::Meta::Attribute=HASH(0x1bf51d4)') called at C:/STRAWB~1/perl/site/lib/Class/MOP/Class.pm line 864 eval {...} called at C:/STRAWB~1/perl/site/lib/Class/MOP/Class.pm line 864 Class::MOP::Class::add_attribute('Moose::Meta::Class=HASH(0x1be2854)', 'Moose::Meta::Attribute=HASH(0x1bf51d4)') called at C:/STRAWB~1/perl/site/lib/Moose/Meta/Class.pm line 250 Moose::Meta::Class::add_attribute('Moose::Meta::Class=HASH(0x1be2854)', 'sth', 'handles', 'ARRAY(0x1b54a5c)', 'required', 1, 'clearer', 'finished', 'isa', ...) called at C:/STRAWB~1/perl/site/lib/Moose.pm line 68 Moose::has('Data::Stream::Bulk::DBI', 'sth', 'isa', 'Object', 'is', 'ro', 'required', 1, 'handles', ...) called at C:/STRAWB~1/perl/site/lib/Moose/Exporter.pm line 320 Moose::has('sth', 'isa', 'Object', 'is', 'ro', 'required', 1, 'handles', 'ARRAY(0x1b54a5c)', ...) called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 10 require Data/Stream/Bulk/DBI.pm called at C:\prg\perl\kiokudb-backend-dbi\blib\lib/KiokuDB/Backend/DBI.pm line 10 KiokuDB::Backend::DBI::BEGIN() called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 0 eval {...} called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 0 require KiokuDB/Backend/DBI.pm called at (eval 452) line 2 main::BEGIN() called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 0 eval {...} called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 0 eval 'package main; use KiokuDB::Backend::DBI @{$args[0]}; 1; ;' called at C:/STRAWB~1/perl/lib/Test/More.pm line 805 Test::More::_eval('package main;\x{a}use KiokuDB::Backend::DBI @{$args[0]};\x{a}1;\x{a}', 'ARRAY(0xa85854)') called at C:/STRAWB~1/perl/lib/Test/More.pm line 780 Test::More::use_ok('KiokuDB::Backend::DBI') called at t/fixtures.t line 13 main::BEGIN() called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 0 eval {...} called at C:/STRAWB~1/perl/site/lib/Data/Stream/Bulk/DBI.pm line 0 Attribute (_trait_namespace) of class Some::Class has no associated methods (did you mean to provide an "is" argument?) at C:/STRAWB~1/perl/site/lib/Moose/Meta/Attribute.pm line 565 Moose::Meta::Attribute::_check_associated_methods('Moose::Meta::Attribute=HASH(0x24f828c)') called at C:/STRAWB~1/perl/site/lib/Moose/Meta/Class.pm line 253 Moose::Meta::Class::add_attribute('Moose::Meta::Class=HASH(0x28784bc)', '_trait_namespace', 'HASH(0x2878c1c)') called at C:/STRAWB~1/perl/site/lib/Moose/Meta/Role/Application/ToClass.pm line 122 Moose::Meta::Role::Application::ToClass::apply_attributes('Moose::Meta::Role::Application::ToClass=HASH(0x289fe24)', 'Moose::Meta::Role=HASH(0x287130c)', 'Moose::Meta::Class=HASH(0x28784bc)') called at C:/STRAWB~1/perl/site/lib/Moose/Meta/Role/Application.pm line 62 Moose::Meta::Role::Application::apply('Moose::Meta::Role::Application::ToClass=HASH(0x289fe24)', 'Moose::Meta::Role=HASH(0x287130c)', 'Moose::Meta::Class=HASH(0x28784bc)') called at C:/STRAWB~1/perl/site/lib/Moose/Meta/Role/Application/ToClass.pm line 31 Moose::Meta::Role::Application::ToClass::apply('Moose::Meta::Role::Application::ToClass=HASH(0x289fe24)', 'Moose::Meta::Role=HASH(0x287130c)', 'Moose::Meta::Class=HASH(0x28784bc)') called at C:/STRAWB~1/perl/site/lib/Moose/Meta/Role.pm line 511 Moose::Meta::Role::apply('Moose::Meta::Role=HASH(0x287130c)', 'Moose::Meta::Class=HASH(0x28784bc)') called at C:/STRAWB~1/perl/site/lib/Moose/Util.pm line 119 Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0x28784bc)', undef, 'MooseX::Traits') called at C:/STRAWB~1/perl/site/lib/Moose/Util.pm line 82 Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0x28784bc)', 'MooseX::Traits') called at C:/STRAWB~1/perl/site/lib/Moose.pm line 56 Moose::with('Some::Class', 'MooseX::Traits') called at C:/STRAWB~1/perl/site/lib/Moose/Exporter.pm line 320 Moose::with('MooseX::Traits') called at C:/STRAWB~1/perl/site/lib/KiokuDB/Test/Fixture/TypeMap/Default.pm line 50 require KiokuDB/Test/Fixture/TypeMap/Default.pm called at (eval 706) line 3 eval 'CORE::require KiokuDB::Test::Fixture::TypeMap::Default ;' called at C:/STRAWB~1/perl/lib/Module/Pluggable/Object.pm line 267 Module::Pluggable::Object::_require('Module::Pluggable::Object=HASH(0x1dfffdc)', 'KiokuDB::Test::Fixture::TypeMap::Default') called at C:/STRAWB~1/perl/lib/Module/Pluggable/Object.pm line 217 Module::Pluggable::Object::handle_finding_plugin('Module::Pluggable::Object=HASH(0x1dfffdc)', 'KiokuDB::Test::Fixture::TypeMap::Default') called at C:/STRAWB~1/perl/lib/Module/Pluggable/Object.pm line 197 Module::Pluggable::Object::search_paths('Module::Pluggable::Object=HASH(0x1dfffdc)', 'C:/STRAWB~1/perl/site/lib') called at C:/STRAWB~1/perl/lib/Module/Pluggable/Object.pm line 122 Module::Pluggable::Object::search_directories('Module::Pluggable::Object=HASH(0x1dfffdc)', 'C:\prg\perl\kiokudb-backend-dbi\blib\lib', 'C:\prg\perl\kiokudb-backend-dbi\blib\arch', 'c:\prg\perl\mojomojo\lib', 'c:\prg\perl\ytiny\lib', 'C:/STRAWB~1/perl/lib', 'C:/STRAWB~1/perl/site/lib', .) called at C:/STRAWB~1/perl/lib/Module/Pluggable/Object.pm line 55 Module::Pluggable::Object::plugins('Module::Pluggable::Object=HASH(0x1dfffdc)') called at C:/STRAWB~1/perl/site/lib/KiokuDB/Test.pm line 25 require KiokuDB/Test.pm called at t/fixtures.t line 15 main::BEGIN() called at C:/STRAWB~1/perl/site/lib/KiokuDB/Test/Fixture/TypeMap/Default.pm line 0 eval {...} called at C:/STRAWB~1/perl/site/lib/KiokuDB/Test/Fixture/TypeMap/Default.pm line 0 ok All tests successful. Files=3, Tests=1351, 16 wallclock secs ( 0.30 usr + 0.01 sys = 0.31 CPU) Result: PASS
This is fixed by updating the Data::Stream::Bulk dependency