multimokia / MAS-Submod-Auto-Atmos-Change

Allows the weather and suntimes to automatically match your current location
12 stars 5 forks source link

Throws exception after MAS v0.12.10 update. #37

Open RedAISkye opened 1 year ago

RedAISkye commented 1 year ago

The submod is throwing exception after updating MAS to v0.12.10 or higher.

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
multimokia commented 1 year ago

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.