質問編集履歴

2

エラーメッセージの追加

2018/10/15 11:35

投稿

B-Hirosuke
B-Hirosuke

スコア22

test CHANGED
File without changes
test CHANGED
@@ -30,6 +30,150 @@
30
30
 
31
31
  ```
32
32
 
33
+ *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'File types array cannot be empty'
34
+
35
+ *** First throw call stack:
36
+
37
+ (
38
+
39
+ 0 CoreFoundation 0x00007fff2a8482db __exceptionPreprocess + 171
40
+
41
+ 1 libobjc.A.dylib 0x00007fff519ebc76 objc_exception_throw + 48
42
+
43
+ 2 CoreFoundation 0x00007fff2a8d9d7d +[NSException raise:format:] + 205
44
+
45
+ 3 AppKit 0x00007fff2845b6e1 -[NSSavePanel setAllowedFileTypes:] + 154
46
+
47
+ 4 libtk8.6.dylib 0x00000001098119f5 Tk_GetOpenFileObjCmd + 1941
48
+
49
+ 5 libtcl8.6.dylib 0x00000001095c2616 Tcl_EvalObjv + 342
50
+
51
+ 6 _tkinter.cpython-36m-darwin.so 0x000000010706d5d2 Tkapp_Call + 210
52
+
53
+ 7 python 0x00000001065b5ea2 PyCFunction_Call + 66
54
+
55
+ 8 python 0x000000010668c046 _PyEval_EvalFrameDefault + 49702
56
+
57
+ 9 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
58
+
59
+ 10 python 0x000000010668dcec fast_function + 348
60
+
61
+ 11 python 0x000000010668d8de call_function + 222
62
+
63
+ 12 python 0x000000010668b572 _PyEval_EvalFrameDefault + 46930
64
+
65
+ 13 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
66
+
67
+ 14 python 0x000000010668dcec fast_function + 348
68
+
69
+ 15 python 0x000000010668d8de call_function + 222
70
+
71
+ 16 python 0x000000010668b622 _PyEval_EvalFrameDefault + 47106
72
+
73
+ 17 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
74
+
75
+ 18 python 0x0000000106679469 builtin_exec + 345
76
+
77
+ 19 python 0x00000001065b64b8 _PyCFunction_FastCallDict + 200
78
+
79
+ 20 python 0x000000010668d892 call_function + 146
80
+
81
+ 21 python 0x000000010668b572 _PyEval_EvalFrameDefault + 46930
82
+
83
+ 22 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
84
+
85
+ 23 python 0x000000010668dcec fast_function + 348
86
+
87
+ 24 python 0x000000010668d8de call_function + 222
88
+
89
+ 25 python 0x000000010668b572 _PyEval_EvalFrameDefault + 46930
90
+
91
+ 26 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
92
+
93
+ 27 python 0x000000010668dcec fast_function + 348
94
+
95
+ 28 python 0x000000010668d8de call_function + 222
96
+
97
+ 29 python 0x000000010668b622 _PyEval_EvalFrameDefault + 47106
98
+
99
+ 30 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
100
+
101
+ 31 python 0x000000010668dcec fast_function + 348
102
+
103
+ 32 python 0x000000010668d8de call_function + 222
104
+
105
+ 33 python 0x000000010668b622 _PyEval_EvalFrameDefault + 47106
106
+
107
+ 34 python 0x000000010668dc4f fast_function + 191
108
+
109
+ 35 python 0x000000010668d8de call_function + 222
110
+
111
+ 36 python 0x000000010668b572 _PyEval_EvalFrameDefault + 46930
112
+
113
+ 37 python 0x000000010668dc4f fast_function + 191
114
+
115
+ 38 python 0x000000010668d8de call_function + 222
116
+
117
+ 39 python 0x000000010668b572 _PyEval_EvalFrameDefault + 46930
118
+
119
+ 40 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
120
+
121
+ 41 python 0x000000010657edf6 function_call + 118
122
+
123
+ 42 python 0x000000010653bcde PyObject_Call + 62
124
+
125
+ 43 python 0x000000010668b781 _PyEval_EvalFrameDefault + 47457
126
+
127
+ 44 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
128
+
129
+ 45 python 0x000000010668dcec fast_function + 348
130
+
131
+ 46 python 0x000000010668d8de call_function + 222
132
+
133
+ 47 python 0x000000010668b572 _PyEval_EvalFrameDefault + 46930
134
+
135
+ 48 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
136
+
137
+ 49 python 0x000000010668dcec fast_function + 348
138
+
139
+ 50 python 0x000000010668d8de call_function + 222
140
+
141
+ 51 python 0x000000010668b572 _PyEval_EvalFrameDefault + 46930
142
+
143
+ 52 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
144
+
145
+ 53 python 0x000000010668e433 _PyFunction_FastCallDict + 355
146
+
147
+ 54 python 0x00000001065346b0 _PyObject_FastCallDict + 320
148
+
149
+ 55 python 0x000000010655b9d8 method_call + 136
150
+
151
+ 56 python 0x000000010653bcde PyObject_Call + 62
152
+
153
+ 57 python 0x000000010668b781 _PyEval_EvalFrameDefault + 47457
154
+
155
+ 58 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
156
+
157
+ 59 python 0x000000010668dcec fast_function + 348
158
+
159
+ 60 python 0x000000010668d8de call_function + 222
160
+
161
+ 61 python 0x000000010668b572 _PyEval_EvalFrameDefault + 46930
162
+
163
+ 62 python 0x000000010667ebeb _PyEval_EvalCodeWithName + 427
164
+
165
+ 63 python 0x00000001066d7e1c PyRun_FileExFlags + 252
166
+
167
+ 64 python 0x00000001066d75ce PyRun_SimpleFileExFlags + 366
168
+
169
+ 65 python 0x00000001066fd456 Py_Main + 3718
170
+
171
+ 66 python 0x000000010652c68d main + 509
172
+
173
+ 67 libdyld.dylib 0x00007fff52605015 start + 1
174
+
175
+ )
176
+
33
177
  libc++abi.dylib: terminating with uncaught exception of type NSException
34
178
 
35
179
  Abort trap: 6

1

OSのバージョンを追加, 開発環境情報を追加

2018/10/15 11:35

投稿

B-Hirosuke
B-Hirosuke

スコア22

test CHANGED
File without changes
test CHANGED
@@ -5,6 +5,14 @@
5
5
  現在、Tkinterでファイル参照ができるGUIアプリを作成しています。
6
6
 
7
7
  [このサイト](https://qiita.com/chanmaru/items/1b64aa91dcd45ad91540)を参考にしているのですが、なぜかエラーが発生してしまいます。
8
+
9
+
10
+
11
+ OSは、 **macOS High Sierra 10.13.6**
12
+
13
+ 開発環境は、 **Python3.6.2(Anaconda3-5.0.0)**
14
+
15
+ を使用しています
8
16
 
9
17
 
10
18