Hi, this morning I opened my ren'py project, and I had a "parsing project error". Apparently I had a wrong ident at the line 5 of my "screen" script. The problem is, line 5 is the very first line of code that's not commented in this script, and that whole area is what's been there since the beginning by default...
I tried indenting it, but then the error moved to the next line, if I had kept this up I probably would have had to indent the whole script.
If anybody has an idea, I'd be grateful.
Indentation error at the very beginning of a script
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.
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.
Re: Indentation error at the very beginning of a script
Attached 2 screenshots of the line that's triggering an error, and the error message.
- Attachments
-
- mismatch.PNG (9.24 KiB) Viewed 772 times
-
- init offset.PNG (3.89 KiB) Viewed 772 times
- hell_oh_world
- Miko-Class Veteran
- Posts: 777
- Joined: Fri Jul 12, 2019 5:21 am
- Contact:
Re: Indentation error at the very beginning of a script
I can't see what's wrong in here. better to post the full traceback here.
Re: Indentation error at the very beginning of a script
Try to delete space at the beginning of first line (it shouldn't be an issue, but...). Also, check if you've actually saved changes made in script file.
Re: Indentation error at the very beginning of a script
Oh my god, that was it, that tiny space at the first commented line... Thank you very much Alex, I didn't even notice it
Who is online
Users browsing this forum: Bing [Bot]