Git Product home page Git Product logo

Comments (5)

karenetheridge avatar karenetheridge commented on August 26, 2024

This is one piece of the larger puzzle chronicled at #212.

from dist-zilla.

karenetheridge avatar karenetheridge commented on August 26, 2024

(deleted a comment that contained irrelevant errors)

from dist-zilla.

karenetheridge avatar karenetheridge commented on August 26, 2024

Specifically, the error is:

: [ether@tequila git/Acme-CPANAuthors-Nonhuman].21$; dzil build --not
[DZ] beginning to build Acme-CPANAuthors-Nonhuman
[@Author::ETHER/Git::NextVersion] Bumping version from 0.008 to 0.009
[DZ] guessing dist's main_module is lib/Acme/CPANAuthors/Nonhuman.pm
[DZ] extracting distribution abstract from lib/Acme/CPANAuthors/Nonhuman.pm
Wide character in subroutine entry at /Users/ether/.perlbrew/libs/19.3@std/lib/perl5/Dist/Zilla/Role/PPI.pm line 24.

when these code changes are applied to the Acme-CPANAuthors-Nonhuman repo:

--- a/lib/Acme/CPANAuthors/Nonhuman.pm
+++ b/lib/Acme/CPANAuthors/Nonhuman.pm
@@ -8,15 +8,15 @@ use utf8;

 my %authors = (
 # this data was generated at build time via __DATA__ section and {{
-        my $filename = '01mailrc.txt.gz';
+        my $filename = '00whois.xml';
         @ids = split(' ', $DATA);   # awk-style emulation
         require HTTP::Tiny;
         my $response = HTTP::Tiny->new->mirror('http://www.cpan.org/authors/' . $filename, $filename);
         die "failed to fetch $filename: $response->{status} $response->{reason}\n"
             if not $response->{success} and $response->{status} ne '304';

-        require Parse::CPAN::Authors;
-        my $author_data = Parse::CPAN::Authors->new($filename);
+        require Parse::CPAN::Whois;
+        my $author_data = Parse::CPAN::Whois->new($filename);
         my $authorhash = { map {

basically, I'm using a filemunger plugin to insert into a .pm file a hash
of utf8 string data.

from dist-zilla.

karenetheridge avatar karenetheridge commented on August 26, 2024

I also get the same error from PPI when using [ContributorsFromGit] and a contributor's name isn't valid latin1 (damn you, Russia and Japan!)

from dist-zilla.

karenetheridge avatar karenetheridge commented on August 26, 2024

This should be fixed by the patch to lib/Dist/Zilla/Role/PPI.pm in #220.

from dist-zilla.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.