Skip Menu |

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 131982
Status: open
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: vladimir [...] sirma.bg
Cc:
AdminCc:

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



From: vladimir [...] sirma.bg
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.
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.
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>
Sorry! https://github.com/VladimirAlexiev/soml/blob/master/owl2soml/eg/Alien-Build-MM_build.log (guess "log" is auto-ignored by github). Do you need me to report the version of the libxml library as well? I'm on cygwin. Cheers!
On Thu Feb 27 08:42:53 2020, vladimir.alexiev@ontotext.com wrote: Show quoted text
> Sorry! > https://github.com/VladimirAlexiev/soml/blob/master/owl2soml/eg/Alien- > Build-MM_build.log > (guess > "log" is auto-ignored by github). > Do you need me to report the version of the libxml library as well? > I'm on > cygwin. > > Cheers!
Thanks, reported here: https://github.com/Perl5-Alien/Alien-Build/issues/173 .
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.
Subject: LibXML-schema.rdf.err
Download LibXML-schema.rdf.err
application/octet-stream 8.4k

Message body not shown because it is not plain text.

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
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
Does the problem still happen? can you share a link to a reproducing code? See https://github.com/shlomif/how-to-share-code-online