'ascii' codec can't decode byte 0xe9 in position 12: ordinal

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
User avatar
dragondatingsim
Regular
Posts: 115
Joined: Sat Feb 14, 2015 10:22 am
Tumblr: angelswithscalywings
Contact:

'ascii' codec can't decode byte 0xe9 in position 12: ordinal

#1 Post by dragondatingsim »

A player has reported this strange error:

Error message:

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 390, in script
File "game/script.rpy", line 391, in <module>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 12: ordinal not in range(128)

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "game/script.rpy", line 390, in script
File "C:\Program Files (x86)\Steam\steamapps\common\Angels with Scaly Wings\renpy\ast.py", line 814, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Program Files (x86)\Steam\steamapps\common\Angels with Scaly Wings\renpy\python.py", line 1695, in py_exec_bytecode
exec bytecode in globals, locals
File "game/script.rpy", line 391, in <module>
File "C:\Program Files (x86)\Steam\steamapps\common\Angels with Scaly Wings\renpy\persistent.py", line 469, in MultiPersistent
fn = fn + "/" + name
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 12: ordinal not in range(128)

Used OS: Windows-7-6.1.7601-SP1

Any idea what it could be and how to fix it?

User avatar
dragondatingsim
Regular
Posts: 115
Joined: Sat Feb 14, 2015 10:22 am
Tumblr: angelswithscalywings
Contact:

Re: 'ascii' codec can't decode byte 0xe9 in position 12: ord

#2 Post by dragondatingsim »

These are lines 390 and 391 in the script:

Code: Select all

init python:
    mp = MultiPersistent("awsw")

User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: 'ascii' codec can't decode byte 0xe9 in position 12: ord

#3 Post by xela »

There seem to be a bunch of these file path errors lately, chances are that updating renpy or waiting for the next renpy version will do the trick. This does look a bit odd, there seem to be no weird characters in the path...
Like what we're doing? Support us at:
Image

User avatar
IrinaLazareva
Veteran
Posts: 399
Joined: Wed Jun 08, 2016 1:49 pm
Projects: Legacy
Organization: SunShI
Location: St.Petersburg, Russia
Contact:

Re: 'ascii' codec can't decode byte 0xe9 in position 12: ord

#4 Post by IrinaLazareva »


User avatar
dragondatingsim
Regular
Posts: 115
Joined: Sat Feb 14, 2015 10:22 am
Tumblr: angelswithscalywings
Contact:

Re: 'ascii' codec can't decode byte 0xe9 in position 12: ord

#5 Post by dragondatingsim »


Post Reply

Who is online

Users browsing this forum: Directony, Google [Bot], mivvy