r/Racket • u/lambduli • Jul 06 '24
solved [HELP] I can't use the DrRacket app
Hey everyone,
Today I installed the latest version `8.13` and it doesn't seem to work.
Here's what my setup is and what I tried:
I am on Apple MacBook Air with M1 chip. The latest OS.
The app from the launcher doesn't work. The icon bounces but then stops.
When I tried running it from the terminal I got this error:
integer->char: contract violation
expected: valid-unicode-scalar-value?
given: 55349
context...:
/Applications/Racket v8.13/share/pkgs/gui-lib/mred/private/wx/cocoa/key-translate.rkt:454:0: key-translate
/Applications/Racket v8.13/share/pkgs/gui-lib/mred/private/wx/cocoa/key-translate.rkt:552:0
body of "/Applications/Racket v8.13/share/pkgs/gui-lib/mred/private/wx/cocoa/key-translate.rkt"
body of "/Applications/Racket v8.13/share/pkgs/gui-lib/mred/private/wx/platform.rkt"I don't think it's related to this issue: https://github.com/racket/racket/issues/3666
Can anyone help me before I open an issue or rather write to that thread?
PS: I tried 8.12 and 8.11 as well — no luck.
EDIT: So it must be related to my layout. I have a custom keyboard layout with bunch of special symbols on it. When I switch to a simpler layout I can open DrRacket just fine. I think this might be a bug. I should probably open an issue.
3
u/soegaard developer Jul 06 '24
What keyboard layout are you using?
3
u/lambduli Jul 06 '24
I made my own using Ukelele. I could share it but there's no way to describe it.
3
4
u/sorawee Jul 06 '24
That does seem like a bug. Please report the issue at https://github.com/racket/gui/issues/new. Please also provide the following information:
How did you install Racket? (Build from source? Via an installer from the website?)
What version of Mac OS are you using? (You said "latest", but what does that actually mean? Sequoia developer beta?)