FloatDomainError
Reported by Jonny Heggheim | June 12th, 2008 @ 07:20 PM | in Release 0.5.1
FloatDomainError at /time
Infinity
Ruby c:/ruby/lib/ruby/gems/1.8/gems/halcyon-0.5.0/lib/halcyon/application.rb: in round, line 100
Web GET localhost/time
Traceback (innermost first)
* c:/ruby/lib/ruby/gems/1.8/gems/halcyon-0.5.0/lib/halcyon/application.rb: in round
93. end
94.
95. response.status = result[:status]
96. response.write result.to_json
97.
98. timing[:finished] = Time.now
99. timing[:total] = (((timing[:finished] - timing[:started])*1e4).round.to_f/1e4)
100. timing[:per_sec] = (((1.0/(timing[:total]))*1e2).round.to_f/1e2)...
101.
102. self.logger.info "[#{response.status}] #{URI.parse(env['REQUEST_URI'] || env['PATH_INFO']).path} (#{timing[:total]}s;#{timing[:per_sec]}req/s)"
103. # self.logger << "Session ID: #{self.session.id}\n" # TODO: Implement session
104. self.logger << "Params: #{filter_params_for_log(request, env).inspect}\n\n"
105.
106. response.finish
107. end
Comments and changes to this ticket
-
Matt Todd June 10th, 2008 @ 03:10 PM
- Milestone changed from Release 0.6.0 to Release 0.5.1
Moved to 0.5.1.
-
Matt Todd June 10th, 2008 @ 03:39 PM
- State changed from new to resolved
(from [5d7a5a2c1e00c8f8e235c09d4fcb610e2fec3c76]) Added tests for Windows and Linux platforms and a bug fix for Windows not updating the microtimestamp but every 10 milliseconds, causing domain errors and division by zero. [#46 state:resolved]
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป