Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

rendering_timed_out? error #19

Open
dcaccavano opened this issue Jul 16, 2014 · 4 comments
Open

rendering_timed_out? error #19

dcaccavano opened this issue Jul 16, 2014 · 4 comments

Comments

@dcaccavano
Copy link

I am getting

TypeError - can't convert String into an exact number

when using the middleware, it would seem that this method:

def rendering_timed_out?
  Time.now - @request.session["phantom-rendering"][render_to] > @options[:request_timeout]
end

is the culprit.

@request.session["phantom-rendering"][render_to] is returning a string, and not a Time object, resulting in this error. I monkey-patched it on my end to convert .to_time so that this would not break.

@gildo
Copy link

gildo commented Apr 7, 2015

same here with v0.0.6

@ksylvest
Copy link

ksylvest commented Mar 1, 2016

Also getting this issue with v0.0.6.

@olegsfinest
Copy link

Are there any news on this, or did someone discover a workaround?
I am getting this error aswell. Using v0.0.6 on rails 4.2.4

@apanzerj
Copy link

This project is very dead looking. No commits since 2014 AND the maintainers (adjust) are coding away, just not on this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants