-
Notifications
You must be signed in to change notification settings - Fork 7
Fix for failed test at CPAN #7
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
Comments
I created PR #8 for this. |
Hello @anne-gert, I have been added as a maintainer of Tkx. I will likely be maintaining it from my fork instead of this repository. I would like to publish a maintenance release that fixes this often-encountered issue, but am still trying to understand what is causing it and how to address it. The approach proposed in #8 illustrates how the issue is deeper than the affected t/tcl.t test case. I think it may have been caused by Tcl.pm removing features which Tkx still expects, e.g. It could be that all Tkx was trying to do here was provide nicer/cleaner error messages to Tkx programs, so maybe there is some flexibility in improving both the error message code and the affected test case. |
Failure likely caused by changes in Tcl.pm. This is a minor issue, and not a reason to prevent users from installing Tkx. See: https://rt.cpan.org/Ticket/Display.html?id=115662, gisle#4, gisle#7
For now, I have marked the affected test as TODO in Tkx 1.10. |
Hello Christopher,
I'm not sure if I can reply like this.
I have not deeply investigated this issue, but I came to a similar solution that it was a dependency on how Tcl used to work.
I added a second commit on 10 Nov. I did some trial and error and I think I got it to work.
I'm rather new to git, so can you use my commits on gisle's version? I think it should also be possible to add you as a remote and submit the same pr to your fork.
Please let me know if I can help.
Best regards,
Anne-Gert
…On February 6, 2021 8:21:18 AM GMT+01:00, Christopher Chavez ***@***.***> wrote:
Hello @anne-gert, I have been added as a maintainer of Tkx. I will
likely be maintaining it from my
[fork](https://github.com/chrstphrchvz/tkx) instead of this repository.
I would like to publish a maintenance release that fixes this
often-encountered issue, but am still trying to understand what is
causing it and how to address it. The approach proposed in #8
illustrates how the issue is deeper than the affected t/tcl.t test
case. I think it may have been caused by Tcl.pm removing features which
Tkx still expects, e.g. `$Tcl::STACK_TRACE`: ***@***.***; and
which other Tcl.pm dependents like Tcl::pTk had to workaround:
***@***.***
It could be that all Tkx was trying to do here was provide
nicer/cleaner error messages to Tkx programs, so maybe there is some
flexibility in improving both the error message code and the affected
test case.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#7 (comment)
|
Hello maintainers,
I've been using the Tkx module for years and I'm very happy with it. Unfortunately, there is a long-standing test issue on CPAN ( see http://www.cpantesters.org/cpan/report/640f2c8c-1c8e-11eb-9ee7-b9ac198ac9a8 ).
The error reads:
I believe the problem is a platform dependency in the regex in Tkx.pm at line 334.
Change the end of that regex from \n\z to \s*\z
Best Regards,
Anne-Gert
The text was updated successfully, but these errors were encountered: