multimokia / MAS-Submods

Multi's MAS Submods
9 stars 8 forks source link

auto weather submod #19

Closed letoking77 closed 4 years ago

letoking77 commented 4 years ago

for some reason It is not loading awc_citylookup.txt witch is weird because its there were its supposed to be. This happened when I updated the mod from 0.11.3 to 0.11.4 I have reinstalled every thing and the same error has appeared
. awc_citylookup.txt

While running game code: File "game/Submods/Auto Weather Change/game/Submods/Auto Weather Change/Utilities/awc_utils.rpy", line 63, in script init -18 python: File "game/Submods/Auto Weather Change/game/Submods/Auto Weather Change/Utilities/awc_utils.rpy", line 65, in awc_buildCityLookupDict() File "game/Submods/Auto Weather Change/game/Submods/Auto Weather Change/Utilities/awc_utils.rpy", line 531, in awc_buildCityLookupDict with renpy.file(lookup_file) as loc_dat: File "game/Night Music/nightmusic.rpy", line 42, in nm_load raise IOError("Couldn't find file '%s'." % name) IOError: Couldn't find file 'C:/Users/letok/Downloads/ddlc-win (2)/DDLC-1.1.1-pc/game/Submods/Auto Weather Change/Utilities/awc_citylookup.txt'.

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

Full traceback: File "C:\Users\letok\Downloads\ddlc-win (2)\DDLC-1.1.1-pc\renpy\bootstrap.py", line 295, in bootstrap renpy.main.main() File "C:\Users\letok\Downloads\ddlc-win (2)\DDLC-1.1.1-pc\renpy\main.py", line 419, in main game.context().run(node) File "game/Submods/Auto Weather Change/game/Submods/Auto Weather Change/Utilities/awc_utils.rpy", line 63, in script init -18 python: File "C:\Users\letok\Downloads\ddlc-win (2)\DDLC-1.1.1-pc\renpy\ast.py", line 814, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "C:\Users\letok\Downloads\ddlc-win (2)\DDLC-1.1.1-pc\renpy\python.py", line 1719, in py_exec_bytecode exec bytecode in globals, locals File "game/Submods/Auto Weather Change/game/Submods/Auto Weather Change/Utilities/awc_utils.rpy", line 65, in awc_buildCityLookupDict() File "game/Submods/Auto Weather Change/game/Submods/Auto Weather Change/Utilities/awc_utils.rpy", line 531, in awc_buildCityLookupDict with renpy.file(lookup_file) as loc_dat: File "C:\Users\letok\Downloads\ddlc-win (2)\DDLC-1.1.1-pc\renpy\exports.py", line 1980, in file return renpy.loader.load(fn) File "game/Night Music/nightmusic.rpy", line 42, in nm_load raise IOError("Couldn't find file '%s'." % name) IOError: Couldn't find file 'C:/Users/letok/Downloads/ddlc-win (2)/DDLC-1.1.1-pc/game/Submods/Auto Weather Change/Utilities/awc_citylookup.txt'.

multimokia commented 4 years ago

game/Submods/Auto Weather Change/game/Submods/Auto Weather Change/Utilities/awc_utils.rpy

Looks like you have Auto Atmos Change installed twice, one inside the existing install which is why it can't find it.

It's rather likely that the awc_citylookup.txt file is in the inner install, but not the outer one, so it doesn't exist where the game is looking for it.

letoking77 commented 4 years ago

Ok so how do I fix that?

multimokia commented 4 years ago

Delete the /game/Submods/Auto Weather Change folder and reinstall it completely

letoking77 commented 4 years ago

now its saying this: While running game code: ScriptError: Name (u'C:\Users\letok\Downloads\ddlc-win (2)\DDLC-1.1.1-pc/game/submods/Auto Weather Change/game/Submods/Auto Weather Change/Utilities/awc_references.rpy', 1598811265, 0) is defined twice, at game/submods/Auto Weather Change/game/Submods/Auto Weather Change/Utilities/awc_references.rpy:5 and game/submods/Auto Weather Change/game/Submods/Auto Weather Change/Utilities/awc_references.rpy:5.

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

Full traceback: File "C:\Users\letok\Downloads\ddlc-win (2)\DDLC-1.1.1-pc\renpy\bootstrap.py", line 295, in bootstrap renpy.main.main() File "C:\Users\letok\Downloads\ddlc-win (2)\DDLC-1.1.1-pc\renpy\main.py", line 364, in main renpy.game.script.load_script() # sets renpy.game.script. File "C:\Users\letok\Downloads\ddlc-win (2)\DDLC-1.1.1-pc\renpy\script.py", line 265, in load_script self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode) File "C:\Users\letok\Downloads\ddlc-win (2)\DDLC-1.1.1-pc\renpy\script.py", line 753, in load_appropriate_file self.finish_load(stmts, initcode, filename=fn + source) File "C:\Users\letok\Downloads\ddlc-win (2)\DDLC-1.1.1-pc\renpy\script.py", line 419, in finish_load bad_node.filename, bad_node.linenumber)) ScriptError: Name (u'C:\Users\letok\Downloads\ddlc-win (2)\DDLC-1.1.1-pc/game/submods/Auto Weather Change/game/Submods/Auto Weather Change/Utilities/awc_references.rpy', 1598811265, 0) is defined twice, at game/submods/Auto Weather Change/game/Submods/Auto Weather Change/Utilities/awc_references.rpy:5 and game/submods/Auto Weather Change/game/Submods/Auto Weather Change/Utilities/awc_references.rpy:5.

Windows-8-6.2.9200 Ren'Py 6.99.12.4.2187

multimokia commented 4 years ago

Because you still have it installed twice. You still have the same issue as before, Auto Weather Change in Auto Weather Change

letoking77 commented 4 years ago

nvm mind i fixed it its working now thank you

multimokia commented 4 years ago

No problem.