[SOLVED] Sudden Common files error, Play() got unexpected argument 'Dissolve'

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
decocloud
Newbie
Posts: 11
Joined: Fri May 13, 2022 7:15 pm
Contact:

[SOLVED] Sudden Common files error, Play() got unexpected argument 'Dissolve'

#1 Post by decocloud »

Been fiddling with defining characters + testing for a few hours and I'm suddenly getting this error re: common files. I definitely didn't edit this first hand and after undoing much of what I've been working on, I'm still getting it. Has anyone seen this before?

Code: Select all

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

While running game code:
  File "renpy/common/00action_audio.rpy", line 64, in __call__
    renpy.music.play(self.file, channel=self.channel, **self.kwargs)
TypeError: play() got an unexpected keyword argument 'dissolve'

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

Full traceback:
  File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
    python hide:
  File "renpy/ast.py", line 923, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 2235, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "renpy/common/_layout/screen_main_menu.rpym", line 28, in <module>
    python hide:
  File "renpy/common/_layout/screen_main_menu.rpym", line 35, in _execute_python_hide
    ui.interact()
  File "renpy/ui.py", line 298, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "renpy/display/core.py", line 3276, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
  File "renpy/display/core.py", line 3694, in interact_core
    root_widget.visit_all(lambda i : i.per_interact())
  File "renpy/display/core.py", line 568, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/core.py", line 568, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/core.py", line 568, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/screen.py", line 432, in visit_all
    callback(self)
  File "renpy/display/core.py", line 3694, in <lambda>
    root_widget.visit_all(lambda i : i.per_interact())
  File "renpy/display/screen.py", line 443, in per_interact
    self.update()
  File "renpy/display/screen.py", line 656, in update
    i.set_transform_event(self.current_transform_event)
  File "renpy/display/behavior.py", line 2380, in set_transform_event
    run(self.action)
  File "renpy/display/behavior.py", line 329, in run
    return action(*args, **kwargs)
  File "renpy/common/00action_audio.rpy", line 64, in __call__
    renpy.music.play(self.file, channel=self.channel, **self.kwargs)
TypeError: play() got an unexpected keyword argument 'dissolve'
Last edited by decocloud on Fri May 13, 2022 7:32 pm, edited 1 time in total.

decocloud
Newbie
Posts: 11
Joined: Fri May 13, 2022 7:15 pm
Contact:

Re: Sudden Common files error, Play() got unexpected argument 'Dissolve'

#2 Post by decocloud »

Solved: I had added a dissolve=True argument to the movie playing in my main menu and I guess it just randomly didn't freak out immediately so I simply kept pushing on with the project.

Post Reply

Who is online

Users browsing this forum: Bing [Bot]