Make sense, Lint! MAKE SENSE!

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
Furu.dk
Newbie
Posts: 3
Joined: Tue Dec 26, 2006 7:37 pm
Contact:

Make sense, Lint! MAKE SENSE!

#1 Post by Furu.dk »

Okay. Ren'py is my friend and has it's own way of alerting me when someting is wrong-- not launching the game so I can play-test it, which I do quite a bit. (Though it lies and says it is launched when it does this, which last night made me yell at it Rena-style from lack of sleep. ^_^;; ) When this happens, I use Lint to check what's wrong. And usually it's just me forgetting a quote sign or an identation problem.

But now, once I put together my first menu and it won't launch, Lint is making no sense. This is what it tells me:

ParseError: On line 187 of [where it is omitted, it's the directory]: caption menuitem does not expect a block.

"Go and see what's there."
^

Um, does anyone know what the hell this means? Also, is there a list of lint error messages and what they mean so I don't have this translation issue again?
My current project is "After the Rain"... and it's no where near done. ^^;;

User avatar
PyTom
Ren'Py Creator
Posts: 16096
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:

#2 Post by PyTom »

This probably means you left out a colon at the end of a menu choice line. You get this if you write:

Code: Select all

menu:
    "Yes"
          "Good for you!"
    "No":
          "Too bad!"
instead of

Code: Select all

menu:
    "Yes":
          "Good for you!"
    "No":
          "Too bad!"
leaving out the colon at the end of the first line.

Sorry, no list of lint messages exists at this time. (That's a parse error, rather than a lint error, anyway.)

Furu.dk
Newbie
Posts: 3
Joined: Tue Dec 26, 2006 7:37 pm
Contact:

#3 Post by Furu.dk »

Oooh! =o I didn't know you had to do that ^///^;;

Thanks so much!
My current project is "After the Rain"... and it's no where near done. ^^;;

Post Reply

Who is online

Users browsing this forum: No registered users