<div dir="ltr">Hi,<div><br></div><div>I would like to fix pydoctor / epydocs errors generated while building twisted api reference documentation.</div><div><br></div><div>The goal is to have a clean build so that when a developer sees an error in his/her branch, the errors is for sure produced by his/her changes.<br clear="all">

<div><br></div><div>My current problem is that I can not reproduce the results generated by Twisted buildbot.</div><div><br></div><div>For example for pair, Twisted buildbot gives [1]:</div><div><br></div><div><div>twisted.pair.tuntap._IInputOutputSystem.ioctl:143 invalid ref to fcntl.ioctl</div>

<div>twisted.pair.tuntap._IInputOutputSystem.ioctl:143 invalid ref to fcntl.ioctl</div><div>twisted.pair.testing.MemoryIOSystem.ioctl:442 invalid ref to fcntl.ioctl</div><div>twisted.pair.testing.MemoryIOSystem.ioctl:442 invalid ref to fcntl.ioctl</div>

</div><div><br></div><div>While on Travis-CI builder, and my local system I get [2]:</div><div><br></div><div><div>twisted.pair.testing.MemoryIOSystem.receiveUDP:494 invalid ref to socket.socket</div><div>twisted.pair.testing.MemoryIOSystem.receiveUDP:494 invalid ref to socket.socket</div>

<div>twisted.pair.testing._FakePort.recv:527 invalid ref to socket.socket.recv</div><div>twisted.pair.testing._FakePort.recv:527 invalid ref to socket.socket.recv</div><div>twisted.pair.testing._FakePort.recv:527 invalid ref to socket.socket.recv</div>

<div>twisted.pair.testing._FakePort.recv:527 invalid ref to socket.socket.recv</div><div>twisted.pair.tuntap._IInputOutputSystem.receiveUDP:182 invalid ref to socket.socket</div><div>twisted.pair.tuntap._IInputOutputSystem.receiveUDP:182 invalid ref to socket.socket</div>

</div><div><br></div><div>-----</div><div><br></div><div>The command used is </div><div><br></div><div>python bin/admin/build-apidocs . apidocs</div><div><br></div><div>Does anyone has any clue what can go wrong and why I get this differences ?</div>

<div><br></div><div>Thanks!</div><div><br></div><div>[1] <a href="https://travis-ci.org/chevah/twisted/jobs/19809459">https://travis-ci.org/chevah/twisted/jobs/19809459</a></div><div>[2] <a href="http://buildbot.twistedmatrix.com/builders/documentation/builds/4469/steps/api-documentation/logs/stdio">http://buildbot.twistedmatrix.com/builders/documentation/builds/4469/steps/api-documentation/logs/stdio</a></div>

<div><br></div>-- <br>Adi Roiban
</div></div>