Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the YAML CPAN distribution.

Report information
The Basics
Id: 55116
Status: resolved
Priority: 0/
Queue: YAML

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

Bug Information
Severity: (no value)
Broken in: 0.71
Fixed in: (no value)



Subject: YAML can't load it's own META.yml file
Tested in blead and 5.10.1 perl -Ilib -MYAML -e 'print $YAML::VERSION . "\n" ; YAML::LoadFile("META.yml")' 0.71 utf8 "\xF6" does not map to Unicode at lib/YAML.pm line 77, <$IN> chunk 1. Malformed UTF-8 character (fatal) at lib/YAML/Loader.pm line 38, <$IN> line 1. I'm guessing this is coming from Module::Install but am not sure. Possibly reverting to EU::MM would be prudent until this is resolved? Or we could convert Ingy's UTF8 name to ASCII Possibly related RT ticket in Module::Install: https://rt.cpan.org/Ticket/Display.html?id=48881
Subject: Re: [rt.cpan.org #55116] YAML can't load it's own META.yml file
Date: Tue, 2 Mar 2010 14:21:33 +1100
To: bug-YAML [...] rt.cpan.org
From: Adam Kennedy <adamkennedybackup [...] gmail.com>
Since you aren't allowed to use Unicode in META.yml for the time being, ascifying his name seems prudent On 2 March 2010 07:07, Todd Rinaldo via RT <bug-YAML@rt.cpan.org> wrote: Show quoted text
> Mon Mar 01 15:07:46 2010: Request 55116 was acted upon. > Transaction: Ticket created by TODDR >       Queue: YAML >     Subject: YAML can't load it's own META.yml file >   Broken in: 0.71 >    Severity: (no value) >       Owner: Nobody >  Requestors: TODDR@cpan.org >      Status: new >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=55116 > > > > Tested in blead and 5.10.1 > > perl -Ilib  -MYAML -e 'print $YAML::VERSION . "\n" ; YAML::LoadFile("META.yml")' > 0.71 > utf8 "\xF6" does not map to Unicode at lib/YAML.pm line 77, <$IN> > chunk 1. > Malformed UTF-8 character (fatal) at lib/YAML/Loader.pm line 38, > <$IN> line 1. > > I'm guessing this is coming from Module::Install but am not sure. > Possibly reverting to EU::MM would be prudent until this is resolved? Or > we could convert Ingy's UTF8 name to ASCII > > Possibly related RT ticket in Module::Install: > https://rt.cpan.org/Ticket/Display.html?id=48881 > >
RT-Send-CC: adamkennedybackup [...] gmail.com
The problem is that YAML's META.yml has probably been generated with YAML::Tiny which has an encoding bug: RT#48885 https://rt.cpan.org/Ticket/Display.html?id=48885 YAML.pm UTF-8 problem has been fixed by myself (RT#25434), but other YAML modules must be fixed too.
This issue has been copied to: https://github.com/ingydotnet/yaml-pm/issues/105 please take all future correspondence there. This ticket will remain open but please do not reply here. This ticket will be closed when the github issue is dealt with.
On Wed Mar 31 23:45:18 2010, DOLMEN wrote: Show quoted text
> The problem is that YAML's META.yml has probably been generated with > YAML::Tiny which has an encoding bug: RT#48885 > https://rt.cpan.org/Ticket/Display.html?id=48885 > > YAML.pm UTF-8 problem has been fixed by myself (RT#25434), but other > YAML modules must be fixed too.
Looks like this can be closed? The META.yml for YAML.pm is ok now and loaded without errors. Please reopen if necessary