-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.raku
/ Typecheck errors hanging on LibXML::Node objects
#95
Comments
The underlying problem seems to be that Raku is calling the
|
It's simply because I've alias the LibXML::Node:D raku method to .Str.raku., as a work-around Further investigation needed. |
.raku
/ Typecheck erros hanging.raku
/ Typecheck erros hanging on LibXML::Node objects
workaround installed with LibXML 0.9.10. |
Yes! This is bugging for more than a year now! And I never had time to report it. On occassion, |
Thanks,. I see now this is related to other open tickets both here and Rakudo which I have updated. Now that the issue is being worked around. |
I guess this is as good a place as any to report: https://stackoverflow.com/q/75860114/7270649 |
The OP took that example from the LibXML::Reader doco. But that doesn't actually work when the file can't be opened. Changed the handling so that LibXML::Reader throws an exception immediately that the file can't be opened and fails to return an error. The 'or die...' syntax is now avoided. It's not used anywhere else in the Raku LibXML bindings, anyway. Released with LibXML v0.10.1 |
Okay, I'm seeing upgrade errors. Probably because I
|
@jubilatious1 is that #88 re MacOS El Capitan? I had a look, but so far haven't found a suitable AWS instance, or anything useful from googling for Virtual Box VMs. |
Hi @dwarring different box, different (newer) MacOS. Should I move the first comment to a new Issue? Thx. |
Hi @jubilatious1. Yes please, create a new issue. |
.raku
/ Typecheck erros hanging on LibXML::Node objects.raku
/ Typecheck errors hanging on LibXML::Node objects
The following is attempting to iterate a mix of LibXML::Text and LibXML::Element nodes as LibXML::Element. It hangs rather than producing a typecheck failure.
Observed in raku-community-modules/Spreadsheet-XLSX#12.
The text was updated successfully, but these errors were encountered: