Re: [tftpy-general] Error while uploading
Status: Beta
Brought to you by:
msoulier
|
From: Michael P. S. <mso...@di...> - 2012-10-08 15:33:43
|
On 08/10/12 Yuriy Kiselev said:
> I've got while executing:
> ===========================
> Traceback (most recent call last):
> File "/tmp/1.py", line 6, in <module>
> client.upload("foobar", "/tmp/foobar");
> File "/usr/lib/pymodules/python2.6/tftpy/TftpClient.py", line 77, in upload
> self.context.start()
> File "/usr/lib/pymodules/python2.6/tftpy/TftpStates.py", line 269, in start
> self.cycle()
> File "/usr/lib/pymodules/python2.6/tftpy/TftpStates.py", line 176, in cycle
> self.state = self.state.handle(recvpkt, raddress, rport)
> File "/usr/lib/pymodules/python2.6/tftpy/TftpStates.py", line 744, in handle
> self.pending_complete = self.context.sendDAT()
> AttributeError: 'TftpContextClientUpload' object has no attribute 'sendDAT'
> ===========================
>
> Debian 6.0 with tftpy 0.5.0.
Yeah, that's kinda old now. I think that was fixed in 0.5.1, and you can try
the latest in github if you like.
ie.
git clone https://github.com/msoulier/tftpy.git
Cheers,
Mike
|