Page 1 of 1

No workaround found for 'AttributeError'.

Posted: Sun May 09, 2021 12:08 pm
by hilabel
We also looked into duplicates of scripts or functions, but it was not the cause.
I've been trying to decode my code for two hours, but I couldn't find the cause of the problem.

--
I'm sorry, but an uncaught exception occurred.

While running game code:
File "renpy/common/00library.rpy", line 376, in script
init 1700 python hide:
File "renpy/common/00library.rpy", line 376, in <module>
init 1700 python hide:
File "renpy/common/00library.rpy", line 383, in _execute_python_hide
renpy.load_module("_developer/developer")
AttributeError: 'ADVCharacter' object has no attribute 'Tile'

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "renpy/common/00library.rpy", line 376, in script
init 1700 python hide:
File "renpy/ast.py", line 922, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 2218, in py_exec_bytecode
exec(bytecode, globals, locals)
File "renpy/common/00library.rpy", line 376, in <module>
init 1700 python hide:
File "renpy/common/00library.rpy", line 383, in _execute_python_hide
renpy.load_module("_developer/developer")
File "renpy/exports.py", line 2594, in load_module
renpy.game.context().run(node)
File "renpy/common/_developer/developer.rpym", line 658, in script
init 1000 python hide:
File "renpy/common/_developer/developer.rpym", line 658, in script
init 1000 python hide:
File "renpy/ast.py", line 922, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 2218, in py_exec_bytecode
exec(bytecode, globals, locals)
File "renpy/common/_developer/developer.rpym", line 658, in <module>
init 1000 python hide:
File "renpy/common/_developer/developer.rpym", line 660, in _execute_python_hide
tile = im.Tile("_transparent_tile.png", (config.screen_width, config.screen_height))
AttributeError: 'ADVCharacter' object has no attribute 'Tile'

Windows-10-10.0.19041
Ren'Py 7.4.4.1439
test 1.0
Mon May 10 01:03:30 2021
--

Re: No workaround found for 'AttributeError'.

Posted: Sun May 09, 2021 12:53 pm
by Ocelot
Is there a Character named im? Something like define im = Character(...)?

Re: No workaround found for 'AttributeError'.

Posted: Sun May 09, 2021 1:20 pm
by hilabel
Oh, my God, I'm so embarrassed right now. I think we need to develop a way to look at the basics again. Thank you very much.