racket / racket/drracket

Error on virginal install rendering scribble w/ sandbox

Open
#122 0 comments 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 nuking prefs and ~/Library/Racket open the following in drracket:

#lang scribble/manual
@(require racket/sandbox)
@(define evaluator (make-evaluator 'racket))
@(define typed/evaluator (make-evaluator 'typed/racket))

Render to get the following error

 ../../MyApplications/dev/lisp/Racket/collects/pkg/private/lock.rkt:26:0: directory-exists?: `exists' access denied for /MyApplications/dev/lisp/Racket/share/pkgs

With ~/Library/Racket I was getting errors about not having read access for a pkgs lock file (it existed and I had read access)... But out of the box, this thing should work.

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 fresh-install case in DrRacket using the Scribble example with racket/sandbox and the two make-evaluator calls. Start at collects/pkg/private/lock.rkt:26:0 and inspect the package-path access check; done means rendering succeeds without an access-denied error on a virginal installation.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.