我收到一个消息:
跟踪后退(mostrecentcalllast ) :
file '/var/www/fosa/error _ supress or.py ',line 46,in
(sys.stderr.write(latest(n ) ) ) ) ) ) ) ) ) )。
typeerror : unsupportedoperandtype (s ) for : 'NoneType' and 'str '
我想解决这个问题好几天了,老实说,我是个多才多艺的程序员
所以,把问题排队,看看有没有耐心的人能节省时间解决谦虚的陌生人的问题。(:-)
除此之外,当我检查我的错误日志时,我发现了这个错误信息,我怀疑有关联:
file '/var/www/fosa/app/controllers/client/client.py ',line 601,in detail
if not course.bookableornotcourse.school.partner.active : # bothobjectsareboolean
attribute error : ' nonetype ' objecthasnoattribute ' bookable '