Hi,
I've a problem with a very simple custom screen : when I run the game I've no problem but when I force recompile or try to make a build I've an error ("quick_menu is not defined" - see traceback.txt).
I've tried to put my custom screen at the end of screens.rpy but without success (same behaviour...)
When I comment the line which calls my custom screen, problem disappears...
Attached a zip with just what is needed to produce this problem...
Any idea?
I use latest version of Renpy (7.3.5.606)
Thanks
Allentum
[Renpy] Force recompile error
- PyTom
- Ren'Py Creator
- Posts: 16093
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: [Renpy] Force recompile error
I'm not able to repeat this. Which line is the custom screen?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: [Renpy] Force recompile error
In screens.rpy it's line 83 (see pic below) - Current version is "screen custom_quit:" but I've tried "screen custom_quit():" with exactly the same result
This screen is "showed" only 1 time in quitmenu.rpy (see pic below)
I'm pretty sure there was a renpy version which worked (no error during build) but I can't remember which one...
Thanks
Allentum
This screen is "showed" only 1 time in quitmenu.rpy (see pic below)
I'm pretty sure there was a renpy version which worked (no error during build) but I can't remember which one...
Thanks
Allentum
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3791
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: [Renpy] Force recompile error
I've found that sometimes force recompile (and delete persistent) will fail if you have errors in your script. You need to find and fix those first.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Re: [Renpy] Force recompile error
Thanks for your idea but I can't spot any error in this (very simple) script which runs perfectly...
I would like something as simple as that!
Regards
Allentum
I would like something as simple as that!
Regards
Allentum
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3791
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: [Renpy] Force recompile error
In my case, when I come across it, it's normally a missing ) or : on a screen or something.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Who is online
Users browsing this forum: No registered users