TypeError: infoDict.has is not a function
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- javascript, node.js
- 领域
- backend
调研方向
跟踪信息指向 node_modules/pdf2json/lib/pdf.js 中的 PDFDocument.get documentInfo。首先使用受影响的 PDF 重现错误,并检查该 getter 和 parser 路径;issue 中没有提供 fixture、入口点源代码或测试,因此需要在实现之前确定完成标准。
由索引模型根据 Issue 内容生成。
描述
TypeError: infoDict.has is not a function
at PDFDocument.get documentInfo [as documentInfo] (eval at (/home/usr/repos/Work1/node_modules/pdf2json/lib/pdf.js:64:1), :4638:24)
at LocalPdfManager_ensure [as ensure] (eval at (/home/usr/repos/Work1/node_modules/pdf2json/lib/pdf.js:64:1), :32503:22)
at LocalPdfManager.BasePdfManager_ensureModel [as ensureModel] (eval at (/home/usr/repos/Work1/node_modules/pdf2json/lib/pdf.js:64:1), :32442:19)
at Object.parseSuccess [as onResolve] (eval at (/home/usr/repos/Work1/node_modules/pdf2json/lib/pdf.js:64:1), :27104:38)
at Object.runHandlers (eval at (/home/usr/repos/Work1/node_modules/pdf2json/lib/pdf.js:64:1), :864:35)
at listOnTimeout (internal/timers.js:535:17)
at processTimers (internal/timers.js:479:7)
An error occurred while parsing the PDF: infoDict.has is not a function
An error occurred while parsing the PDF: infoDict.has is not a function
- 主要语言
- Java
- 星标
- 2.2k
- 派生
- 396
- 平均合并
- 9 天 19 小时
- 30 天内合并 PR
- 3
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
modesty/pdf2json 的其他 Issue
-
getRawTextContent() returns the lines of every page in reverse order (bottom to top) since 4.0.3未关闭
难度 1/5 1-3 小时 新手友好度 90/100
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 3/5 1-2 天 新手友好度 38/100
-
`getRawTextContent` does not returns words' pieces in proper coordinate order可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 3/5 1-2 天 新手友好度 48/100
-
难度 4/5 3-5 天 新手友好度 35/100
相似的 Issue
-
Type: Possible bug
难度 2/5 1-3 小时 新手友好度 84/100
AntennaPod/AntennaPod#8895 ·
维护者通常 1 天内回复
-
bug build failed
难度 1/5 1 小时以内 新手友好度 91/100
objectionary/eo#9852 · 1 条评论 ·
维护者通常 2 天内回复
-
dependencies enhancement
难度 2/5 1-3 小时 新手友好度 76/100
BrendonButler/Shops#79 ·
维护者通常 1 天内回复
-
finsim-core good first issue
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
Require-Capability osgi.ee still says JavaSE 1.8 but classes are compiled for Java 11可能已有人在做 @arturobernalg 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
eclipse-ee4j/angus-mail#232 ·
维护者通常 3 天内回复