質問編集履歴

2

変更後

2018/06/27 08:33

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -72,4 +72,6 @@
72
72
  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.
73
73
  Brought to you by DON'T PANIC, your friendly Werkzeug powered traceback interpreter.
74
74
  ```
75
- 最初のgist というところは何かのリンクみたいなものでした。
75
+ 最初のgist というところは何かのリンクみたいなものでした。そのリンク先は
76
+ [https://gist.github.com/discover](https://gist.github.com/discover)
77
+ でした。

1

変更後

2018/06/27 08:33

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -32,4 +32,44 @@
32
32
  fp = builtins.open(filename, "w+b")
33
33
  IOError: [Errno 2] No such file or directory: '/path/to/app/app/images/tmp_1529824081209917.png'
34
34
  ```
35
- どうすれば解決できますか?
35
+ どうすれば解決できますか?
36
+
37
+ ~app/config.cfgの部分を編集したら以下のようにエラーが出てきます。
38
+ ```ここに言語を入力
39
+ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into a gist: create past
40
+
41
+ Traceback (most recent call last):
42
+ File "/root/simplechan/venv/lib/python2.7/site-packages/flask/app.py", line 2309, in __call__
43
+ return self.wsgi_app(environ, start_response)
44
+ File "/root/simplechan/venv/lib/python2.7/site-packages/flask/app.py", line 2295, in wsgi_app
45
+ response = self.handle_exception(e)
46
+ File "/root/simplechan/venv/lib/python2.7/site-packages/flask/app.py", line 1741, in handle_exception
47
+ reraise(exc_type, exc_value, tb)
48
+ File "/root/simplechan/venv/lib/python2.7/site-packages/flask/app.py", line 2292, in wsgi_app
49
+ response = self.full_dispatch_request()
50
+ File "/root/simplechan/venv/lib/python2.7/site-packages/flask/app.py", line 1815, in full_dispatch_request
51
+ rv = self.handle_user_exception(e)
52
+ File "/root/simplechan/venv/lib/python2.7/site-packages/flask/app.py", line 1718, in handle_user_exception
53
+ reraise(exc_type, exc_value, tb)
54
+ File "/root/simplechan/venv/lib/python2.7/site-packages/flask/app.py", line 1813, in full_dispatch_request
55
+ rv = self.dispatch_request()
56
+ File "/root/simplechan/venv/lib/python2.7/site-packages/flask/app.py", line 1799, in dispatch_request
57
+ return self.view_functions[rule.endpoint](**req.view_args)
58
+ File "/root/simplechan/app/app/__init__.py", line 70, in start_thread
59
+ return handler.handle_start_thread()
60
+ File "/root/simplechan/app/app/handler.py", line 252, in handle_start_thread
61
+ img_verify_result = blob_handler.verify(app.config['UPLOAD_FOLDER'])
62
+ File "/root/simplechan/app/app/blobHandler.py", line 35, in verify
63
+ verify_image_res = self.verify_image()
64
+ File "/root/simplechan/app/app/blobHandler.py", line 193, in verify_image
65
+ self.filesize = BlobHandler.bytes_2_human_readable( self.save_tmp_image_and_return_img_size() )
66
+ File "/root/simplechan/app/app/blobHandler.py", line 204, in save_tmp_image_and_return_img_size
67
+ self.img.save( savepath_tmp, self.img_format )
68
+ File "/root/simplechan/venv/lib/python2.7/site-packages/PIL/Image.py", line 1932, in save
69
+ fp = builtins.open(filename, "w+b")
70
+ IOError: [Errno 2] No such file or directory: '/path/to/app/app/images/tmp_1530087947506601.png'
71
+
72
+ 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.
73
+ Brought to you by DON'T PANIC, your friendly Werkzeug powered traceback interpreter.
74
+ ```
75
+ 最初のgist というところは何かのリンクみたいなものでした。