[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 12:42:49 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 zooko):
Could you please run this single unit test that fails --
{{{allmydata.test.test_cli.Backup.test_backup}}} -- with the
{{{math.log(10)}}} in place, under valgrind?
http://valgrind.org
Valgrind is very good. You'll need to use the Python suppressions file
with it:
http://svn.python.org/projects/python/trunk/Misc/valgrind-python.supp
Another idea suggested by Riastradh on IRC is to turn on floating point
exceptions: http://docs.python.org/library/fpectl.html
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1418#comment:14>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list