IRC channel logs


back to list of logs

<sneek>Welcome back tohoyn!!
<tohoyn>sneek: botsnack
<attila_lendvai>i get this error, with a non-informative backtrace: In procedure variable-ref: Unbound variable: #<variable 7fa700f741a0 value: #<undefined>>
<attila_lendvai>is there any way to squeeze out the name of the variable?
<lilyp>I don't think so. This is a variable object, not a variable as seen from a module.
<lilyp>It basically goes like this: There is a mapping of symbol→variable. You'd have to find which symbol maps to the unbound variable in which module, then you can reconstruct a (hopefully useful) error message.
<attila_lendvai>well, that sounds like it's beyond the scope of this hacking session... :)
<lilyp>just a stupid question, do you use variables in your own library?
<lilyp>(i.e. variable-ref etc.)
<graywolf>Is there a customary way to implement timeouts in guile? I am looking at (web client), and would like to do http-request with capped total duration.
<attila_lendvai>lilyp, it was a bug in shepherd that was compiled by guix while building a system, or something along these lines. the guix codebase has an unfortunate tendency to hide warnings and swallow errors. the end result was a less than helpful backtrace+error message, without any hint.
<attila_lendvai>s/bug in/mistake in my checkout of/