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

"Can't store REGEXP items" with 1.717 #102

Open
dakkar opened this issue Aug 21, 2023 · 1 comment · May be fixed by #105
Open

"Can't store REGEXP items" with 1.717 #102

dakkar opened this issue Aug 21, 2023 · 1 comment · May be fixed by #105

Comments

@dakkar
Copy link

dakkar commented Aug 21, 2023

t/proxy-with-stack-trace.t dies with Can't store REGEXP items at /home/dakkar/.cpanm/work/1692614279.19553/Log-Any-1.717/t/TestAdapters.pm line 30

Adding some debugging print/note/diag/Data::Dumper, I noticed that the last argument passed to TestAdapters::Structured:structured is a Log::Any::MessageWithStackTrace which contains a Devel::StackTrace which contains a regex in its ignore_package attribute

Old versions of Storable don't deal with regexes, so the test fails.

You could add a dependency on Storable 3.06 (the earliest version to support cloning regexes)

perlpunk added a commit to perlpunk/Log-Any that referenced this issue Nov 13, 2023
Otherwise we'll get

    Can't store REGEXP items

Fixes preaction#102
@perlpunk
Copy link

I created #105

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

Successfully merging a pull request may close this issue.

2 participants