質問編集履歴
3
エラーの変更
title
CHANGED
File without changes
|
body
CHANGED
@@ -10,10 +10,19 @@
|
|
10
10
|
初心者で知識がないので説明不十分かもしれませんが、よろしくお願いいたします。
|
11
11
|
Python 3.7.3
|
12
12
|
Windows7
|
13
|
+
----追記
|
14
|
+
結合用に用意しているPDFをtestpdfとだけ入力されているものにしたら、エラーが別のものに変わりました。(当初は写真が添付されてたり表などがあった)
|
15
|
+
でも結局うまく作動しないので原因を教えていただけると助かります。
|
13
16
|
|
14
17
|
### 発生している問題・エラーメッセージ
|
15
18
|
|
16
19
|
```
|
20
|
+
------PDFを変えた後のエラー
|
21
|
+
UnicodeEncodeError: 'ascii' codec can't encode characters in position 24-25: ordinal not in range(128)
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
------PDFを変える前のエラー
|
17
26
|
PdfReadError("Illegal character in Name Object")
|
18
27
|
|
19
28
|
write C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 482
|
2
エラーの追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -16,6 +16,25 @@
|
|
16
16
|
```
|
17
17
|
PdfReadError("Illegal character in Name Object")
|
18
18
|
|
19
|
+
write C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 482
|
20
|
+
_sweepIndirectReferences C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 571
|
21
|
+
_sweepIndirectReferences C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 547
|
22
|
+
_sweepIndirectReferences C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 571
|
23
|
+
_sweepIndirectReferences C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 547
|
24
|
+
_sweepIndirectReferences C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 556
|
25
|
+
_sweepIndirectReferences C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 571
|
26
|
+
_sweepIndirectReferences C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 547
|
27
|
+
_sweepIndirectReferences C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 547
|
28
|
+
_sweepIndirectReferences C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 547
|
29
|
+
_sweepIndirectReferences C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 577
|
30
|
+
getObject C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 1611
|
31
|
+
readObject C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\generic.py 66
|
32
|
+
readFromStream C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\generic.py 579
|
33
|
+
readObject C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\generic.py 60
|
34
|
+
readFromStream C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\generic.py 492
|
35
|
+
PdfReadError: Illegal character in Name Object
|
36
|
+
|
37
|
+
|
19
38
|
```
|
20
39
|
|
21
40
|
### 該当のソースコード
|
1
初心者マークをつけました
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|