6.13.6 sudden crash when opening launcher? (over & over)

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
User avatar
Soraminako
Veteran
Posts: 277
Joined: Sun Sep 04, 2011 1:36 am
Projects: A thingie without a title. With messy code.
Contact:

6.13.6 sudden crash when opening launcher? (over & over)

#1 Post by Soraminako » Tue Oct 18, 2011 5:07 am

Hi again. ^^;;

So all the recent problems with my game made me finally decide to move from 6.12 to 6.13 to see if that would make things better or if the problem is just my fail code. (Hope dies last... XD)

However, the very moment I unzipped 6.13 and launched it, it worked once then crashed. ^^; (This also happened the last time I tried using it, which had made me delete 6.13 and keep using 6.12 until now, although I was hoping maybe it would be different now.)

I tried opening it again, and it crashed again, this time immediately, before being able to even pick a project to launch. It now crashes every time, whenever I try to go to the area where you can select projects.)

I had manually made a copy of a folder inside the folder where I keep all my game projects, and apparently that's what triggered the problem. (It crashed shortly after, the first time.) Unless that's just a coincidence?

It gives me the following traceback when it crashes:
I'm sorry, but an uncaught exception occurred.

While running game code:
File "launcher/project.rpy", line 176, in script
python:
File "launcher/project.rpy", line 199, in python
interact()
File "launcher/interface.rpy", line 106, in python
return ui.interact(suppress_overlay=True, suppress_underlay=True)
File "launcher/interface.rpy", line 65, in python
return Text(tooltip, color="#fff", size=14), None
KeyError: u'MOE'

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

Full traceback:
File "C:[...]\renpy\renpy-6.13.6\renpy\execution.py", line 261, in run
File "C:[...]\renpy-6.13.6\renpy\ast.py", line 630, in execute
File "C:[...]\renpy\renpy-6.13.6\renpy\python.py", line 977, in py_exec_bytecode
File "launcher/project.rpy", line 199, in <module>
File "launcher/interface.rpy", line 106, in interact
File "C:[...]\renpy\renpy-6.13.6\renpy\ui.py", line 237, in interact
File "C:[...]\renpy\renpy-6.13.6\renpy\display\core.py", line 1798, in interact
File "C:[...]\renpy\renpy-6.13.6\renpy\display\core.py", line 2036, in interact_core
File "C:[...]\renpy\renpy-6.13.6\renpy\display\core.py", line 246, in visit_all
File "C:[...]\renpy\renpy-6.13.6\renpy\display\core.py", line 246, in visit_all
File "C:[...]\renpy\renpy-6.13.6\renpy\display\core.py", line 246, in visit_all
File "C:[...]\renpy\renpy-6.13.6\renpy\display\core.py", line 246, in visit_all
File "C:[...]\renpy\renpy-6.13.6\renpy\display\core.py", line 248, in visit_all
File "C:[...]\renpy\renpy-6.13.6\renpy\display\core.py", line 2036, in <lambda>
File "C:[...]\renpy\renpy-6.13.6\renpy\display\layout.py", line 974, in per_interact
File "launcher/interface.rpy", line 65, in show_tooltip
File "C:[...]\renpy\renpy-6.13.6\renpy\text\text.py", line 1033, in __init__
File "C:[...]\renpy\renpy-6.13.6\renpy\text\text.py", line 1076, in set_text
File "C:[...]\renpy\renpy-6.13.6\renpy\substitutions.py", line 218, in substitute
File "string.pyo", line 549, in vformat
File "string.pyo", line 571, in _vformat
File "string.pyo", line 632, in get_field
File "string.pyo", line 591, in get_value
KeyError: u'MOE'

Windows-post2008Server-6.1.7601-SP1
Ren'Py 6.13.6.1642
I couldn't help laughing at how ironic "KeyError: u'MOE'" sounds, because, well, "moe" and all that. Maybe the characters' moe killed it. lol /fail joke.

So this leaves me with the question: Is there something dramatically wrong somewhere, like my computer is possessed and the spirits hate Visual Novels or something? :(
It seems I never cease to run into trouble while making this game. Is it like that for everybody or is it just me who particularly suck at game making or something? ^^;

More seriously though, should I assume there's something dramatically wrong with my PC (it's less than a year old), or is that just a bug of some sort?

Please shine a light in this darkness, it's like my attempts at making a game keep turning into an exercise in frustration. ^^;

