我收到一条消息说:
Traceback (most recent call last):
File "/var/www/fosa/error_supressor.py",line 46,in
sys.stderr.write(latest + '\n')
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
我已经试图解决这个问题好几天了,但说实话,我是一个多才多艺的程序员.
因此,让我们排队问题,看看是否有一个耐心的人可以节省一些时间来解决一个谦虚的陌生人的问题:-)
除此之外,当我检查我的错误日志时,我发现此错误消息,我怀疑是相关的:
File "/var/www/fosa/app/controllers/client/client.py",line 601,in detail
if not course.bookable or not course.school.partner.active: # both objects are boolean
AttributeError: 'NoneType' object has no attribute 'bookable'