Ern The Skáld

Member
Game Developer
Jan 24, 2023
139
566
160
Last edited:
  • Hey there
Reactions: Moonflare

Madbadbutajoytoknow

Active Member
Game Developer
Jan 4, 2018
503
667
328
Not sure if this error has been posted before. I searched but couldn't anything.

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/game/Phone.rpy", line 133, in script call
    call screen phone_contacts_menu("night", True)
  File "game/game/Phone.rpy", line 341, in script
    call screen contactpage(contact, timeofday)
  File "renpy/common/000statements.rpy", line 671, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "game/game/Phone.rpy", line 351, in execute
    screen contactpage(contact, timeofday):
  File "game/game/Phone.rpy", line 351, in execute
    screen contactpage(contact, timeofday):
  File "game/game/Phone.rpy", line 363, in execute
    frame:
  File "game/game/Phone.rpy", line 367, in execute
    vbox:
  File "game/game/Phone.rpy", line 371, in execute
    frame:
  File "game/game/Phone.rpy", line 376, in execute
    vbox:
  File "game/game/Phone.rpy", line 391, in execute
    if contact.lust >= 0:
  File "game/game/Phone.rpy", line 391, in <module>
    if contact.lust >= 0:
TypeError: '>=' not supported between instances of 'str' and 'int'

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

Full traceback:
  File "game/game/Phone.rpy", line 133, in script call
    call screen phone_contacts_menu("night", True)
  File "game/game/Phone.rpy", line 341, in script
    call screen contactpage(contact, timeofday)
  File "C:\Games 2\LessonsInLove0.51.0-0.51.0-pc-subscribestar\renpy\ast.py", line 1971, in execute
    self.call("execute")
  File "C:\Games 2\LessonsInLove0.51.0-0.51.0-pc-subscribestar\renpy\ast.py", line 1953, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "C:\Games 2\LessonsInLove0.51.0-0.51.0-pc-subscribestar\renpy\statements.py", line 349, in call
    return method(parsed, *args, **kwargs)
  File "renpy/common/000statements.rpy", line 671, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "C:\Games 2\LessonsInLove0.51.0-0.51.0-pc-subscribestar\renpy\exports.py", line 3420, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "C:\Games 2\LessonsInLove0.51.0-0.51.0-pc-subscribestar\renpy\ui.py", line 301, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Games 2\LessonsInLove0.51.0-0.51.0-pc-subscribestar\renpy\display\core.py", line 2166, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
  File "C:\Games 2\LessonsInLove0.51.0-0.51.0-pc-subscribestar\renpy\display\core.py", line 2688, in interact_core
    root_widget.visit_all(lambda d : d.per_interact())
  File "C:\Games 2\LessonsInLove0.51.0-0.51.0-pc-subscribestar\renpy\display\displayable.py", line 431, in visit_all
    d.visit_all(callback, seen)
  File "C:\Games 2\LessonsInLove0.51.0-0.51.0-pc-subscribestar\renpy\display\displayable.py", line 431, in visit_all
    d.visit_all(callback, seen)
  File "C:\Games 2\LessonsInLove0.51.0-0.51.0-pc-subscribestar\renpy\display\displayable.py", line 431, in visit_all
    d.visit_all(callback, seen)
  File "C:\Games 2\LessonsInLove0.51.0-0.51.0-pc-subscribestar\renpy\display\screen.py", line 480, in visit_all
    callback(self)
  File "C:\Games 2\LessonsInLove0.51.0-0.51.0-pc-subscribestar\renpy\display\core.py", line 2688, in <lambda>
    root_widget.visit_all(lambda d : d.per_interact())
  File "C:\Games 2\LessonsInLove0.51.0-0.51.0-pc-subscribestar\renpy\display\screen.py", line 491, in per_interact
    self.update()
  File "C:\Games 2\LessonsInLove0.51.0-0.51.0-pc-subscribestar\renpy\display\screen.py", line 697, in update
    self.screen.function(**self.scope)
  File "game/game/Phone.rpy", line 351, in execute
    screen contactpage(contact, timeofday):
  File "game/game/Phone.rpy", line 351, in execute
    screen contactpage(contact, timeofday):
  File "game/game/Phone.rpy", line 363, in execute
    frame:
  File "game/game/Phone.rpy", line 367, in execute
    vbox:
  File "game/game/Phone.rpy", line 371, in execute
    frame:
  File "game/game/Phone.rpy", line 376, in execute
    vbox:
  File "game/game/Phone.rpy", line 391, in execute
    if contact.lust >= 0:
  File "game/game/Phone.rpy", line 391, in <module>
    if contact.lust >= 0:
