While running game code:
File "renpy/common/00themes.rpy", line 1245, in script
init 1400 python:
File "renpy/common/00themes.rpy", line 1248, in <module>
theme.image_buttons(config.image_buttons)
AttributeError: 'unicode' object has no attribute 'image_buttons'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/common/00themes.rpy", line 1245, in script
init 1400 python:
File "E:\renpy-7.2.2-sdk\renpy\ast.py", line 900, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "E:\renpy-7.2.2-sdk\renpy\python.py", line 1930, in py_exec_bytecode
exec bytecode in globals, locals
File "renpy/common/00themes.rpy", line 1248, in <module>
theme.image_buttons(config.image_buttons)
AttributeError: 'unicode' object has no attribute 'image_buttons'
AttributeError: 'unicode' object has no attribute 'image_buttons'(属性错误:'unicode'对象,没有'image_buttons'这个属性)
大意是:'unicode'对象在赋值或函数调用时失败或返回异常。
如果不是中文输入法写出的问题,那要问你自己 “image_buttons”哪里咋搞的