[16:25:15] ERROR 1146 (42S02): Table 'enwiki_p.comments' doesn't exist [16:25:18] wut [16:30:55] no idea whether this is supposedly covered by https://phabricator.wikimedia.org/T174047 [16:33:57] or https://phabricator.wikimedia.org/T215445 [16:39:09] uh typo it's "comment" :) [17:52:52] Hi team, I want to enable the debug mode for flask on toolforge, any ideas how to do this? [18:42:47] FNDE: what have you tired? and what have they resulted? [18:43:31] *tried [18:51:06] zhuyifei1999_: Hi! I tried to use a config file, but it's not working unfortunately. The result was, that nothing happened. I want to activate the debug mode, to avoid restarting the webservice if I change the code. [18:51:26] which config file did you change? [18:51:43] and did you make flask load the config? [18:52:49] FNDE: ^ [18:59:41] I created a config.yaml and imported this file in my app.py [19:00:05] zhuyifei1999_ . [19:00:32] what do you mean by import it? yaml.load? [19:01:02] did you assign to app.config? [19:35:59] zhuyifei1999_: yes, I did this: [19:36:03] app.config.update(yaml.safe_load(open(os.path.join(__dir__, 'config.yaml')))) [19:37:19] that should work in theory [19:37:29] unless uwshi is messing with it [19:37:33] *uwsgi [19:38:25] yeah that is likely the case https://stackoverflow.com/a/10460399 [19:38:51] see if https://stackoverflow.com/a/17839750 helps [19:45:00] zhuyifei1999_ thank you I'll check that