Traceback (most recent call last):


 "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner

self.run()


 "/usr/local/lib/python3.8/threading.py", line 870, in run

self._target(*self._args, **self._kwargs)


 "/usr/local/lib/python3.8/site-packages/RFXtrx/__init__.py", line 825, in _connect

self.transport.reset()


 "/usr/local/lib/python3.8/site-packages/RFXtrx/__init__.py", line 678, in reset

self.send(b'\x0D\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')


 "/usr/local/lib/python3.8/site-packages/RFXtrx/__init__.py", line 674, in send

self.serial.write(pkt)
AttributeError: 'NoneType' object has no attribute 'write'

Traceback (most recent call last):

 "mg_models.py", line 18, in <module>
p1.save()

 "/usr/local/lib/python2.7/dist-packages/mongoengine/document.py", line 224, in save
self.validate(clean=clean)

 "/usr/local/lib/python2.7/dist-packages/mongoengine/base/document.py", line 323, in validate
raise ValidationError(message, errors=errors)mongoengine.errors.ValidationError: ValidationError (Post:None) (Field is required: ['content'])