質問編集履歴

2

変更後

2018/06/27 08:33

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -146,4 +146,8 @@
146
146
 
147
147
  ```
148
148
 
149
- 最初のgist というところは何かのリンクみたいなものでした。
149
+ 最初のgist というところは何かのリンクみたいなものでした。そのリンク先は
150
+
151
+ [https://gist.github.com/discover](https://gist.github.com/discover)
152
+
153
+ でした。

1

変更後

2018/06/27 08:33

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -67,3 +67,83 @@
67
67
  ```
68
68
 
69
69
  どうすれば解決できますか?
70
+
71
+
72
+
73
+ ~app/config.cfgの部分を編集したら以下のようにエラーが出てきます。
74
+
75
+ ```ここに言語を入力
76
+
77
+ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into a gist: create past
78
+
79
+
80
+
81
+ Traceback (most recent call last):
82
+
83
+ File "/root/simplechan/venv/lib/python2.7/site-packages/flask/app.py", line 2309, in __call__
84
+
85
+ return self.wsgi_app(environ, start_response)
86
+
87
+ File "/root/simplechan/venv/lib/python2.7/site-packages/flask/app.py", line 2295, in wsgi_app
88
+
89
+ response = self.handle_exception(e)
90
+
91
+ File "/root/simplechan/venv/lib/python2.7/site-packages/flask/app.py", line 1741, in handle_exception
92
+
93
+ reraise(exc_type, exc_value, tb)
94
+
95
+ File "/root/simplechan/venv/lib/python2.7/site-packages/flask/app.py", line 2292, in wsgi_app
96
+
97
+ response = self.full_dispatch_request()
98
+
99
+ File "/root/simplechan/venv/lib/python2.7/site-packages/flask/app.py", line 1815, in full_dispatch_request
100
+
101
+ rv = self.handle_user_exception(e)
102
+
103
+ File "/root/simplechan/venv/lib/python2.7/site-packages/flask/app.py", line 1718, in handle_user_exception
104
+
105
+ reraise(exc_type, exc_value, tb)
106
+
107
+ File "/root/simplechan/venv/lib/python2.7/site-packages/flask/app.py", line 1813, in full_dispatch_request
108
+
109
+ rv = self.dispatch_request()
110
+
111
+ File "/root/simplechan/venv/lib/python2.7/site-packages/flask/app.py", line 1799, in dispatch_request
112
+
113
+ return self.view_functions[rule.endpoint](**req.view_args)
114
+
115
+ File "/root/simplechan/app/app/__init__.py", line 70, in start_thread
116
+
117
+ return handler.handle_start_thread()
118
+
119
+ File "/root/simplechan/app/app/handler.py", line 252, in handle_start_thread
120
+
121
+ img_verify_result = blob_handler.verify(app.config['UPLOAD_FOLDER'])
122
+
123
+ File "/root/simplechan/app/app/blobHandler.py", line 35, in verify
124
+
125
+ verify_image_res = self.verify_image()
126
+
127
+ File "/root/simplechan/app/app/blobHandler.py", line 193, in verify_image
128
+
129
+ self.filesize = BlobHandler.bytes_2_human_readable( self.save_tmp_image_and_return_img_size() )
130
+
131
+ File "/root/simplechan/app/app/blobHandler.py", line 204, in save_tmp_image_and_return_img_size
132
+
133
+ self.img.save( savepath_tmp, self.img_format )
134
+
135
+ File "/root/simplechan/venv/lib/python2.7/site-packages/PIL/Image.py", line 1932, in save
136
+
137
+ fp = builtins.open(filename, "w+b")
138
+
139
+ IOError: [Errno 2] No such file or directory: '/path/to/app/app/images/tmp_1530087947506601.png'
140
+
141
+
142
+
143
+ The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error. If you enable JavaScript you can also use additional features such as code execution (if the evalex feature is enabled), automatic pasting of the exceptions and much more.
144
+
145
+ Brought to you by DON'T PANIC, your friendly Werkzeug powered traceback interpreter.
146
+
147
+ ```
148
+
149
+ 最初のgist というところは何かのリンクみたいなものでした。