Tanganelli / CoAPthon3

CoAPthon3 is a porting to python3 of my CoAPthon library. CoAPthon3 is a python3 library to the CoAP protocol compliant with the RFC. Branch is available for the Twisted framework.
MIT License
58 stars 50 forks source link

AttributeError: 'function' object has no attribute 'setter' #43

Closed pchwalek closed 3 years ago

pchwalek commented 3 years ago

Getting the following issue when running the latest commit

Traceback (most recent call last): File "main.py", line 22, in <module> from coapthon.server.coap import CoAP File "/home/pi/dev/captivate_server/dataViz/CoAPthon3/coapthon/server/coap.py", line 9, in <module> from coapthon.layers.blocklayer import BlockLayer File "/home/pi/dev/captivate_server/dataViz/CoAPthon3/coapthon/layers/blocklayer.py", line 5, in <module> from coapthon.messages.request import Request File "/home/pi/dev/captivate_server/dataViz/CoAPthon3/coapthon/messages/request.py", line 2, in <module> from coapthon.messages.message import Message File "/home/pi/dev/captivate_server/dataViz/CoAPthon3/coapthon/messages/message.py", line 12, in <module> class Message(object): File "/home/pi/dev/captivate_server/dataViz/CoAPthon3/coapthon/messages/message.py", line 656, in Message @size1.setter AttributeError: 'function' object has no attribute 'setter'

pchwalek commented 3 years ago

This issue is solved by the following request: https://github.com/Tanganelli/CoAPthon3/pull/39/commits/9be6559133ba7ba07f23fdaa3ffccf37b3fc8f36