Skip to content

Minimal required Twisted Version #15

Description

@robertpenz

I did a test with twisted version 11.1.0 and the problem with the descendant method is fixed, but with this version but you still get errors:

2014-02-28 09:43:24+0100 [TFTP (UDP)] Datagram received from ('127.0.0.1', 55347): <WRQDatagram(filename=testfile.bla, mode=netascii)>
2014-02-28 09:43:24+0100 [-] RemoteOriginWriteSession starting on 54306
2014-02-28 09:43:24+0100 [-] Starting protocol <tftp.bootstrap.RemoteOriginWriteSession instance at 0x1e83950>
2014-02-28 09:43:25+0100 [RemoteOriginWriteSession (UDP)] (UDP Port 54306 Closed)
2014-02-28 09:43:25+0100 [RemoteOriginWriteSession (UDP)] Stopping protocol <tftp.bootstrap.RemoteOriginWriteSession instance at 0x1e83950>
2014-02-28 09:43:28+0100 [-] Unhandled Error
        Traceback (most recent call last):
          File "server.py", line 19, in <module>
            main()
          File "server.py", line 16, in main
            reactor.run()
          File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1169, in run
            self.mainLoop()
          File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1178, in mainLoop
            self.runUntilCurrent()
        --- <exception caught here> ---
          File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 800, in runUntilCurrent
            call.func(*call.args, **call.kw)
          File "/home/robert/tmp/tftp/tests/tftp/util.py", line 80, in _call_and_schedule
            self.callable(*self.callable_args, **self.callable_kwargs)
          File "/home/robert/tmp/tftp/tests/tftp/session.py", line 157, in sendData
            self.transport.write(bytes)
          File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 151, in write
            return self.socket.send(datagram)
        exceptions.AttributeError: 'Port' object has no attribute 'socket'

So which version are you using?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions