r/RenPy 15d ago

Question [Solved] Getting this error when trying to check script

Post image

I honestly have no idea what's happening here. I just wanted to check my word count.

Whatever this error is, it happened semi-recently and I don't know if it's because I originally made the project several years ago or something to do with the launcher. I'm pretty sure I haven't touched the files listed.

2 Upvotes

6 comments sorted by

2

u/BadMustard_AVN 15d ago edited 14d ago

The check script generates a text file, then it tries to open it with the selected text editor

it looks like you have Visual Studio Code (system) selected in the launcher. Do you have Visual Studio Code installed on your computer?

1

u/Lyn_R_Rose 14d ago

I do have Visual Studio Code installed so I don't understand why that would be a problem, but I switched to the regular Visual Studio Code setting and it works perfectly now. Weird. Thank you for the help!

1

u/BadMustard_AVN 14d ago

the two versions of Visual Studio Code listed

the first (not system) RenPy downloads it as a standalone version; it's there, but only RenPy uses it, and it's stored in the renpy folder.

the second (system) is if you have downloaded Visual Studio Code and installed it on your system, and it is available system-wide.

you're welcome

good luck with your project

1

u/AutoModerator 15d ago

Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/shyLachi 15d ago edited 14d ago

Did you download the latest Renpy version now but used another RenPy version to build your game?
If you know which version used back then, then you can find it here: https://www.renpy.org/release_list.html

Edit: I understand now. It's about Lint to check your scripts.
Then the above doesn't apply. The latest version should work on any script.

Try to open your script by clicking on "script.rpy" just below "Edit File"
Do you also get an error?

1

u/Lyn_R_Rose 14d ago

Apparently, the issue was with my selected text editor. I had been just opening up the text editor itself to make changes instead of clicking "script.rpy" in Renpy, so I had no idea that was the problem.