[tahoe-lafs-trac-stream] [tahoe-lafs] #1418: "cannot convert float NaN to integer" in next_power_of_k

tahoe-lafs trac at tahoe-lafs.org
Tue Jun 14 14:31:14 PDT 2011


#1418: "cannot convert float NaN to integer" in next_power_of_k
-------------------------+-----------------------
     Reporter:  rycee    |      Owner:  nobody
         Type:  defect   |     Status:  new
     Priority:  major    |  Milestone:  undecided
    Component:  unknown  |    Version:  1.8.2
   Resolution:           |   Keywords:
Launchpad Bug:           |
-------------------------+-----------------------

Comment (by davidsarah):

 It seems as though {{{mathutil.next_power_of_k(num_segments, 2)}}} was
 probably called with {{{num_segments = NaN}}}. (The next power of 2 is
 also undefined for negative numbers and infinity, but those give different
 exception messages.)

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1418#comment:2>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list