Skip to content

Instantly share code, notes, and snippets.

@vkz
vkz / geiser-module-mismatch.md
Last active December 27, 2015 15:09
Geiser: ?: module mismatch

Suddenly started getting this error when running C-c C-a geiser-mode-switch-to-repl-and-enter from this source file. Came out of nowhere. This worked fine on the same source. I did some changes and stashed them with git stash essentially reverting to a file that ran fine before. Works without a glitch in DrRacket. Reinstalling geiser didn't help. Curiously C-c C-z back into source file and issuing C-c C-a again does enter! the module, but does'n run the body. All definitions available in the REPL.

Aside from doing stuff with git, I also replaced my Racket installation a couple of times.

Updated error message after reinstalling Racket

Why the hell does it try to read /Users/vkz/Library/Racket/planet/300/snapshot/cache/soegaard/sicp.plt/2/1/compiled/info_ss.zo I never ever reference it in my code. Bizarre

After killing the contents of ~/Library/Racket/ I stopped getting the wrong version message but the ?: module mismatch; and the rest

@vkz
vkz / brew-doctor
Created July 20, 2013 15:14
Troubleshooting Hombrew scsh installation
vkz@vkz-air:/usr/local$ brew doctor
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts: