質問編集履歴

3

エラーの変更

2019/06/05 08:03

投稿

dokidoki_hamuo
dokidoki_hamuo

スコア38

test CHANGED
File without changes
test CHANGED
@@ -22,6 +22,12 @@
22
22
 
23
23
  Windows7
24
24
 
25
+ ----追記
26
+
27
+ 結合用に用意しているPDFをtestpdfとだけ入力されているものにしたら、エラーが別のものに変わりました。(当初は写真が添付されてたり表などがあった)
28
+
29
+ でも結局うまく作動しないので原因を教えていただけると助かります。
30
+
25
31
 
26
32
 
27
33
  ### 発生している問題・エラーメッセージ
@@ -29,6 +35,18 @@
29
35
 
30
36
 
31
37
  ```
38
+
39
+ ------PDFを変えた後のエラー
40
+
41
+ UnicodeEncodeError: 'ascii' codec can't encode characters in position 24-25: ordinal not in range(128)
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+ ------PDFを変える前のエラー
32
50
 
33
51
  PdfReadError("Illegal character in Name Object")
34
52
 

2

エラーの追加

2019/06/05 08:03

投稿

dokidoki_hamuo
dokidoki_hamuo

スコア38

test CHANGED
File without changes
test CHANGED
@@ -31,6 +31,44 @@
31
31
  ```
32
32
 
33
33
  PdfReadError("Illegal character in Name Object")
34
+
35
+
36
+
37
+ write C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 482
38
+
39
+ _sweepIndirectReferences C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 571
40
+
41
+ _sweepIndirectReferences C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 547
42
+
43
+ _sweepIndirectReferences C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 571
44
+
45
+ _sweepIndirectReferences C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 547
46
+
47
+ _sweepIndirectReferences C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 556
48
+
49
+ _sweepIndirectReferences C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 571
50
+
51
+ _sweepIndirectReferences C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 547
52
+
53
+ _sweepIndirectReferences C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 547
54
+
55
+ _sweepIndirectReferences C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 547
56
+
57
+ _sweepIndirectReferences C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 577
58
+
59
+ getObject C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\pdf.py 1611
60
+
61
+ readObject C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\generic.py 66
62
+
63
+ readFromStream C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\generic.py 579
64
+
65
+ readObject C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\generic.py 60
66
+
67
+ readFromStream C:\Users\userid\AppData\Local\Programs\Python\Python37\Lib\site-packages\PyPDF2\generic.py 492
68
+
69
+ PdfReadError: Illegal character in Name Object
70
+
71
+
34
72
 
35
73
 
36
74
 

1

初心者マークをつけました

2019/06/05 04:02

投稿

dokidoki_hamuo
dokidoki_hamuo

スコア38

test CHANGED
File without changes
test CHANGED
File without changes