Traceback (most recent call last): file "/var/www/fosa/error_supressor.py",line 46,in <module> 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'解决方法 >有些东西是绑定无最新的.弄清楚它是什么并修复你的逻辑错误. >有些东西是无约束力的.图等 总结
以上是内存溢出为你收集整理的python – NoneType和str的不支持的 *** 作数类型全部内容,希望文章能够帮你解决python – NoneType和str的不支持的 *** 作数类型所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)