Error dissolve is not callable

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
Nonohell
Newbie
Posts: 16
Joined: Wed Apr 11, 2018 2:30 pm
Contact:

Error dissolve is not callable

#1 Post by Nonohell »

Hi ! I actually have a message error when i want to go in another menu than new game. I got this error message:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
TypeError: 'Dissolve' object is not callable

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

Full traceback:
  File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
    python hide:
  File "C:\Users\boulanger\Downloads\renpy-6.99.14.1-sdk\renpy\ast.py", line 848, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\boulanger\Downloads\renpy-6.99.14.1-sdk\renpy\python.py", line 1812, in py_exec_bytecode
    exec bytecode in globals, locals
  File "renpy/common/_layout/screen_main_menu.rpym", line 35, in <module>
    ui.interact()
  File "C:\Users\boulanger\Downloads\renpy-6.99.14.1-sdk\renpy\ui.py", line 287, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Users\boulanger\Downloads\renpy-6.99.14.1-sdk\renpy\display\core.py", line 2624, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
  File "C:\Users\boulanger\Downloads\renpy-6.99.14.1-sdk\renpy\display\core.py", line 2952, in interact_core
    new_widget=layers_root)
TypeError: 'Dissolve' object is not callable

Windows-8-6.2.9200
Ren'Py 6.99.14.1.3218
Test
Wed Apr 11 20:36:57 2018

I went to see and I placed some capital letter on the dissolve some, but this has been fixed. But the problem still persists. What can I do ?
Ps: Sorry for the english mistakes i'm french :?

kivik
Miko-Class Veteran
Posts: 786
Joined: Fri Jun 24, 2016 5:58 pm
Contact:

Re: Error dissolve is not callable

#2 Post by kivik »

Can you do a search for all instances of the word "Dissolve" in your game/ folder and see what comes back? It looks like you've left it somewhere but I can't tell where from the above unfortunately!

Nonohell
Newbie
Posts: 16
Joined: Wed Apr 11, 2018 2:30 pm
Contact:

Re: Error dissolve is not callable

#3 Post by Nonohell »

I found the problem.
I don't now why but the dissolve doesn't work with config.intra_transition. Well i just change the dissolve on None and that work.

kivik
Miko-Class Veteran
Posts: 786
Joined: Fri Jun 24, 2016 5:58 pm
Contact:

Re: Error dissolve is not callable

#4 Post by kivik »

try doing this:

Code: Select all

define config.intra_transition = dissolve
I found it from the thread below, the documentation doesn't make clear what it accepts!

viewtopic.php?f=8&t=47158


Oh wait, did you use lowercase dissolve and that's what caused the error?

User avatar
Donmai
Eileen-Class Veteran
Posts: 1960
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: Error dissolve is not callable

#5 Post by Donmai »

It's important to remember that dissolve is an instance of the Dissolve() transition class.

Code: Select all

define config.intra_transition = dissolve
or

Code: Select all

define config.intra_transition = Dissolve(1.0)
should work, but

Code: Select all

define config.intra_transition = Dissolve
will probably make your computer explode.
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

Post Reply

Who is online

Users browsing this forum: No registered users