"Protected" error when re-providing a third party function
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
調査の方向性
mischief/function の呼び出しを含む require/provide の例で発生するドキュメントビルドの失敗を再現し、その後、scribblings/composition.scrbl とスタックトレースに示された Scribble の評価パス(scribble/eval.rkt を含む)を調査します。サードパーティ関数が再度 provide されたときに、ドキュメントビルドが dynamic-require: name is protected を発生させなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Hello,
I attempted to re-provide a function from a third party module (call from mischief/function) in my module, without modification. E.g.:
(require (only-in mischief/function call))
(provide call)
The code built successfully and the tests passed, but the Scribble docs failed to build with dynamic-require: name is protected (full error pasted below).
As a workaround, I manually copied the implementation from the third party source and provided it afresh from within my module without require-ing it; this is the commit that does that. This works, as expected. [Note: I just noticed that there is a redundant deftogether in that commit - this does not affect the error either way (I just checked).]
Environment
Racket 7.8 CS
Full error message:
Note that the error implicates a module (composition.scrbl) that isn't modified by the offending code.
examples: exception raised in example
error: "dynamic-require: name is protected\n name: 'syntax-local-expand-observer\n module: #<resolved-module-path:'#%expobs>"
context...:
do-error
.../scribble/eval.rkt:308:23: with-handlers-handler102
.../private/more-scheme.rkt:163:2: select-handler/no-breaks
.../scribble/eval.rkt:356:9
.../private/map.rkt:40:19: loop
[repeats 6 more times]
.../private/manual-vars.rkt:218:40
.../private/manual-vars.rkt:167:0: *deftogether
interpret
loop
interpret
[repeats 3 more times]
proc
call-in-empty-metacontinuation-frame
body of "/Users/siddhartha/work/lisp/racket/relation/scribblings/composition.scrbl"
interpret-expr
context...:
do-error
call-in-empty-metacontinuation-frame
.../setup/parallel-do.rkt:332:4: !work-done method in list-queue%
.../setup/parallel-do.rkt:282:17
.../setup/parallel-do.rkt:236:4
dynamic-wind
.../setup/scribble.rkt:138:0: setup-scribblings
call-in-empty-metacontinuation-frame
winder-dummy
.../setup/setup-core.rkt:72:0: setup-core
call-in-empty-metacontinuation-frame
body of "/Applications/Racket v7.8/collects/setup/main.rkt"
temp35_0
run-module-instance!
call-in-empty-metacontinuation-frame
body of "/Applications/Racket v7.8/collects/raco/main.rkt"
- 主要言語
- Racket
- スター
- 250
- フォーク
- 102
- 平均マージ
- 11日 9時間
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
racket/scribble のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 74/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
racket/scribble の issue をすべて見る
似ている issue
-
customer-reported question
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Azure/azure-sdk-for-python#49548 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Add the Yahoo chart API duplicate last-day row (yfinance#573) to incidents.md (about 1 hour)対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンdata docs good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
pacocartones/market-data-sanity-checker#160 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
nodejs/node#66743 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
Add a Storybook section to CONTRIBUTING.md対応中かも @ChanakyaG2004 が今日担当しました。 オープンdocumentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
FlowwStar/FlowStar#995 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信