[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
Fri Jun 24 06:20:01 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):

 Oh I have an idea. Turn on tracing --
 http://www.doughellmann.com/PyMOTW/trace/ -- then you'll know what line of
 source code triggered the fp exception. (Caveat: the Python process might
 buffer the output and then die due to the fp exception before it flushes
 the line telling the actual Python code which came immediately before the
 exception. So turn on the {{{PYTHONUNBUFFERED=1}}} env var or pass
 {{{-u}}} to {{{python}}}.

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


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