Skip to content
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

"Expected MAST::Frame, but didn't get one" error #3

Closed
bbkr opened this issue Jul 5, 2016 · 4 comments
Closed

"Expected MAST::Frame, but didn't get one" error #3

bbkr opened this issue Jul 5, 2016 · 4 comments

Comments

@bbkr
Copy link

bbkr commented Jul 5, 2016

File Zonk.pm

use LWP::Simple;

Error occurs when module is loaded:

$ perl6 -I. -e 'use Zonk;'
===SORRY!===
Expected MAST::Frame, but didn't get one

Rakudo 2016.06 MoarVM
IO::Socket::SSL installed
OS X 10.10.5

In command line use LWP::Simple; works without issues.

@bbkr
Copy link
Author

bbkr commented Jul 5, 2016

Update: if SSL is explicitly loaded then everything works:

Zonk.pm

use IO::Socket::SSL;
use LWP::Simple;

So it looks like "try require" is breaking something in this module.

@gfldex
Copy link

gfldex commented Jul 22, 2016

Problem goes away if IO::Socket::SSL is not installed.

@jonathanstowe
Copy link
Member

See perl6/perl6-pod-to-bigpage#1

@jonathanstowe
Copy link
Member

I've moved the requiring of the IO::Socket::SSL nto the request_shell method and that seems to work fine, I think the problem is that something is getting compiled in where it shouldn't.

jonathanstowe added a commit that referenced this issue Sep 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants