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.
I'll keep working on it myself and try to figure out what's going on, but if somebody can explain what's going wrong before I figure it out myself, I'd appreciate it!
Code: Select all
Parsing Error: An uncaught exception occurred: While parsing, scriptfileinquestion.rpy contains a tab character on line ###. Tab characters are not allowed in Ren'Py scripts.
There's really no details given. I use Editra and I THINK Editra automatically turns tabs into 4 spaces, because I've never had an issue with pressing Tab and my script running before this point, as I already stated quite clearly in my initial post. (Not trying to sound passive-aggressive, just pointing out I already addressed this point of yours.)
The problem is that I'm having trouble with the same lines even AFTER I delete the Tabs and replace them with spaces manually. Renpy, in some situations, is even mistaking 4 spaces as a Tab. It's POSSIBLE this is an Editra error, but that's why I thought I'd ask. Surely somebody else uses the default text editing program Renpy came with and has had this issue and knows if it is an Editra-side or Ren'Py-side error, what to do about it, and [what is causing]/[how to prevent] the issue in the first place. (I didn't originally mention Editra, because I didn't initially consider the idea that it was Editra converting Tabs into spaces. I was assuming Ren'Py just understood the indentation. That said, it should still be clear that it's a software-side not user-side cause.)
It's worth noting I've been spending the past half hour fixing and RE-fixing the same lines repeatedly. Some stay "fixed". Others keep returning the error. There seems to be no rhyme or reason to it. It also randomly started at line 350-something, meaning there were that many lines with actual "Tab" pressed that were NOT returning the error. Also, Ren'Py is only returning the error on one line at a time. So, I don't have a list of lines with the error, just get told one-by-one which are errored.
Haveing an editor where you can see spaces vs. tabs might help you ....