[Buildbot-commits] [Buildbot] #1963: FileUpload creates truncated file when buildslave is not on localhost

Buildbot nobody at buildbot.net
Wed May 25 15:20:56 UTC 2011


#1963: FileUpload creates truncated file when buildslave is not on localhost
----------------------+------------------------
Reporter:  landry     |       Owner:
    Type:  undecided  |      Status:  new
Priority:  major      |   Milestone:  undecided
 Version:  0.8.3p1    |  Resolution:
Keywords:             |
----------------------+------------------------

Comment (by dustin):

 This should do the trick:

 {{{
 #!py
     import os, stat
     print os.fstat(self.fp.fileno())
 }}}

 Since one read returns 14, and the next returns 0, *something* funny is
 going on here!

-- 
Ticket URL: <http://trac.buildbot.net/ticket/1963#comment:8>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list