Strange crash upon finishing game (return)

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
gamajorbatistan
Regular
Posts: 35
Joined: Sun Mar 04, 2018 3:57 am
Contact:

Strange crash upon finishing game (return)

#1 Post by gamajorbatistan »

Here's the full error log:

Code: Select all

I'm sorry, but an uncaught exception occurred.

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

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

  File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
    python hide:
  File "C:\Users\fatlittlejimmy\Desktop\gd gamedev\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\fatlittlejimmy\Desktop\gd gamedev\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\fatlittlejimmy\Desktop\gd gamedev\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\fatlittlejimmy\Desktop\gd gamedev\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\fatlittlejimmy\Desktop\gd gamedev\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-7-6.1.7601-SP1
Ren'Py 6.99.14.1.3218
Tracers Break 
Wed Mar 14 22:13:57 2018
Here's what the code for my ending look like atm (freed from bloat):

Code: Select all

   label finish:
        "Thank you for playing <3"        
        " (click to finish ) "
        show bg bm
        with slowdissolve
        $ renpy.pause(1)
        show text "The End" with dissolve
        $ renpy.pause(2)
        return

User avatar
Donmai
Eileen-Class Veteran
Posts: 1958
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: Strange crash upon finishing game (return)

#2 Post by Donmai »

Check your slowdissolve definition. For example:

Code: Select all

define slowdissolve = Dissolve(1.0)
will certainly work, but

Code: Select all

define slowdissolve = dissolve(1.0)
will give you this kind of error.
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

gamajorbatistan
Regular
Posts: 35
Joined: Sun Mar 04, 2018 3:57 am
Contact:

Re: Strange crash upon finishing game (return)

#3 Post by gamajorbatistan »

Hm this is what it looks like. And it works alright throughout earlier parts of the game. Confusing stuff :|

Code: Select all

    define fastdissolve = Dissolve(.3)
    define meddissolve = Dissolve(.6)
    define slowdissolve = Dissolve(2)    

gamajorbatistan
Regular
Posts: 35
Joined: Sun Mar 04, 2018 3:57 am
Contact:

Re: Strange crash upon finishing game (return)

#4 Post by gamajorbatistan »

Now I get the error too when I try to access preferences. Damnit.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1958
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: Strange crash upon finishing game (return)

#5 Post by Donmai »

Try

Code: Select all

define slowdissolve = Dissolve(2.0)
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

gamajorbatistan
Regular
Posts: 35
Joined: Sun Mar 04, 2018 3:57 am
Contact:

Re: Strange crash upon finishing game (return)

#6 Post by gamajorbatistan »

Donmai wrote: Wed Mar 14, 2018 9:15 pm Try

Code: Select all

define slowdissolve = Dissolve(2.0)
dindu nuffin :(
could it be something in my options that broke it??

gamajorbatistan
Regular
Posts: 35
Joined: Sun Mar 04, 2018 3:57 am
Contact:

Re: Strange crash upon finishing game (return)

#7 Post by gamajorbatistan »

Yes! I had a bunch of lower case dissolves in my options file. You still helped me out with this one! Thank you so much!

Post Reply

Who is online

Users browsing this forum: No registered users