2022/12/22

2022-12-22 00:06:10 +0100mncheck(~mncheck@193.224.205.254) (Ping timeout: 260 seconds)
2022-12-22 00:06:33 +0100sogens(sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.7.1)
2022-12-22 00:17:04 +0100sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-12-22 00:40:48 +0100sogens(sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.7.1)
2022-12-22 01:03:04 +0100[Leary](~Leary]@user/Leary/x-0910699) (Remote host closed the connection)
2022-12-22 01:04:21 +0100[Leary](~Leary]@user/Leary/x-0910699)
2022-12-22 01:17:08 +0100jabuxas(~jabuxas@user/jabuxas)
2022-12-22 01:24:11 +0100jludwig(~justin@li657-110.members.linode.com) (Remote host closed the connection)
2022-12-22 01:24:25 +0100jludwig(~justin@li657-110.members.linode.com)
2022-12-22 01:28:15 +0100sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-12-22 01:56:20 +0100sogens(sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 272 seconds)
2022-12-22 02:49:16 +0100sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-12-22 03:39:28 +0100sogens(sogens@gateway/vpn/protonvpn/sogens) (Remote host closed the connection)
2022-12-22 03:49:30 +0100jabuxas(~jabuxas@user/jabuxas) (Quit: WeeChat 3.6)
2022-12-22 04:04:23 +0100banc-(banc@gateway/vpn/protonvpn/banc) (Ping timeout: 246 seconds)
2022-12-22 04:26:22 +0100banc(banc@gateway/vpn/protonvpn/banc)
2022-12-22 04:28:08 +0100td_(~td@83.135.9.45) (Ping timeout: 252 seconds)
2022-12-22 04:30:06 +0100td_(~td@83.135.9.52)
2022-12-22 04:33:59 +0100sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-12-22 04:38:43 +0100sogens_(sogens@gateway/vpn/protonvpn/sogens)
2022-12-22 04:39:11 +0100sogens(sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 264 seconds)
2022-12-22 06:34:28 +0100sogens_(sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.7.1)
2022-12-22 06:35:57 +0100sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-12-22 07:28:34 +0100sogens(sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 260 seconds)
2022-12-22 08:35:07 +0100mncheckm(~mncheck@193.224.205.254)
2022-12-22 08:41:42 +0100sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-12-22 08:55:07 +0100redgloboli(~redglobol@user/redgloboli) (Quit: ...enter the matrix...)
2022-12-22 08:57:19 +0100redgloboli(~redglobol@user/redgloboli)
2022-12-22 09:12:38 +0100mncheckm(~mncheck@193.224.205.254) (Remote host closed the connection)
2022-12-22 09:12:57 +0100mncheck(~mncheck@193.224.205.254)
2022-12-22 09:55:23 +0100sogens(sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 264 seconds)
2022-12-22 10:49:31 +0100banc(banc@gateway/vpn/protonvpn/banc) (Quit: Bye, bye)
2022-12-22 10:49:50 +0100banc(banc@gateway/vpn/protonvpn/banc)
2022-12-22 10:52:46 +0100thunderrd_(~thunderrd@183.182.111.27) (Ping timeout: 272 seconds)
2022-12-22 10:53:39 +0100sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-12-22 10:55:59 +0100Teachmehow(~Teachmeho@2400:1a00:b060:8381:ce36:e8c8:544a:b190)
2022-12-22 10:56:40 +0100Teachmehow(~Teachmeho@2400:1a00:b060:8381:ce36:e8c8:544a:b190) (Client Quit)
2022-12-22 10:57:19 +0100Teachmehow(~Teachmeho@2400:1a00:b060:8381:ce36:e8c8:544a:b190)
2022-12-22 11:05:17 +0100thunderrd_(~thunderrd@183.182.115.209)
2022-12-22 11:42:38 +0100ask-yourself[m](~ask-yours@2001:470:69fc:105::2:e38d)
2022-12-22 11:51:53 +0100Teachmehow(~Teachmeho@2400:1a00:b060:8381:ce36:e8c8:544a:b190) (Ping timeout: 260 seconds)
2022-12-22 12:14:59 +0100AskYourself[m](~ask-yours@2001:470:69fc:105::2:9793) ()
2022-12-22 15:55:52 +0100thunderrd_(~thunderrd@183.182.115.209) (Ping timeout: 252 seconds)
2022-12-22 16:09:08 +0100thunderrd_(~thunderrd@183.182.115.204)
2022-12-22 16:34:15 +0100mvk(~mvk@2607:fea8:5ce3:8500::6126)
2022-12-22 16:34:46 +0100mvk(~mvk@2607:fea8:5ce3:8500::6126) (Client Quit)
2022-12-22 16:38:41 +0100mncheck(~mncheck@193.224.205.254) (Ping timeout: 246 seconds)
2022-12-22 16:47:12 +0100mncheckm(~mncheck@193.224.205.254)
2022-12-22 17:01:28 +0100sagax(~sagax_nb@user/sagax) (Remote host closed the connection)
2022-12-22 19:33:33 +0100landakram(~landakram@75.111.85.210)
2022-12-22 19:39:00 +0100 <landakram> Hi there, I just switched to xmonad. Things are working well, but I'm having a problem with recompile. Recompiling with "M-q" does not work. When I look at `xsession-errors`, I see the following:
2022-12-22 19:39:00 +0100 <landakram> ```
2022-12-22 19:39:01 +0100 <landakram> XMonad will use stack ghc --stack-yaml "/home/user/.config/xmonad/stack.yaml" to recompile.
2022-12-22 19:39:01 +0100 <landakram> XMonad recompiling (forced).
2022-12-22 19:39:02 +0100 <landakram> xmonad: /home/user/.local/share/xmonad/xmonad.errors: withFile: does not exist (No such file or directory)
2022-12-22 19:39:02 +0100 <landakram> ```
2022-12-22 19:39:03 +0100 <landakram> I've tracked the error down to this line in the `compile` function in xmonad: https://github.com/xmonad/xmonad/blob/master/src/XMonad/Core.hs#L653-L663
2022-12-22 19:39:03 +0100 <landakram> The errFileName "xmonad.errors" *does* exist and in fact has the first build command written to it. It appears to fail when writing the second build command (`stack gch stack.yaml ...`)
2022-12-22 19:39:04 +0100 <landakram> Strangely, running `xmonad --recompile` in a shell works fine.
2022-12-22 19:39:04 +0100 <landakram> Does anyone have any ideas about what might be happening?
2022-12-22 19:53:25 +0100 <geekosaur> hm. looks fine to me. liskin? git blame says you last touched that code
2022-12-22 19:59:15 +0100landakram(~landakram@75.111.85.210) (Quit: Client closed)
2022-12-22 19:59:20 +0100Guest91(~Guest91@staticline-31-183-95-59.toya.net.pl)
2022-12-22 19:59:28 +0100Guest91(~Guest91@staticline-31-183-95-59.toya.net.pl) (Client Quit)
2022-12-22 20:01:20 +0100landakram(~landakram@75.111.85.210)
2022-12-22 20:02:47 +0100 <liskin> landakram: but that withFile is around both commands, how can it fail in the middle?
2022-12-22 20:03:30 +0100 <landakram> I'm not sure... maybe on the hFlush?
2022-12-22 20:07:46 +0100 <geekosaur> I don't think that would have the filename; the original withFile would have to be what was failing
2022-12-22 20:08:08 +0100 <geekosaur> note that the "XMonad recompiling (forced) is form tracem not withFile
2022-12-22 20:08:14 +0100 <geekosaur> *from trace, not
2022-12-22 20:09:13 +0100 <geekosaur> the handle opened by withFile is only used for the `ghc`/`stack ghc`/`build` actions
2022-12-22 20:10:26 +0100 <geekosaur> oh, I see, right, two actions there
2022-12-22 20:11:54 +0100 <geekosaur> the other oddity is that it should create xmonad.errors if it doesn't exist, so the error implies the directory containing it doesn't exist
2022-12-22 20:24:59 +0100 <geekosaur> landakram, are you looking at the beginning or the end of .xsession-errors? That file usually gets appended to, whereas xmonad.errors is recreated each time
2022-12-22 20:38:25 +0100 <landakram> I'm tailing xsession-errors, so it's the output that is appended when I run "M-q". I even tried removing xmonad.errors before running, and I observed that the file gets recreated and the first command is written to it
2022-12-22 20:53:37 +0100landakram(~landakram@75.111.85.210) (Quit: Client closed)
2022-12-22 20:57:11 +0100ask-yourself[m](~ask-yours@2001:470:69fc:105::2:e38d) ()
2022-12-22 21:08:24 +0100landakram(~landakram@75.111.85.210)
2022-12-22 21:09:22 +0100 <landakram> I'm running on HEAD of master btw. Let me try the latest tagged version and report back
2022-12-22 21:09:56 +0100AskYourself[m]1(~askyourse@2001:470:69fc:105::2:e3ed)
2022-12-22 21:10:01 +0100 <geekosaur> pretty sure there are no changes in master
2022-12-22 21:10:13 +0100 <geekosaur> the core doesn't change very often
2022-12-22 21:28:48 +0100landakram(~landakram@75.111.85.210) (Ping timeout: 260 seconds)
2022-12-22 21:35:58 +0100mc47(~mc47@xmonad/TheMC47)
2022-12-22 21:47:52 +0100sogens(sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 252 seconds)
2022-12-22 22:18:59 +0100mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2022-12-22 22:19:11 +0100mc47(~mc47@xmonad/TheMC47)
2022-12-22 22:20:39 +0100mc47(~mc47@xmonad/TheMC47) (Client Quit)
2022-12-22 22:45:03 +0100landakram(~landakram@75.111.85.210)
2022-12-22 23:02:15 +0100landakram(~landakram@75.111.85.210) (Quit: Client closed)
2022-12-22 23:04:51 +0100landakram(~landakram@75.111.85.210)
2022-12-22 23:05:31 +0100 <landakram> unfortunately, as expected, using the tagged version 0.17.1 makes no difference. So strange...
2022-12-22 23:16:24 +0100 <geekosaur> hm. so it might actually be the hFlush after all: withFile gets recorded as the origin of the Handle
2022-12-22 23:16:40 +0100 <geekosaur> wish it'd actually say it's the flush in that case though
2022-12-22 23:16:46 +0100geekosaurstill digging
2022-12-22 23:18:21 +0100 <geekosaur> but hFlush can't throw that error. it can throw a permission error but not DoesNotExistError
2022-12-22 23:22:30 +0100 <geekosaur> and withFile can't throw after outputting that first line
2022-12-22 23:45:43 +0100 <landakram> I added in some calls to `hPutStrLn` and `hFlush` to try and debug further (recompiled using a shell). It looks like my logs after `createProcess_` don't get flushed, but the ones before that do. This makes me think the handle is being closed with that call, but the docs explicitly state that it shouldn't be...  perhaps the `stack build --silent
2022-12-22 23:45:43 +0100 <landakram> ...` command is failing for some reason, and so the handle is being closed prematurely
2022-12-22 23:48:01 +0100sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-12-22 23:54:45 +0100 <geekosaur> but if it were, why would it work from a shell?
2022-12-22 23:58:19 +0100 <landakram> haha i dunno :P