Starting debug server at port 7891 Use the following code to connect to the debugger: import pydevd_pycharm pydevd_pycharm.settrace('10.11.12.1', port=7891, stdoutToServer=True, stderrToServer=True) Waiting for process connection... Connected to pydev debugger (build 191.6605.12) /vagrant/srv/centralnotice_changes_monitor/centralnotice_changes_monitor/config.py:45: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. _config = yaml.load( stream ) VERBOSE Found 1 configurable:configurable processes running, including this one. (logging.py line 109) Traceback (most recent call last): File "./centralnotice_changes_monitor/bin/centralnotice_changes_monitor", line 61, in alert_pattern_settings = cfg[ 'alert_patterns' ] File "/vagrant/srv/centralnotice_changes_monitor/centralnotice_changes_monitor/controller.py", line 46, in monitor pages_to_monitor = _update_pages_to_monitor_and_emit_alerts( alert_patterns ) File "/vagrant/srv/centralnotice_changes_monitor/centralnotice_changes_monitor/controller.py", line 108, in _update_pages_to_monitor_and_emit_alerts page_manager.set_latest_revisions( banners ) File "/vagrant/srv/centralnotice_changes_monitor/centralnotice_changes_monitor/page_manager.py", line 49, in set_latest_revisions page.latest_revision = latest_revisions[ page.title ] KeyError: 'MediaWiki:Centralnotice-template-test_banner' Waiting for process connection...