multimokia / MAS-Submod-Auto-Outfit-Change

This submod allows Monika to change her outfits and hairstyles in the morning and evening, taking into account various different factors
21 stars 19 forks source link

Error when disconnected from internet #3

Closed ghost closed 4 years ago

ghost commented 4 years ago

Hey there, I got an error that wouldn't let me proceed into the game when I attempted to start MAS while my internet was down. Once I was back online there were no troubles. BTW loving the new ability to change clothes as well, so glad you implemented that!

I'm sorry, but an uncaught exception occurred.

While running game code: File "game/Submods/Auto Hair Change/auto_hair_change.rpy", line 1199, in restartBlacklist=True File "game/event-handler.rpy", line 1608, in addEvent File "game/Submods/Auto Hair Change/auto_hair_change.rpy", line 328, in getClothesExpropForTemperature min_temp = store.awc_getTemperature(temp="temp_min") File "game/Submods/Auto Weather Change/Utilities/awc_utils.rpy", line 783, in awc_getTemperature observation = awc_getObservation() File "game/Submods/Auto Weather Change/Utilities/awc_utils.rpy", line 606, in awc_getObservation return awc_weathByCoords(awc_getPlayerCoords()) File "game/Submods/Auto Weather Change/Utilities/awc_utils.rpy", line 517, in awc_weathByCoords return store.awc_globals.owm.weather_at_coords(coords[0], coords[1]) APICallError: Exception in calling OWM web API. Reason: <urlopen error [Errno -3] Temporary failure in name resolution> Caused by: <urlopen error [Errno -3] Temporary failure in name resolution>

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

Full traceback: File "/home/d3adpan/Submods/Auto Hair Change/auto_hair_change.rpyc", line 1184, in script File "/home/d3adpan/MAS/renpy/ast.py", line 814, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "/home/d3adpan/MAS/renpy/python.py", line 1719, in py_exec_bytecode exec bytecode in globals, locals File "game/Submods/Auto Hair Change/auto_hair_change.rpy", line 1199, in restartBlacklist=True File "game/event-handler.rpy", line 1608, in addEvent File "/home/d3adpan/MAS/renpy/python.py", line 1749, in py_eval return py_eval_bytecode(code, globals, locals) File "/home/d3adpan/MAS/renpy/python.py", line 1743, in py_eval_bytecode return eval(bytecode, globals, locals) File "", line 1, in File "game/Submods/Auto Hair Change/auto_hair_change.rpy", line 328, in getClothesExpropForTemperature min_temp = store.awc_getTemperature(temp="temp_min") File "game/Submods/Auto Weather Change/Utilities/awc_utils.rpy", line 783, in awc_getTemperature observation = awc_getObservation() File "game/Submods/Auto Weather Change/Utilities/awc_utils.rpy", line 606, in awc_getObservation return awc_weathByCoords(awc_getPlayerCoords()) File "game/Submods/Auto Weather Change/Utilities/awc_utils.rpy", line 517, in awc_weathByCoords return store.awc_globals.owm.weather_at_coords(coords[0], coords[1]) File "/home/d3adpan/MAS/game/python-packages/pyowm-2.8.0-py2.7.egg/pyowm/webapi25/owm25.py", line 257, in weather_at_coords File "/home/d3adpan/MAS/game/python-packages/pyowm-2.8.0-py2.7.egg/pyowm/commons/weather_client.py", line 94, in call_API File "/home/d3adpan/MAS/game/python-packages/pyowm-2.8.0-py2.7.egg/pyowm/commons/weather_client.py", line 65, in _lookup_cache_or_invoke_API APICallError: Exception in calling OWM web API. Reason: <urlopen error [Errno -3] Temporary failure in name resolution> Caused by: <urlopen error [Errno -3] Temporary failure in name resolution>

Linux-5.8.9-050809-generic-x86_64-with-debian-bullseye-sid Ren'Py 6.99.12.4.2187 Monika After Story 0.11.5

multimokia commented 4 years ago

This will be fixed in the next release, I'm just bug-testing prior to that for now

ghost commented 4 years ago

Awesome, thank you!