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

Yath cannot be run through carmel exec #277

Open
bbrtj opened this issue Oct 3, 2024 · 0 comments
Open

Yath cannot be run through carmel exec #277

bbrtj opened this issue Oct 3, 2024 · 0 comments

Comments

@bbrtj
Copy link

bbrtj commented Oct 3, 2024

If I set App::Yath as a dependency in my project and try to test it with carmel exec yath, I get the following error:

encountered object 'Carmel::Runtime::FastINC=HASH(0x38b48f6f8bb8)', but allow_blessed, allow_stringify or TO_JSON/FREEZE method missing at /home/devenv/.carmel/5.40.0-amd64-freebsd/builds/Test2-Harness-1.000155/blib/lib/Test2/Harness/Util/JSON.pm line 58.

Not sure which feature of yath causes that, I've tried disabling some logging with command line flags but that didn't help. Seems like Carmel::Setup puts some objects into the @INC and Yath can't encode them with JSON. Hope it's fixable.

Related discussion: miyagawa/Carmel#108

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

1 participant