racket / racket/drracket

Racket 7.5 scripts library raises Internal Error on OS/X 10.13.6

Open
#338 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
516
Forks
103
PR merge metrics
No merged PRs in 30d

Description

After a fresh install of 7.5 on OS/X High Sierra, in DrRacket, selecting Scripts > Manage Scripts > Library raises the following error:

directory-list: could not open directory
  path: /Users/jhemann/Library/Preferences/quickscript/user-scripts
  system error: No such file or directory; errno=2
  context...:
   /Applications/Racket v7.5/collects/racket/private/kw-file.rkt:137:4
   /Applications/Racket v7.5/share/pkgs/quickscript/library-gui.rkt:44:4: set-files-lb
   /Applications/Racket v7.5/share/pkgs/quickscript/library-gui.rkt:156:4: dir-lb-select16
   /Applications/Racket v7.5/share/pkgs/quickscript/library-gui.rkt:27:0: make-library-gui6
   /Applications/Racket v7.5/share/pkgs/gui-lib/mred/private/mrmenu.rkt:250:14: command method in basic-selectable-menu-item%
   /Applications/Racket v7.5/collects/racket/private/more-scheme.rkt:148:2: call-with-break-parameterization
   /Applications/Racket v7.5/collects/racket/private/more-scheme.rkt:265:2: call-with-exception-handler
   /Applications/Racket v7.5/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:435:6
   /Applications/Racket v7.5/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:486:32
   /Applications/Racket v7.5/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:634:3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure in DrRacket 7.5 on OS/X 10.13.6 by selecting Scripts > Manage Scripts > Library. Inspect share/pkgs/quickscript/library-gui.rkt around set-files-lb and the missing user-scripts path; done means the Library opens without an Internal Error after a fresh install.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.