Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

FloatDomainError

#46
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

Reported by Jonny Heggheim · June 12th, 2008 @ 07:20 PM

State: resolved
Milestone: Release 0.5.1
Assigned to: Matt Todd Matt Todd

Activity

  1. Matt Todd
    Matt Todd
    • Milestone changed from Release 0.6.0 to Release 0.5.1

    Moved to 0.5.1.

    June 10th, 2008 @ 03:10 PM

  2. Matt Todd
    Matt Todd
    • 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]

    http://github.com/mtodd/halcyon/...

    June 10th, 2008 @ 03:39 PM

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.