Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

19_my_screens.rpy: UnicodeDecodeError: 'utf8' codec can't decode byte 0xab in position 25066: invalid start byte #36

Closed
anon911 opened this issue Feb 26, 2016 · 0 comments

Comments

@anon911
Copy link

@anon911 anon911 commented Feb 26, 2016

I'm sorry, but an uncaught exception occurred.

While parsing C:\Users\Kyle\Downloads\Games\WT_Silver_1.04-win/game/00_hp_rpy/19_my_screens.rpy.
UnicodeDecodeError: 'utf8' codec can't decode byte 0xab in position 25003: invalid start byte

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

Full traceback:
File "C:\Users\Kyle\Downloads\Games\WT_Silver_1.04-win\renpy\bootstrap.py", line 281, in bootstrap
renpy.main.main()
File "C:\Users\Kyle\Downloads\Games\WT_Silver_1.04-win\renpy\main.py", line 351, in main
renpy.game.script.load_script() # sets renpy.game.script.
File "C:\Users\Kyle\Downloads\Games\WT_Silver_1.04-win\renpy\script.py", line 259, in load_script
self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
File "C:\Users\Kyle\Downloads\Games\WT_Silver_1.04-win\renpy\script.py", line 723, in load_appropriate_file
data, stmts = self.load_file(dir, fn + source)
File "C:\Users\Kyle\Downloads\Games\WT_Silver_1.04-win\renpy\script.py", line 538, in load_file
stmts = renpy.parser.parse(fullfn)
File "C:\Users\Kyle\Downloads\Games\WT_Silver_1.04-win\renpy\parser.py", line 2340, in parse
lines = list_logical_lines(fn, filedata, linenumber)
File "C:\Users\Kyle\Downloads\Games\WT_Silver_1.04-win\renpy\parser.py", line 184, in list_logical_lines
data = f.read()
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/codecs.py", line 674, in read
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/codecs.py", line 480, in read
UnicodeDecodeError: 'utf8' codec can't decode byte 0xab in position 25003: invalid start byte

Windows-7-6.1.7601-SP1

Ren'Py 6.99.8.959

After updating code recently found out all the russian comments in the file were translated to just question marks. Deleted the comments and game ran fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.