00:13:46 -!- dulot_34_ is now known as dulo_t-34_ 00:14:19 -!- dulo_t-34_ is now known as dulo_t-34 00:31:33 Fork (bcrawl) on crawl.kelbi.org updated to: 0.23-a0-4850-gd9e8576752 00:53:59 Monster database of master branch on crawl.develz.org updated to: 0.30-a0-339-g89bb51ec76 04:21:09 Experimental (bcrawl) branch on underhound.eu updated to: 0.23-a0-4850-gd9e8576752 04:39:24 Webtiles server stopped. 04:41:23 Webtiles server stopped. 04:41:24 Webtiles server started. 04:42:16 Webtiles server stopped. 04:42:17 Webtiles server started. 04:42:26 Webtiles server stopped. 04:42:27 Webtiles server started. 04:43:28 Webtiles server stopped. 04:43:29 Webtiles server started. 04:45:00 Webtiles server stopped. 04:45:01 Webtiles server started. 04:48:10 Webtiles server stopped. 04:48:11 Webtiles server started. 04:48:19 Webtiles server stopped. 04:48:20 Webtiles server started. 04:48:55 Webtiles server stopped. 04:48:56 Webtiles server started. 04:55:15 <03T​Zer0> Hey, so with some recent update, webtiles is refusing to run with the old tornado version, is there any modification I need to do to the webtiles init.d file to fix this? 04:55:26 <03T​Zer0> I assume I wouldn't be running the server with just python server.py? 04:58:03 <03T​Zer0> (do @ me if you reply) 05:54:37 <06a​dvil> @TZer0 what's the error? 05:55:23 <06a​dvil> to update tornado, you should use python 3, and just install a current version of tornado via pip that matches that python version. (Also make sure your python lib for that version is duplicated into the chroot) 05:59:42 Webtiles server stopped. 05:59:43 Webtiles server started. 06:01:49 <03T​Zer0> Nothing. The server launches, says it is listening and then terminates at once 06:01:56 <03T​Zer0> I've tried running it with both Python 2.7 and 3.5 06:02:30 <06a​dvil> can you pastebin the whole startup log? 06:02:50 Webtiles server stopped. 06:02:51 Webtiles server started. 06:03:02 <03T​Zer0> No need, it is literally five lines 06:03:04 <03T​Zer0> 022-10-31 13:02:49,495 INFO: Loaded server configuration from: /home/crawl/DGL/crawl-master/webserver/config.py 2022-10-31 13:02:49,496 INFO: Reading 74 games from config module 2022-10-31 13:02:49,496 WARN: Skipping game definitions in `games.d/` based on config 2022-10-31 13:02:49,519 WARN: Removing stale pidfile /crawl-master/webserver/run/webtiles.pid 2022-10-31 13:02:49,524 INFO: Listening on 0.0.0.0:8080 06:05:20 <06a​dvil> can you try running it, from the webserver directory, via sudo ./crawl --live-debug and see if there's some error not showing in the log? 06:05:53 <06a​dvil> (I assume that 0.0.0.0 IP address is right for some reason..) 06:06:11 <06a​dvil> er 06:06:29 <06a​dvil> `sudo python3 ./server.py --live-debug 06:06:41 <06a​dvil> heh 06:11:14 <03T​Zer0> Hmm, get a trace ending with File "/usr/local/lib/python3.5/dist-packages/tornado/ioloop.py", line 272, in current ImportError: No module named 'tornado.platform' 06:11:38 <06a​dvil> ahh 06:11:56 <06a​dvil> so that might happen if /usr/local/lib/python3.5/ is not duplicated into the chroot 06:12:13 <03T​Zer0> ah, right, sec 06:12:39 <06a​dvil> this wasn't necessary for old tornado versions but it is now (and possibly other regular python modules) 06:20:16 Webtiles server stopped. 06:21:47 <03T​Zer0> Okay, the server is running. 06:22:21 <06a​dvil> great 06:22:27 <06a​dvil> wonder why it didn't log here 06:22:54 <03T​Zer0> Because the service file is probably wrong now 06:26:37 <03T​Zer0> Where do we get the /etc/init.d/webtiles-file from again? 06:27:09 <06a​dvil> it's in dgamelaunch-config/utils 06:27:34 <06a​dvil> iirc dglconfig does template that file so that's the one you should edit before running a dglconfig install command 06:28:43 <03T​Zer0> Right, so I changed this line: PYTHONPATH=/home/crawl-dev/tornado/ python ./server.py to python3 ./server.py --live 06:29:06 -!- tiobot is now known as Guest243 06:29:34 <03T​Zer0> (I also copied the tornado-files into the appropriate place in the chroot) 06:29:52 <06a​dvil> hrm, I don't think you want --live 06:30:35 <06a​dvil> live-debug mode is for running the server in place with the default config for testing purposes 06:30:42 Webtiles server started. 06:30:59 <06a​dvil> (it works safely in parallel with an existing server if you change the port, so can be used to test out config changes) 06:31:06 <03T​Zer0> 2022-10-31 13:30:41,268 INFO: Webserver running without a blocking call timeout. 06:31:14 <06a​dvil> yeah, that's normal 06:31:19 Webtiles server stopped. 06:31:20 Webtiles server started. 06:31:40 <03T​Zer0> And the process dies. 06:32:38 <06a​dvil> any errors this time? 06:32:42 <03T​Zer0> Nope 06:33:53 Webtiles server stopped. 06:33:54 Webtiles server started. 06:36:58 <06a​dvil> I'm guessing there is an exception being raised but it's not being logged 06:37:33 <06a​dvil> not sure why live-debug mode would work though 06:46:38 03advil02 07* 0.30-a0-340-g7915c1070c: fix: better log exceptions during webtiles startup 10(2 minutes ago, 1 file, 62+ 55-) 13https://github.com/crawl/crawl/commit/7915c1070c07 06:46:39 <06a​dvil> @TZer0 can you do a rebuild with that commit and try again? 06:47:38 <03T​Zer0> Ok 06:49:09 <06a​dvil> or just manually install the updated server.py to more quickly try 07:04:11 Unstable branch on crawl.kelbi.org updated to: 0.30-a0-340-g7915c1070c (34) 07:10:55 Unstable branch on underhound.eu updated to: 0.30-a0-340-g7915c1070c (34) 07:14:41 Webtiles server stopped. 07:14:42 Webtiles server started. 07:15:02 Webtiles server stopped. 07:15:03 Webtiles server started. 07:15:27 <03T​Zer0> @advil 2022-10-31 14:15:02,060 ERROR: Server startup failed! Traceback (most recent call last): File "/home/crawl/DGL/crawl-master/webserver/webtiles/server.py", line 714, in run File "/home/crawl/DGL/crawl-master/webserver/webtiles/process_handler.py", line 96, in watch_socket_dirs NameError: name 'game_param' is not defined 07:17:34 <06a​dvil> ah, try that 07:18:13 03advil02 07* 0.30-a0-341-g682706514a: fix: missing module 10(72 seconds ago, 1 file, 1+ 1-) 13https://github.com/crawl/crawl/commit/682706514a06 07:33:56 <06a​dvil> (^ @TZer0) 07:34:17 Unstable branch on crawl.kelbi.org updated to: 0.30-a0-341-g682706514a (34) 07:41:43 <06a​dvil> new cao config after the changes: https://github.com/crawl/dgamelaunch-config/blob/cao/config.py#L46 07:44:30 <06a​dvil> (still tweaking it a bit) 07:44:31 Unstable branch on underhound.eu updated to: 0.30-a0-341-g682706514a (34) 07:46:21 Webtiles server stopped. 07:46:22 Webtiles server started. 07:46:45 <03T​Zer0> Yeah, was rebuilding already, that did the trick. 07:49:40 <06a​dvil> great 07:50:33 <06a​dvil> upside of recent changes is hopefully much more maintainable config, you happened to restart at an unlucky time though 07:50:59 <06a​dvil> I do wish there were a way to version webserver separately from trunk 08:04:20 hem-hem so do we # also thanks for the Tornado 5+ / python 3 work 08:11:00 <06a​dvil> well if you aren't running regular dcss at all, it seems more doable (though maybe you are) 08:12:05 Even so I'd much rather test against _your_ webserver - that's what our webtiles actually runs on everywhere. 08:12:15 (in practice I do but it's just fiddlier) 09:20:08 <06a​dvil> I wonder if there's really a need for distinct inprogress_path values per game mode 09:21:10 <06a​dvil> I suspect not a lot of people want to play regular and sprint at the same time 10:27:13 -!- ssm__ is now known as ssm_ 13:47:42 Spacebear (L15 MfGl) ASSERT(mons.type != MONS_NO_MONSTER) in 'mon-death.cc' at line 2571 failed. (Swamp:1) 14:30:22 Spacebear (L15 MfGl) ASSERT(mons.type != MONS_NO_MONSTER) in 'mon-death.cc' at line 2571 failed. (Swamp:1) 15:01:11 <06a​dvil> !crashlog 15:01:13 <04C​erebot> 24782. Spacebear, XL15 MfGl, T:26437 (milestone): http://crawl.akrasiac.org/rawdata/Spacebear/crash-Spacebear-20221031-213021.txt 15:01:43 <06a​dvil> wow, I haven't seen someone using a fakelang in ages 15:09:17 <10P​leasingFungus> sad! 15:27:28 <06a​dvil> !crashlog -2 15:27:30 <04C​erebot> No milestones for -2 (crash). 15:27:37 <06a​dvil> !lm * crash -2 -log 15:27:37 <04C​erebot> 25957/25958. Spacebear, XL15 MfGl, T:26343 (milestone): http://crawl.akrasiac.org/rawdata/Spacebear/crash-Spacebear-20221031-204741.txt 15:42:20 <09g​ammafunk> you'll have to get off your butt and make a new one 23:14:39 Unstable branch on cbro.berotato.org updated to: 0.30-a0-341-g682706514a (34)