No workaround found for 'AttributeError'.

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
hilabel
Newbie
Posts: 2
Joined: Sun May 09, 2021 11:58 am
Contact:

No workaround found for 'AttributeError'.

#1 Post 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
--

User avatar
Ocelot
Lemma-Class Veteran
Posts: 2400
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: No workaround found for 'AttributeError'.

#2 Post by Ocelot »

Is there a Character named im? Something like define im = Character(...)?
< < insert Rick Cook quote here > >

hilabel
Newbie
Posts: 2
Joined: Sun May 09, 2021 11:58 am
Contact:

Re: No workaround found for 'AttributeError'.

#3 Post 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.

Post Reply

Who is online

Users browsing this forum: SONTSE