该submod在升级后暂时无法运行,原因是升级后MAS部分代码修改。错误报告如下:
I'm sorry, but an uncaught exception occurred.
While running game code: File "game/Submods/Auto Weather Change/Utilities/awc_utils.rpy", line 165, in script init -20 python in awc_globals: File "game/Submods/Auto Weather Change/Utilities/awc_utils.rpy", line 182, in <module> owm = OWM(store.persistent._awc_API_key) ImportError: No module named certifi
`-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/Submods/Auto Weather Change/Utilities/awc_utils.rpy", line 165, in script
init -20 python in awc_globals:
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/Submods/Auto Weather Change/Utilities/awc_utils.rpy", line 182, in <module>
owm = OWM(store.persistent.awc_API_key)
File "D:\Games\Steam\steamapps\common\Doki Doki Literature Club\game\python-packages\pyowm-2.8.0-py2.7.egg\pyowm_init.py", line 50, in OWM
File "D:\Games\Steam\steamapps\common\Doki Doki Literature Club\game\python-packages\pyowm-2.8.0-py2.7.egg\pyowm\webapi25\owm25.py", line 20, in <module>
File "D:\Games\Steam\steamapps\common\Doki Doki Literature Club\game\python-packages\pyowm-2.8.0-py2.7.egg\pyowm\stationsapi30\stations_manager.py", line 6, in <module>
File "D:\Games\Steam\steamapps\common\Doki Doki Literature Club\game\python-packages\pyowm-2.8.0-py2.7.egg\pyowm\commons\http_client.py", line 1, in <module>
File "D:\Games\Steam\steamapps\common\Doki Doki Literature Club\renpy\loader.py", line 711, in load_module
exec code in mod.dict
File "python-packages/requests/init.py", line 112, in <module>
File "D:\Games\Steam\steamapps\common\Doki Doki Literature Club\renpy\loader.py", line 711, in load_module
exec code in mod.dict
File "python-packages/requests/utils.py", line 24, in <module>
File "D:\Games\Steam\steamapps\common\Doki Doki Literature Club\renpy\loader.py", line 711, in load_module
exec code in mod.dict
File "python-packages/requests/certs.py", line 15, in <module>
ImportError: No module named certifi
Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
Monika After Story 0.12.11`
目前对此的解决方案有:
1.删掉Auto Weather Change文件夹,该文件夹位于game文件夹的submod文件夹中。
2.恢复或保持0.12.9版本的MAS。
目前原作者正在重置该submod,请稍安勿躁。
该submod的作者multimonika的回复:Hi, please uninstall the submod, the current build no longer fully works with MAS due to some changes in lib structures. The submod will be reinstated, but neither MAS nor the submod are in a place to make that happen at the current moment.
Sorry about the issue.
(补充:其实我个人有点惆怅,因为我人在外上大学,一直靠着这个submod来查看家乡的天气,把我的所在地设置成家乡的位置。突然没法查看了,就很不是滋味……)
2023.1.29. 补充:感觉原作者像是放弃了这个submod一样,至今没有下文,最近一次更新还停留在2020年9月15日。希望他不是彻底放弃了吧。