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

HTML Formatter raises frozen string error #203

Merged
merged 7 commits into from
Feb 19, 2012
Merged

HTML Formatter raises frozen string error #203

merged 7 commits into from
Feb 19, 2012

Conversation

jmerrifield
Copy link
Contributor

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 of Timeout::Error).

This pull request replaces the message variable with a concatenated string rather than attempting to append to it in-place.

…hen it is initialised from the message attribute of a Timeout::Error)
…ages, and that the exception class name appears in the output
@khustochka
Copy link

Occurring for me too. would be great if request accepted

@petemounce
Copy link

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.

@siteriaitaliana
Copy link

Can you please accept this pull request, this issue is almost annoying me.

@oliversweb
Copy link

And occurring for me too. Fix would be great.

@taseri
Copy link

taseri commented Jan 20, 2012

I'm also running into this issue, please fix.

@deepthini
Copy link

occurring for me too. please accept the request.

@gwilliams
Copy link

Also affecting me. Please pull this fix asap

@matteus6007
Copy link

This constantly slows down our CI builds as it prevents re-running failed tests

@jamesneville
Copy link

Likewise - biggest pain in my life right now - fix it please!

@StevoGo
Copy link

StevoGo commented Jan 20, 2012

Affecting me as well. Please pull this fix!

@SujaJaganathan
Copy link

I'm inn as well

@SankalpMehra
Copy link

This is causing lot of problems. Please fix it.

@matthewdbell
Copy link

would be great for this to be fixed asap for me too

@ngandhi80
Copy link

Would really help if this gets fixed please

@BrewsterNZ
Copy link

My life would be so much better if this could get pulled! If someone could jump on it, it'll be much appreciated!
Thanks!

@gordonbaz
Copy link

Please pull this one, causing me much grief right now

@Becksh
Copy link

Becksh commented Jan 20, 2012

Also affecting me, please fix!!

@mikeward9
Copy link

Please can we get this pulled? We're having this trouble too

@dominic-perry
Copy link

This is a problem definitely causing headaches. Would be great to have this one sorted please.

@devn
Copy link

devn commented Feb 14, 2012

Please fix this.

@p0deje
Copy link

p0deje commented Feb 15, 2012

👍

@petemounce
Copy link

@moro @aslakhellesoy What is preventing this from being pulled?

@aslakhellesoy
Copy link
Contributor

LGTM - the only blocker is time

@petemounce
Copy link

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.

@devn
Copy link

devn commented Feb 18, 2012

@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.

@aslakhellesoy
Copy link
Contributor

@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 aslakhellesoy merged commit 810e67f into cucumber:master Feb 19, 2012
@petemounce
Copy link

@aslakhellesoy Thanks!

@devn
Copy link

devn commented Feb 19, 2012

@aslakhellesoy Thank you!

@lock
Copy link

lock bot commented Oct 25, 2018

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.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.