For the time being I'll just stick to 6.12, since I can't open the projects in 6.13. ^^;


Unrelated quick question while I'm here: Is it bad to have several "init" and "init python" scattered all around your various files for your game? Is it bad to have more than one in the same file? Will it cause problems? ^^;
I'm trying to figure out what things I might be doing that are bad code, to 'clean up' my code and hopefully lower the likelihood that my game will have problems. ^^;
(I drew my avatar especially to express the scary feeling I get from the code as I type it... XD)

User avatar
DragoonHP
Miko-Class Veteran
Posts: 758
Joined: Tue Jun 22, 2010 12:54 am
Completed: Christmas
IRC Nick: DragoonHP
Location: Zion Island, Solario
Contact:

Re: 6.13.6 sudden crash when opening launcher? (over & over)

#2 Post by DragoonHP » Tue Oct 18, 2011 9:52 am

Don't know about your launcher problem, but I'll say that keeping a low quantity of init and init python in a file is good (at least from my perspective...)

and if you need to make different init python and init files, classify them priority wise using the - or + way...

For eg,

Code: Select all

init -10 python

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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: 6.13.6 sudden crash when opening launcher? (over & over)

#3 Post by PyTom » Tue Oct 18, 2011 12:26 pm

!!!

Do you have a game with something like [MOE] in the title?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Soraminako
Veteran
Posts: 277
Joined: Sun Sep 04, 2011 1:36 am
Projects: A thingie without a title. With messy code.
Contact:

Re: 6.13.6 sudden crash when opening launcher? (over & over)

#4 Post by Soraminako » Tue Oct 18, 2011 3:45 pm

@DragoonHP I was thinking that too, yeah. :? But I'm worried about giving the inits an order and it causing problems if some were supposed to load before others. ^^;

@PyTom: No Moe anywhere in my title. Bizarre, isn't it? XD Actually there shouldn't be any mention of moe at all anywhere, as far as I can remember. O_o It's another mystery... (I attract bizarre crashes. ^^; )
(I drew my avatar especially to express the scary feeling I get from the code as I type it... XD)

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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: 6.13.6 sudden crash when opening launcher? (over & over)

#5 Post by PyTom » Tue Oct 18, 2011 4:29 pm

It's gotta be there somewhere. I'll fix the problem tonight.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Chorvaqueen
Regular
Posts: 109
Joined: Sun Sep 20, 2009 7:41 am
Projects: ID: Recollection
Location: Inverted Castle
Contact:

Re: 6.13.6 sudden crash when opening launcher? (over & over)

#6 Post by Chorvaqueen » Tue Oct 18, 2011 4:30 pm

Ren'Py hates moe.

It's official

*chuckles*

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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: 6.13.6 sudden crash when opening launcher? (over & over)

#7 Post by PyTom » Tue Oct 18, 2011 6:32 pm

Ren'Py loves moe! Or it least it will once I do a little bit of brain surgery to the launcher.

In the mean time, please continue making moeblobs.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Soraminako
Veteran
Posts: 277
Joined: Sun Sep 04, 2011 1:36 am
Projects: A thingie without a title. With messy code.
Contact:

Re: 6.13.6 sudden crash when opening launcher? (over & over)

#8 Post by Soraminako » Tue Oct 18, 2011 6:50 pm

PyTom wrote:Ren'Py loves moe! Or it least it will once I do a little bit of brain surgery to the launcher.

In the mean time, please continue making moeblobs.
Oh, good. XD lol I came just in time to post and admit to the embarrassing realization that I think I know where the "moe" in the error message comes from: The title of the folder in which I put all my wips (and inside a sub-subfolder of which my game projects and other things are also), is named "MOE".
I'd just given it a random title like that, but it can be pretty embarrassing to mention it in a place where people find moe' sounds stupid. XD Glad to hear it's not the case here.

I still have no idea why it's crashing or why it dislikes the title of the folder though. Especially since 6.12 is working fine with all the projects inside that same subfolder of the 'moe' folder... :? But great that you'll get it fixed! :D
(I drew my avatar especially to express the scary feeling I get from the code as I type it... XD)

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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: 6.13.6 sudden crash when opening launcher? (over & over)

#9 Post by PyTom » Tue Oct 18, 2011 9:48 pm

Oh, what's happening is that Ren'Py isn't properly quoting the [moe]. So it's being interpreted as a new-style substitution, which isn't defined, and crashing.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Google [Bot], _ticlock_