質問編集履歴
2
エラーメッセージの追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -14,6 +14,78 @@
|
|
14
14
|
### 発生している問題・エラーメッセージ
|
15
15
|
|
16
16
|
```
|
17
|
+
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'File types array cannot be empty'
|
18
|
+
*** First throw call stack:
|
19
|
+
(
|
20
|
+
0 CoreFoundation 0x00007fff2a8482db __exceptionPreprocess + 171
|
21
|
+
1 libobjc.A.dylib 0x00007fff519ebc76 objc_exception_throw + 48
|
22
|
+
2 CoreFoundation 0x00007fff2a8d9d7d +[NSException raise:format:] + 205
|
23
|
+
3 AppKit 0x00007fff2845b6e1 -[NSSavePanel setAllowedFileTypes:] + 154
|
24
|
+
4 libtk8.6.dylib 0x00000001098119f5 Tk_GetOpenFileObjCmd + 1941
|
25
|
+
5 libtcl8.6.dylib 0x00000001095c2616 Tcl_EvalObjv + 342
|
26
|
+
6 _tkinter.cpython-36m-darwin.so 0x000000010706d5d2 Tkapp_Call + 210
|
27
|
+
7 python 0x00000001065b5ea2 PyCFunction_Call + 66
|
28
|
+
8 python 0x000000010668c046 _PyEval_EvalFrameDefault + 49702
|
29
|
+
9 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
|
30
|
+
10 python 0x000000010668dcec fast_function + 348
|
31
|
+
11 python 0x000000010668d8de call_function + 222
|
32
|
+
12 python 0x000000010668b572 _PyEval_EvalFrameDefault + 46930
|
33
|
+
13 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
|
34
|
+
14 python 0x000000010668dcec fast_function + 348
|
35
|
+
15 python 0x000000010668d8de call_function + 222
|
36
|
+
16 python 0x000000010668b622 _PyEval_EvalFrameDefault + 47106
|
37
|
+
17 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
|
38
|
+
18 python 0x0000000106679469 builtin_exec + 345
|
39
|
+
19 python 0x00000001065b64b8 _PyCFunction_FastCallDict + 200
|
40
|
+
20 python 0x000000010668d892 call_function + 146
|
41
|
+
21 python 0x000000010668b572 _PyEval_EvalFrameDefault + 46930
|
42
|
+
22 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
|
43
|
+
23 python 0x000000010668dcec fast_function + 348
|
44
|
+
24 python 0x000000010668d8de call_function + 222
|
45
|
+
25 python 0x000000010668b572 _PyEval_EvalFrameDefault + 46930
|
46
|
+
26 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
|
47
|
+
27 python 0x000000010668dcec fast_function + 348
|
48
|
+
28 python 0x000000010668d8de call_function + 222
|
49
|
+
29 python 0x000000010668b622 _PyEval_EvalFrameDefault + 47106
|
50
|
+
30 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
|
51
|
+
31 python 0x000000010668dcec fast_function + 348
|
52
|
+
32 python 0x000000010668d8de call_function + 222
|
53
|
+
33 python 0x000000010668b622 _PyEval_EvalFrameDefault + 47106
|
54
|
+
34 python 0x000000010668dc4f fast_function + 191
|
55
|
+
35 python 0x000000010668d8de call_function + 222
|
56
|
+
36 python 0x000000010668b572 _PyEval_EvalFrameDefault + 46930
|
57
|
+
37 python 0x000000010668dc4f fast_function + 191
|
58
|
+
38 python 0x000000010668d8de call_function + 222
|
59
|
+
39 python 0x000000010668b572 _PyEval_EvalFrameDefault + 46930
|
60
|
+
40 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
|
61
|
+
41 python 0x000000010657edf6 function_call + 118
|
62
|
+
42 python 0x000000010653bcde PyObject_Call + 62
|
63
|
+
43 python 0x000000010668b781 _PyEval_EvalFrameDefault + 47457
|
64
|
+
44 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
|
65
|
+
45 python 0x000000010668dcec fast_function + 348
|
66
|
+
46 python 0x000000010668d8de call_function + 222
|
67
|
+
47 python 0x000000010668b572 _PyEval_EvalFrameDefault + 46930
|
68
|
+
48 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
|
69
|
+
49 python 0x000000010668dcec fast_function + 348
|
70
|
+
50 python 0x000000010668d8de call_function + 222
|
71
|
+
51 python 0x000000010668b572 _PyEval_EvalFrameDefault + 46930
|
72
|
+
52 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
|
73
|
+
53 python 0x000000010668e433 _PyFunction_FastCallDict + 355
|
74
|
+
54 python 0x00000001065346b0 _PyObject_FastCallDict + 320
|
75
|
+
55 python 0x000000010655b9d8 method_call + 136
|
76
|
+
56 python 0x000000010653bcde PyObject_Call + 62
|
77
|
+
57 python 0x000000010668b781 _PyEval_EvalFrameDefault + 47457
|
78
|
+
58 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
|
79
|
+
59 python 0x000000010668dcec fast_function + 348
|
80
|
+
60 python 0x000000010668d8de call_function + 222
|
81
|
+
61 python 0x000000010668b572 _PyEval_EvalFrameDefault + 46930
|
82
|
+
62 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
|
83
|
+
63 python 0x00000001066d7e1c PyRun_FileExFlags + 252
|
84
|
+
64 python 0x00000001066d75ce PyRun_SimpleFileExFlags + 366
|
85
|
+
65 python 0x00000001066fd456 Py_Main + 3718
|
86
|
+
66 python 0x000000010652c68d main + 509
|
87
|
+
67 libdyld.dylib 0x00007fff52605015 start + 1
|
88
|
+
)
|
17
89
|
libc++abi.dylib: terminating with uncaught exception of type NSException
|
18
90
|
Abort trap: 6
|
19
91
|
```
|
1
OSのバージョンを追加, 開発環境情報を追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -3,6 +3,10 @@
|
|
3
3
|
現在、Tkinterでファイル参照ができるGUIアプリを作成しています。
|
4
4
|
[このサイト](https://qiita.com/chanmaru/items/1b64aa91dcd45ad91540)を参考にしているのですが、なぜかエラーが発生してしまいます。
|
5
5
|
|
6
|
+
OSは、 **macOS High Sierra 10.13.6**
|
7
|
+
開発環境は、 **Python3.6.2(Anaconda3-5.0.0)**
|
8
|
+
を使用しています
|
9
|
+
|
6
10
|
Tkinterは、最近勉強し始めたばかりなので、全然わかりません。
|
7
11
|
|
8
12
|
よろしくお願いします。
|