-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
HTML Formatter raises frozen string error #203
Conversation
…hen it is initialised from the message attribute of a Timeout::Error)
…ages, and that the exception class name appears in the output
Occurring for me too. would be great if request accepted |
Us too; this nukes our test-run the first time we get a Timeout::Error (which is often; we're browser-automating a lot). Our test-runs take ~60min for the full set (parallelising our multi-tenant system already...), so this is expensive. |
Can you please accept this pull request, this issue is almost annoying me. |
And occurring for me too. Fix would be great. |
I'm also running into this issue, please fix. |
occurring for me too. please accept the request. |
Also affecting me. Please pull this fix asap |
This constantly slows down our CI builds as it prevents re-running failed tests |
Likewise - biggest pain in my life right now - fix it please! |
Affecting me as well. Please pull this fix! |
I'm inn as well |
This is causing lot of problems. Please fix it. |
would be great for this to be fixed asap for me too |
Would really help if this gets fixed please |
My life would be so much better if this could get pulled! If someone could jump on it, it'll be much appreciated! |
Please pull this one, causing me much grief right now |
Also affecting me, please fix!! |
Please can we get this pulled? We're having this trouble too |
This is a problem definitely causing headaches. Would be great to have this one sorted please. |
Please fix this. |
👍 |
@moro @aslakhellesoy What is preventing this from being pulled? |
LGTM - the only blocker is time |
If it's pertinent, we've been running with a local build of the gem (forked from 1.1.4) for the last few weeks and haven't seen the error since updating to that local build. |
@aslakhellesoy Again, what is blocking this fix? It seems pretty straightforward to me. This is just pushing people away from cucumber when things like this take 2 months to get pulled. Someone did the work and it looks like a straightforward fix, why the twiddling of thumbs? The issue queue is full, pull requests are at 13. What is the process for acceptance? Running cukes against this queue would produce timeouts and result in a frozen string error. |
@devn I'm busy that's all. I'll see if I can round up some more people to share responsibility for merging and releasing in a more timely manner. Nobody has volunteered, so I'll have to ask on the list. I know you would probably step forward and volunteer, but it has to be someone I trust. |
@aslakhellesoy Thanks! |
@aslakhellesoy Thank you! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
After the changes in #159, when the HTML Formatter tries to append the class name of an exception to the message, if the message is frozen then a 'Cannot modify frozen string' exception is raised. This occurs when an exception has a frozen
message
attribute (e.g. in the case ofTimeout::Error
).This pull request replaces the message variable with a concatenated string rather than attempting to append to it in-place.