Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dist-Zilla CPAN distribution.

Report information
The Basics
Id: 48318
Status: resolved
Priority: 0/
Queue: Dist-Zilla

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

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



Subject: dzil release w/ UploadToCPAN broken.
Download (untitled) / with headers
text/plain 1.4k
It would appear the change in commit 429125b1 ( http://github.com/rjbs/dist-zilla/commit/429125b1cddb963d6589f7f19d673636a582e1dc#L2L36 ) which changed `read_file` to `read_config` was not also duplicated in dependant class Dist::Zilla::App.pm ( http://github.com/rjbs/dist-zilla/blob/3eca3f4d8f62d228393bebfa9b6e563a5bebe00b/lib/Dist/Zilla/App.pm#L27 ) This only shows up as a problem for me when doing `dzil release` using UploadToCPAN Can't locate object method "read_file" via package "Dist::Zilla::Config::INI" at Dist::Zilla::App::config(/usr/lib/perl5/vendor_perl/5.10.0/Dist/Zilla/App.pm:29) at Dist::Zilla::App::config_for(/usr/lib/perl5/vendor_perl/5.10.0/Dist/Zilla/App.pm:35) at Dist::Zilla::Plugin::UploadToCPAN::__ANON__(/usr/lib/perl5/vendor_perl/5.10.0/Dist/Zilla/Plugin/UploadToCPAN.pm:19) at Class::MOP::Attribute::default(/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux/Class/MOP/Attribute.pm:262) at Dist::Zilla::Plugin::UploadToCPAN::user(accessor user defined at /usr/lib/perl5/vendor_perl/5.10.0/Dist/Zilla/Plugin/UploadToCPAN.pm:22) at Dist::Zilla::Plugin::UploadToCPAN::release(/usr/lib/perl5/vendor_perl/5.10.0/Dist/Zilla/Plugin/UploadToCPAN.pm:38) at Dist::Zilla::App::Command::release::run(/usr/lib/perl5/vendor_perl/5.10.0/Dist/Zilla/App/Command/release.pm:21) at App::Cmd::execute_command(/usr/lib/perl5/vendor_perl/5.10.0/App/Cmd.pm:360) at App::Cmd::run(/usr/lib/perl5/vendor_perl/5.10.0/App/Cmd.pm:256) at main::(/usr/bin/dzil:9)
Download (untitled) / with headers
text/plain 1.8k
It also affects `dzil new` as well: Show quoted text
shell> dzil new Awesome::App
will create new dist Awesome-App in obj(/path/to/Awesome-App) Can't locate object method "read_file" via package "Dist::Zilla::Config::INI" at /path/to/Perl/lib/perl5/site_perl/5.10.0/Dist/Zilla/App.pm line 29. On Thu Jul 30 02:34:16 2009, KENTNL wrote: Show quoted text
> It would appear the change in commit 429125b1 ( > http://github.com/rjbs/dist- > zilla/commit/429125b1cddb963d6589f7f19d673636a582e1dc#L2L36 > ) > > which changed `read_file` to `read_config` was not also duplicated in > dependant class Dist::Zilla::App.pm ( > http://github.com/rjbs/dist- >
zilla/blob/3eca3f4d8f62d228393bebfa9b6e563a5bebe00b/lib/Dist/Zilla/App.pm#L27 Show quoted text
> ) > > This only shows up as a problem for me when doing `dzil release` > using UploadToCPAN > > > Can't locate object method "read_file" via package > "Dist::Zilla::Config::INI" > at >
Dist::Zilla::App::config(/usr/lib/perl5/vendor_perl/5.10.0/Dist/Zilla/App.pm:29) Show quoted text
> at >
Dist::Zilla::App::config_for(/usr/lib/perl5/vendor_perl/5.10.0/Dist/Zilla/App.pm:35) Show quoted text
> at >
Dist::Zilla::Plugin::UploadToCPAN::__ANON__(/usr/lib/perl5/vendor_perl/5.10.0/Dist/Zilla/Plugin/UploadToCPAN.pm:19) Show quoted text
> at > Class::MOP::Attribute::default(/usr/lib/perl5/vendor_perl/5.10.0/x86_64- > linux/Class/MOP/Attribute.pm:262) > at Dist::Zilla::Plugin::UploadToCPAN::user(accessor user defined > at > /usr/lib/perl5/vendor_perl/5.10.0/Dist/Zilla/Plugin/UploadToCPAN.pm:22) > at >
Dist::Zilla::Plugin::UploadToCPAN::release(/usr/lib/perl5/vendor_perl/5.10.0/Dist/Zilla/Plugin/UploadToCPAN.pm:38) Show quoted text
> at >
Dist::Zilla::App::Command::release::run(/usr/lib/perl5/vendor_perl/5.10.0/Dist/Zilla/App/Command/release.pm:21) Show quoted text
> at >
App::Cmd::execute_command(/usr/lib/perl5/vendor_perl/5.10.0/App/Cmd.pm:360) Show quoted text
> at App::Cmd::run(/usr/lib/perl5/vendor_perl/5.10.0/App/Cmd.pm:256) > at main::(/usr/bin/dzil:9)
I think this is sorted out now. -- rjbs


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.