DrRacket Log fails to load due to an exception
Open
Nobody has claimed this yet.
bug
- Dominant language
- Racket
- Stars
- 516
- Forks
- 103
- PR merge metrics
- No merged PRs in 30d
Description
Unable to open the log due to the following error:
color-prefs:lookup-in-color-scheme: contract violation
expected: known-color-scheme-name?
given: 'framework:failed-background-color
in: the name argument of
(->i
((name known-color-scheme-name?))
(result
(name)
(if (... name)
(is-a?/c style-delta%)
(is-a?/c color%))))
contract from:
<pkgs>/gui-lib/framework/main.rkt
blaming: <pkgs>/drracket/drracket/private/unit.rkt
(assuming the contract is correct)
at: <pkgs>/gui-lib/framework/main.rkt:2095.2
Instructions to repeat:
- Launch DrRacket
- Menu: View -> Show Log
- Error occurs
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure in DrRacket with View -> Show Log, then inspect /gui-lib/framework/main.rkt around line 2095 and the caller in /drracket/drracket/private/unit.rkt. Confirm the fix by opening the log without the color-prefs contract exception.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100