[tahoe-lafs-trac-stream] [tahoe-lafs] #1418: "cannot convert float NaN to integer" in next_power_of_k, during upload via helper

tahoe-lafs trac at tahoe-lafs.org
Thu Jun 23 13:12:03 PDT 2011


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

Comment (by rycee):

 About the `fpectl` library.  I tried adding `fpectl.turnon_sigfpe()` to
 the beginning of the `test_backup` method, this gave me
 {{{
 $ bin/tahoe debug trial allmydata.test.test_cli.Backup.test_backup
 allmydata.test.test_cli
   Backup
     test_backup ... Fatal Python error: Unprotected floating point
 exception
 }}}
 which seems … interesting.

 I don't know how to associate this to a source location though so I dunno
 if it corresponds to the `math.log(10)` or some other piece of code.

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


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