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

An Exception Has Occured. #38

Open
Suparnovar opened this issue May 22, 2020 · 2 comments
Open

An Exception Has Occured. #38

Suparnovar opened this issue May 22, 2020 · 2 comments

Comments

@Suparnovar
Copy link

After downloading the mod, moving it to the game folder and deleting the script file I turned on the game and got an error message saying that the poem-game_words.txt file couldn't be found. I have checked the mod folder and the file is there.

[code]
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/DDLCtVN-1.5.0/script-poemgame.rpy", line 32, in script
init python:
File "game/DDLCtVN-1.5.0/script-poemgame.rpy", line 52, in
with renpy.file('mod_assets/poem-game_words.txt') as wordfile:
IOError: Couldn't find file 'mod_assets/poem-game_words.txt'.

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

Full traceback:
File "game/DDLCtVN-1.5.0/script-poemgame.rpy", line 32, in script
init python:
File "D:\Games\Steam\steamapps\common\Doki Doki Literature Club\renpy\ast.py", line 814, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "D:\Games\Steam\steamapps\common\Doki Doki Literature Club\renpy\python.py", line 1719, in py_exec_bytecode
exec bytecode in globals, locals
File "game/DDLCtVN-1.5.0/script-poemgame.rpy", line 52, in
with renpy.file('mod_assets/poem-game_words.txt') as wordfile:
File "D:\Games\Steam\steamapps\common\Doki Doki Literature Club\renpy\exports.py", line 1980, in file
return renpy.loader.load(fn)
File "D:\Games\Steam\steamapps\common\Doki Doki Literature Club\renpy\loader.py", line 543, in load
raise IOError("Couldn't find file '%s'." % name)
IOError: Couldn't find file 'mod_assets/poem-game_words.txt'.

Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
Doki Doki, The Normal VN! 1.5.0
[/code]

@bigbenbril
Copy link

Simple fix. I too had the issue, but all you have to do is extract all the things from the mod_assets apart from the poet game words txt document, and then move the file with that in over into the game file. Should work fine after that

@Suparnovar
Copy link
Author

Thanks for the tip. It all seems to be working fine now.

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

No branches or pull requests

2 participants