What variable? After your comment I tried the code and the executable without problem.
The name of the variable was `|`. but when trying again now, I didn't get the error, and it worked.
Some time later I got some different errors, but at least sometimes it works
Yes, it has some strange problems that I have not managed to reproduce and fix. If you are using stumpwm, run the game in a floating group.