Confused (Error tabs not allowed in Ren'py scripts)

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
dmasterxd
Regular
Posts: 161
Joined: Wed Feb 19, 2014 5:05 pm
Completed: Mage Wars
Projects: Falling Star
Organization: Star Guide
Contact:

Confused (Error tabs not allowed in Ren'py scripts)

#1 Post by dmasterxd »

It says tab characters aren't allowed but I don't have any tab characters. It says on line 26.
Attachments
Here's the error.
Here's the error.
Here's the screenshot, look.
Here's the screenshot, look.

Asceai
Eileen-Class Veteran
Posts: 1258
Joined: Fri Sep 21, 2007 7:13 am
Projects: a battle engine
Contact:

Re: Confused (Error tabs not allowed in Ren'py scripts)

#2 Post by Asceai »

It's impossible to tell from the screenshot if there are tabs in it or not. Upload the file.

User avatar
Reikun
Miko-Class Veteran
Posts: 565
Joined: Tue Dec 20, 2011 9:57 pm
Completed: Mnemonic Devices, Ciikos Bridge, Helena's Flowers, The Madness
Projects: Fox in the Hollyhocks
Organization: skyharborr
itch: skyharborr
Contact:

Re: Confused (Error tabs not allowed in Ren'py scripts)

#3 Post by Reikun »

I suspect you were typing in a different text editor (not straight into jedit/editra) using tabs to indent, then copy/pasting into jedit/editra. You can find & replace by hitting tab in the "find" field and then typing four spaces into the "replace" field and then just replace everything. That should resolve it.
ImageImageImage

fastest way to contact me: DM @skyharborr on twitter

dmasterxd
Regular
Posts: 161
Joined: Wed Feb 19, 2014 5:05 pm
Completed: Mage Wars
Projects: Falling Star
Organization: Star Guide
Contact:

Re: Confused (Error tabs not allowed in Ren'py scripts)

#4 Post by dmasterxd »

Hey thanks guys! Problem solved!

Post Reply

Who is online

Users browsing this forum: Google [Bot]