TypeError: '>=' not supported between instances of 'str' and 'int'

Windows-10-10.0.26100 AMD64
Ren'Py 8.2.3.24061702
Lessons in Love 0.51.0
Wed Sep 24 01:37:06 2025
 

Moonflare

Engaged Member
Aug 23, 2023
2,406
14,187
599
If it hasn't been posted before, we're likely going to need more to help with your issue. Walk us through it:

1. Have you managed to play the game before? And, if so, when did this problem start happening? After an update? After installing a care package? After using a save from somewhere else? Have you modified the variables in some way (and through which method? save editor? URM?) Have you modified the scripts themselves? Or did it just start happening out of nowhere?

Either of these questions should point in the direction from where the problem happened and what you should do to fix it. If you'd rather just do a hard fix, then download the entire game again, put it in a separate location, transfer only the saves and see if the error persists. If it does, then it's likely your system.
 
  • Like
Reactions: jclark1337

Madbadbutajoytoknow

Active Member
Game Developer
Jan 4, 2018
503
667
328
If it hasn't been posted before, we're likely going to need more to help with your issue. Walk us through it:

1. Have you managed to play the game before? And, if so, when did this problem start happening? After an update? After installing a care package? After using a save from somewhere else? Have you modified the variables in some way (and through which method? save editor? URM?) Have you modified the scripts themselves? Or did it just start happening out of nowhere?

Either of these questions should point in the direction from where the problem happened and what you should do to fix it. If you'd rather just do a hard fix, then download the entire game again, put it in a separate location, transfer only the saves and see if the error persists. If it does, then it's likely your system.
The game has been running fine and I've had no issues. I have no care packages installed and the only mod I have is the guide mod. I haven't altered any of the variables at all. This error occurs on the first of Imani's events 'Somewhere I belong' when you have to phone her at night. All other phone contacts work without issue.
 
  • Thinking Face
Reactions: Moonflare

Moonflare

Engaged Member
Aug 23, 2023
2,406
14,187
599
That's hard for me to reproduce, as URM only lets me jump to an event, not a specific moment in the game. The event itself plays fine on my end.
1758704577460.png
You don't have permission to view the spoiler content. Log in or register now.
If you upload your save, I can take a look at it (a save from just before the issue happens).

Edit: A possible fix would be to install URM, and force the event to trigger by jumping to it using the aforementioned script name. But it's better to investigate the issue, as this will not be the last time you'll have to use the cellphone. Or, again, just download the entire game anew.
 
Last edited:
  • Like
Reactions: Leo-67

Madbadbutajoytoknow

Active Member
Game Developer
Jan 4, 2018
503
667
328
That's hard for me to reproduce, as URM only lets me jump to an event, not a specific moment in the game. The event itself plays fine on my end.
View attachment 5280168
You don't have permission to view the spoiler content. Log in or register now.
If you upload your save, I can take a look at it (a save from just before the issue happens).

Edit: A possible fix would be to install URM, and force the event to trigger by jumping to it using the aforementioned script name. But it's better to investigate the issue, as this will not be the last time you'll have to use the cellphone. Or, again, just download the entire game anew.
 

Moonflare

Engaged Member
Aug 23, 2023
2,406
14,187
599
Used your save, no issues.
You don't have permission to view the spoiler content. Log in or register now.
This rules out anything wrong with your save. So what remains is to reinstall the game. It's either some files corrupted or your system itself.
 
4.10 star(s) 340 Votes