Wed Feb 26 11:32:04 2020vladimir [...] sirma.bg - Ticket created
From:
vladimir [...] sirma.bg
Wed Feb 26 11:37:09 2020vladimir [...] sirma.bg - Correspondence added
This command:
perl ../owl2soml.pl -voc schema schema.rdf > schema3.yaml
causes error "Read more bytes than requested. Do you use an encoding-related PerlIO layer? at C:/Strawberry/perl/vendor/lib/XML/LibXML.pm line 882", see LibXML-schema.rdf.err for the full log. This happens with `XML::LibXML` version 2.0132.
The script is https://github.com/VladimirAlexiev/soml/blob/master/owl2soml/owl2soml.pl
All referenced files (Alien-Build-MM_build.log, LibXML-schema.rdf.err, schema.rdf) are in https://github.com/VladimirAlexiev/soml/tree/master/owl2soml/eg
I tried to upgrade to the latest version 2.0202 (I use cygwin and Strawberry Perl) but got `Installing Alien::Build::MM failed`, see Alien-Build-MM_build.log for the full log.
Thu Feb 27 07:10:19 2020SHLOMIF [...] cpan.org - Correspondence added
Hi Vladimir,
I don't see thr Alien*.log file anywhere in the git repo's history. Please provide it.
On Wed Feb 26 11:37:09 2020, vladimir@sirma.bg wrote:
Show quoted text
> This command:
>
> perl ../owl2soml.pl -voc schema schema.rdf > schema3.yaml
>
> causes error "Read more bytes than requested. Do you use an encoding-
> related PerlIO layer? at C:/Strawberry/perl/vendor/lib/XML/LibXML.pm
> line 882", see LibXML-schema.rdf.err for the full log. This happens
> with `XML::LibXML` version 2.0132.
>
> The script is
> https://github.com/VladimirAlexiev/soml/blob/master/owl2soml/owl2soml.pl
>
> All referenced files (Alien-Build-MM_build.log, LibXML-schema.rdf.err,
> schema.rdf) are in
> https://github.com/VladimirAlexiev/soml/tree/master/owl2soml/eg
>
> I tried to upgrade to the latest version 2.0202 (I use cygwin and
> Strawberry Perl) but got `Installing Alien::Build::MM failed`, see
> Alien-Build-MM_build.log for the full log.
Thu Feb 27 07:10:20 2020The RT System itself - Status changed from 'new' to 'open'
Thu Feb 27 08:42:53 2020vladimir.alexiev [...] ontotext.com - Correspondence added
Subject:
Re: [rt.cpan.org #131982]
Date:
Thu, 27 Feb 2020 15:42:35 +0200
To:
bug-XML-LibXML [...] rt.cpan.org
From:
Vladimir Alexiev <vladimir.alexiev [...] ontotext.com>
Mon Mar 02 06:40:12 2020vladimir [...] sirma.bg - Correspondence added
I've upgraded to the latest `XML::LibXML` version 2.0202, but I still get error "Read more bytes than requested. Do you use an encoding-related PerlIO layer?" I tried with both of these commands, the result is the same.
perl ../owl2soml.pl -voc schema schema.rdf 2> LibXML-schema.rdf.err
perl -C ../owl2soml.pl -voc schema schema.rdf 2> LibXML-schema.rdf.err
The stack trace is attached. Note: I've removed stuff like this below, which is not related to the problem:
Subroutine spacepad redefined at C:/Strawberry/perl/site/lib/Debug/ShowStuff.pm line 1635.
(in cleanup) (in cleanup) at C:/Strawberry/perl/site/lib/URI/Namespace.pm line 104 during global destruction.
Message body not shown because it is not plain text.
Mon Mar 02 06:45:01 2020vladimir [...] sirma.bg - Correspondence added
Show quoted text
> I tried with both of these commands, the result is the same.
>
> perl ../owl2soml.pl -voc schema schema.rdf 2> LibXML-schema.rdf.err
> perl -C ../owl2soml.pl -voc schema schema.rdf 2> LibXML-schema.rdf.err
Furthermore, I tried with and without env var PERL_UNICODE=31.
I checked "without" like this, which returns nothing:
perl -V|grep -i uni
Fri Mar 06 05:25:12 2020SHLOMIF [...] cpan.org - Correspondence added
On Mon Mar 02 06:45:01 2020, vladimir@sirma.bg wrote:
Show quoted text
> > I tried with both of these commands, the result is the same.
> >
> > perl ../owl2soml.pl -voc schema schema.rdf 2> LibXML-schema.rdf.err
> > perl -C ../owl2soml.pl -voc schema schema.rdf 2> LibXML-schema.rdf.err
>
> Furthermore, I tried with and without env var PERL_UNICODE=31.
> I checked "without" like this, which returns nothing:
>
> perl -V|grep -i uni