Skip Menu |

This queue is for tickets about the Brackup CPAN distribution.

Report information
The Basics
Id: 57538
Status: rejected
Priority: 0/
Queue: Brackup

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

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



Subject: Moose warning while running brackup
I get a warning from Moose on every run, Brackup v1.09 Moose v0.94, Ubuntu Lucid. You are overwriting a locally defined method (finished) with an accessor at /usr/lib/perl5/Moose/Meta/Attribute.pm line 570 Moose::Meta::Attribute::_process_accessors('Moose::Meta::Attribute=HASH(0x9525e08)', 'clearer', 'finished', undef) called at /usr/lib/perl5/Class/MOP/Attribute.pm line 370 Class::MOP::Attribute::install_accessors('Moose::Meta::Attribute=HASH(0x9525e08)') called at /usr/lib/perl5/Moose/Meta/Attribute.pm line 544 Moose::Meta::Attribute::install_accessors('Moose::Meta::Attribute=HASH(0x9525e08)') called at /usr/lib/perl5/Class/MOP/Class.pm line 514 Class::MOP::Class::__ANON__() called at /usr/share/perl5/Try/Tiny.pm line 76 eval {...} called at /usr/share/perl5/Try/Tiny.pm line 67 Try::Tiny::try('CODE(0x9528f80)', 'Try::Tiny::Catch=REF(0x95168f0)') called at /usr/lib/perl5/Class/MOP/Class.pm line 519 Class::MOP::Class::_post_add_attribute('Moose::Meta::Class=HASH(0x94c5388)', 'Moose::Meta::Attribute=HASH(0x9525e08)') called at /usr/lib/perl5/Class/MOP/Mixin/HasAttributes.pm line 45 Class::MOP::Mixin::HasAttributes::add_attribute('Moose::Meta::Class=HASH(0x94c5388)', 'Moose::Meta::Attribute=HASH(0x9525e08)') called at /usr/lib/perl5/Moose/Meta/Class.pm line 276 Moose::Meta::Class::add_attribute('Moose::Meta::Class=HASH(0x94c5388)', 'callback', 'required', 1, 'clearer', 'finished', 'isa', 'CodeRef|Str', 'definition_context', ...) called at /usr/lib/perl5/Moose.pm line 69 Moose::has('Moose::Meta::Class=HASH(0x94c5388)', 'callback', 'isa', 'CodeRef|Str', 'is', 'ro', 'required', 1, 'clearer', ...) called at /usr/lib/perl5/Moose/Exporter.pm line 293 Moose::has('callback', 'isa', 'CodeRef|Str', 'is', 'ro', 'required', 1, 'clearer', 'finished', ...) called at /usr/share/perl5/Data/Stream/Bulk/Callback.pm line 10 require Data/Stream/Bulk/Callback.pm called at /usr/share/perl5/Net/Amazon/S3/Client/Bucket.pm line 4 Net::Amazon::S3::Client::Bucket::BEGIN() called at /usr/share/perl5/Data/Stream/Bulk/Callback.pm line 0 eval {...} called at /usr/share/perl5/Data/Stream/Bulk/Callback.pm line 0 require Net/Amazon/S3/Client/Bucket.pm called at /usr/share/perl5/Net/Amazon/S3.pm line 111 Net::Amazon::S3::BEGIN() called at /usr/share/perl5/Data/Stream/Bulk/Callback.pm line 0 eval {...} called at /usr/share/perl5/Data/Stream/Bulk/Callback.pm line 0 require Net/Amazon/S3.pm called at /usr/local/share/perl/5.10.1/Brackup/Target/Amazon.pm line 5 Brackup::Target::Amazon::BEGIN() called at /usr/share/perl5/Data/Stream/Bulk/Callback.pm line 0 eval {...} called at /usr/share/perl5/Data/Stream/Bulk/Callback.pm line 0 require Brackup/Target/Amazon.pm called at (eval 16) line 1 Brackup::Config::BEGIN() called at /usr/share/perl5/Data/Stream/Bulk/Callback.pm line 0 eval {...} called at /usr/share/perl5/Data/Stream/Bulk/Callback.pm line 0 eval 'use Brackup::Target::Amazon; 1;' called at /usr/local/share/perl/5.10.1/Brackup/Config.pm line 151 Brackup::Config::load_target('Brackup::Config=HASH(0x8b5a968)', 'amazon') called at /usr/local/bin/brackup line 129 eval {...} called at /usr/local/bin/brackup line 129
On Sun May 16 17:10:00 2010, MCRAWFOR wrote: Show quoted text
> I get a warning from Moose on every run, Brackup v1.09 Moose v0.94, > Ubuntu Lucid.
You need to update Data::Stream::Bulk to version 0.7 -- which isn't packaged in Lucid, sadly. - Alex
Also, brackup itself doesn't use Moose at all, so this is really an upstream dependency issue. Could you report as a bug against Net::Amazon::S3 instead? Cheers, Gavin
Closing old ticket.