AttributeError: 'ACKDatagram' object has no attribute 'mode'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Andres Rodriguez | ||
python-tx-tftp (Ubuntu) |
Fix Released
|
Critical
|
Andres Rodriguez | ||
Zesty |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
The server raises an AttributeError when a non-existing file is
requested, by tftp localhost 1069 -c get foo for example:
$ bin/twistd.maas -n tftp -d $PWD -r -v
2012-06-28 14:18:58+0100 [-] Log opened.
2012-06-28 14:18:58+0100 [-] twistd 11.1.0 (.../bin/python2.7 2.7.3) starting up.
2012-06-28 14:18:58+0100 [-] reactor class: twisted.
2012-06-28 14:18:58+0100 [-] TFTP starting on 1069
2012-06-28 14:18:58+0100 [-] Starting protocol <tftp.protocol.TFTP instance at 0x1543d88>
2012-06-28 14:18:58+0100 [-] TFTP Listener started at 0.0.0.0:1069
2012-06-28 14:19:01+0100 [TFTP (UDP)] Datagram received from ('127.0.0.1', 45212): <RRQDatagram(
2012-06-28 14:19:01+0100 [TFTP (UDP)] Datagram received from ('127.0.0.1', 45212): <ACKDatagram(
2012-06-28 14:19:01+0100 [TFTP (UDP)] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/
return context.
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
why = selectable.doRead()
--- <exception caught here> ---
File "/usr/lib/
File ".../python-
mode = datagram.
Changed in maas: | |
milestone: | none → 2.2.0rc2 |
importance: | Undecided → High |
assignee: | nobody → Andres Rodriguez (andreserl) |
status: | New → In Progress |
Changed in python-tx-tftp (Ubuntu): | |
importance: | Undecided → Critical |
assignee: | nobody → Andres Rodriguez (andreserl) |
status: | New → Triaged |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Hello Andres, or anyone else affected,
Accepted python-tx-tftp into zesty-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ python- tx-tftp/ 0.1~bzr47- 0ubuntu1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed. In either case, details of your testing will help us make a better decision.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance!