SOLVED: AttributeError: 'int' object has no attribute 'say_label'

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
Swinwappy
Newbie
Posts: 14
Joined: Mon Jun 01, 2020 3:52 am
Contact:

SOLVED: AttributeError: 'int' object has no attribute 'say_label'

#1 Post by Swinwappy »

Hey guys,

This error starting showing up seemingly at random whenever I load a save or scroll the mousewheel to rollback.

I've tried troubleshooting for the past hour or two but as im no veteran I just can't figure it out. Here's the ful traceback:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 98, in script
    scene three with dissolve
  File "game/script.rpy", line 98, in script
    scene three with dissolve
  File "renpy/common/00library.rpy", line 169, in _default_empty_window
    store.narrator.empty_window()
AttributeError: 'int' object has no attribute 'say_label'

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

Full traceback:
  File "G:\renpy-7.4.11-sdk\renpy\bootstrap.py", line 277, in bootstrap
    renpy.main.main()
  File "G:\renpy-7.4.11-sdk\renpy\main.py", line 660, in main
    run(restart)
  File "G:\renpy-7.4.11-sdk\renpy\main.py", line 146, in run
    renpy.execution.run_context(True)
  File "G:\renpy-7.4.11-sdk\renpy\execution.py", line 938, in run_context
    context.run()
  File "game/script.rpy", line 98, in script
    scene three with dissolve
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/future/utils/__init__.py", line 441, in raise_
  File "game/script.rpy", line 98, in script
    scene three with dissolve
  File "G:\renpy-7.4.11-sdk\renpy\ast.py", line 1658, in execute
    renpy.exports.with_statement(trans, paired=paired)
  File "G:\renpy-7.4.11-sdk\renpy\exports.py", line 1657, in with_statement
    return renpy.game.interface.do_with(trans, paired, clear=clear)
  File "G:\renpy-7.4.11-sdk\renpy\display\core.py", line 2794, in do_with
    self.with_none()
  File "G:\renpy-7.4.11-sdk\renpy\display\core.py", line 2812, in with_none
    self.show_window()
  File "G:\renpy-7.4.11-sdk\renpy\display\core.py", line 2780, in show_window
    renpy.config.empty_window()
  File "renpy/common/00library.rpy", line 169, in _default_empty_window
    store.narrator.empty_window()
  File "G:\renpy-7.4.11-sdk\renpy\character.py", line 1129, in empty_window
    self.do_show(None, "")
  File "G:\renpy-7.4.11-sdk\renpy\character.py", line 906, in do_show
    return self.show_function(
  File "G:\renpy-7.4.11-sdk\renpy\character.py", line 277, in show_display_say
    props = compute_widget_properties(who_args, what_args, window_args, properties, variant=variant, multiple=multiple)
  File "G:\renpy-7.4.11-sdk\renpy\character.py", line 216, in compute_widget_properties
    who_args = style_args(who_args, "who")
  File "G:\renpy-7.4.11-sdk\renpy\character.py", line 204, in style_args
    style = getattr(renpy.store.style, style)
AttributeError: 'int' object has no attribute 'say_label'

Windows-10-10.0.19045 AMD64
Ren'Py 8.0.3.22090809
Could anyone lend me a hand with fixing this?
Cheers.
Last edited by Swinwappy on Mon Jan 01, 2024 2:54 am, edited 1 time in total.

Swinwappy
Newbie
Posts: 14
Joined: Mon Jun 01, 2020 3:52 am
Contact:

Re: AttributeError: 'int' object has no attribute 'say_label'

#2 Post by Swinwappy »

I had a variable called "style" which messed around with a base renpy variable. Changing that variable fixed everything.

I found this with the "Check Script (Lint) action from the main renpy menu. I didn't even know that existed!

Post Reply

Who is online

Users browsing this forum: No registered users