2023/08/13

2023-08-13 00:17:47 +0200Rydwxz(~rw@cpe-75-82-51-90.socal.res.rr.com)
2023-08-13 00:22:45 +0200 <Rydwxz> my xmobar seems to have successfully compiled but still won't run. "stack exec xmobar" and "xmobar" commands now return "xmobar: ~/rw/.config/xmobar/xmobar: executeFile: permission denied (Permission denied)
2023-08-13 00:23:52 +0200 <Rydwxz> I checked .local/bin/xmobar and it has executable permissions active.
2023-08-13 00:29:16 +0200 <geekosaur> try running ldd on it
2023-08-13 00:39:30 +0200 <geekosaur> tbh last time I heard about something like this happening it was a weird nix thing that required use of patchelf
2023-08-13 00:46:40 +0200 <Rydwxz> like "ldd .local/bin/xmobar" ? that gives a long list of stuff that all starts with lib
2023-08-13 00:47:21 +0200 <geekosaur> right, but at the very top there should be one that starts with ld-linux
2023-08-13 00:47:30 +0200 <geekosaur> does that file excist and is it executable?
2023-08-13 00:47:42 +0200 <Rydwxz> yes it says linux-vdso.so.1
2023-08-13 01:01:57 +0200 <geekosaur[c]> Actually I wanted the one executeFile is complaining about
2023-08-13 01:04:29 +0200 <Rydwxz> well it seems to be complaining about .config/xmobar/xmobar which is the directory of the stack project of the library. not a file.
2023-08-13 01:05:24 +0200 <Rydwxz> i don't see anything called executeFile in there
2023-08-13 01:06:09 +0200 <geekosaur[c]> Sigh. Look at the error message
2023-08-13 01:07:07 +0200 <geekosaur[c]> executeFile is a function which is throwing an exception about a file
2023-08-13 01:08:43 +0200 <Rydwxz> xmobar.hs needs to be executable?
2023-08-13 01:10:14 +0200 <Rydwxz> sorry i'm not following. the error message doesn't show a path to a file
2023-08-13 01:13:24 +0200 <geekosaur> "xmobar: ~/rw/.config/xmobar/xmobar: executeFile …"
2023-08-13 01:13:35 +0200 <geekosaur> oh wait
2023-08-13 01:13:58 +0200 <geekosaur> "~" is a shell-ism, how did it get in there
2023-08-13 01:14:24 +0200 <geekosaur> (sorry I was trying to do this on my phone, which is like beating myself in the head with a spiked club…)
2023-08-13 01:15:27 +0200 <Rydwxz> i just typed it wrong i didn't copypaste
2023-08-13 01:17:02 +0200 <geekosaur> oh
2023-08-13 01:17:16 +0200 <geekosaur> anyway that is the file that is raising the error
2023-08-13 01:17:24 +0200 <Rydwxz> but
2023-08-13 01:17:27 +0200 <Rydwxz> it's not a file
2023-08-13 01:17:34 +0200 <geekosaur> then that's the problem
2023-08-13 01:17:59 +0200 <Rydwxz> that doesn't make any sense
2023-08-13 01:18:15 +0200 <geekosaur> unfortunately I can't help from there as I don't know how xmobar decides where to put and how to refer to the compiled config
2023-08-13 01:18:38 +0200 <geekosaur> (I don't use xmobar. Solid, you around by any chance?)
2023-08-13 01:20:38 +0200 <geekosaur> ~/.local/bin/xmobar compiles your config and saves it somewhere, then attempts to executeFile the result
2023-08-13 01:21:48 +0200 <geekosaur> it looks reasonable (aside from it not really belonging under .config; it should be .cache) that ~/.config/xmobar is a directory and ~/.config/xmobar/xmobar an executable within it
2023-08-13 01:23:01 +0200 <Rydwxz> i think i'm still using stack wrong
2023-08-13 01:24:28 +0200 <geekosaur> this isn't related to stack, it's something xmobar itself does
2023-08-13 01:24:49 +0200 <Rydwxz> it's trying to open the wrong file because it's been linked incorrectly
2023-08-13 01:24:55 +0200 <Rydwxz> idk
2023-08-13 01:26:09 +0200 <Rydwxz> if I got without xmobar.hs, it runs OK.
2023-08-13 01:26:45 +0200 <Rydwxz> so it really looks like my import Xmobar line is still failing
2023-08-13 02:37:45 +0200ft(~ft@87.122.8.54) (Ping timeout: 244 seconds)
2023-08-13 02:39:34 +0200ft(~ft@i59F54223.versanet.de)
2023-08-13 04:27:24 +0200td_(~td@i53870938.versanet.de) (Ping timeout: 248 seconds)
2023-08-13 04:29:30 +0200td_(~td@i53870924.versanet.de)
2023-08-13 05:00:03 +0200haasn`(~nand@haasn.dev) (Quit: ZNC 1.7.5+deb4 - https://znc.in)
2023-08-13 06:47:09 +0200zieo(~zieo@64.42.177.149)
2023-08-13 06:48:36 +0200zieo(~zieo@64.42.177.149) (Client Quit)
2023-08-13 07:01:11 +0200 <Rydwxz> so I used a really fun command, 'sudo pacman -Rsn $(pacman -Qqs haskell)' to remove every single haskell package from the system. then i got ghcup-hs-bin from the AUR and used THAT to compile stack (and cabal and hls) and used THAT version of stack to recompile xmonad and xmobar and THIS finally appears to have worked, it compiled my xmobar.hs!!!
2023-08-13 07:03:34 +0200 <Rydwxz> that only took,What, 9 days, four different installation methods? hope it stays unbroken lol but i'll probably break it trying to implement https://github.com/angs/xmobar-braillebars
2023-08-13 07:24:08 +0200Rydwxz(~rw@cpe-75-82-51-90.socal.res.rr.com) (Quit: Lost terminal)
2023-08-13 08:44:28 +0200xmonadtrack(~xmonadtra@user/geekosaur/bot/xmonadtrack) (Ping timeout: 248 seconds)
2023-08-13 08:45:17 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Ping timeout: 260 seconds)
2023-08-13 09:10:09 +0200geekosaur(~geekosaur@xmonad/geekosaur)
2023-08-13 09:11:27 +0200xmonadtrack(~xmonadtra@098-123-182-138.biz.spectrum.com)
2023-08-13 09:11:42 +0200xmonadtrack(~xmonadtra@098-123-182-138.biz.spectrum.com) (Changing host)
2023-08-13 09:11:42 +0200xmonadtrack(~xmonadtra@user/geekosaur/bot/xmonadtrack)
2023-08-13 09:15:41 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Read error: Connection reset by peer)
2023-08-13 09:16:02 +0200geekosaur(~geekosaur@xmonad/geekosaur)
2023-08-13 09:16:20 +0200xmonadtrack(~xmonadtra@user/geekosaur/bot/xmonadtrack) (Ping timeout: 256 seconds)
2023-08-13 09:17:28 +0200xmonadtrack(~xmonadtra@098-123-182-138.biz.spectrum.com)
2023-08-13 09:17:43 +0200xmonadtrack(~xmonadtra@098-123-182-138.biz.spectrum.com) (Changing host)
2023-08-13 09:17:43 +0200xmonadtrack(~xmonadtra@user/geekosaur/bot/xmonadtrack)
2023-08-13 15:01:16 +0200jabuxas(~jabuxas@user/jabuxas)
2023-08-13 15:57:36 +0200jabuxas(~jabuxas@user/jabuxas) (Quit: WeeChat 3.8)
2023-08-13 17:11:08 +0200ghormoon_(~ghormoon@ghorland.net)
2023-08-13 17:11:11 +0200ghormoon(~ghormoon@ghorland.net) (Ping timeout: 258 seconds)
2023-08-13 17:12:42 +0200ghormoon_ghormoon
2023-08-13 20:23:02 +0200mc47(~mc47@xmonad/TheMC47)
2023-08-13 20:25:10 +0200telser(~quassel@user/telser) (Read error: Connection reset by peer)
2023-08-13 20:38:48 +0200telser(~quassel@user/telser)