-
Notifications
You must be signed in to change notification settings - Fork 0
/
ycmd_59633_stderr__2jazc3h.log
140 lines (137 loc) · 24 KB
/
ycmd_59633_stderr__2jazc3h.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
2018-05-22 23:16:07,416 - DEBUG - Global extra conf not loaded or no function YcmCorePreload
2018-05-22 23:16:07,526 - INFO - Received ready request
2018-05-22 23:16:07,608 - INFO - Received event notification
2018-05-22 23:16:07,608 - DEBUG - Event name: BufferVisit
2018-05-22 23:16:07,619 - INFO - Received event notification
2018-05-22 23:16:07,619 - DEBUG - Event name: FileReadyToParse
2018-05-22 23:16:07,619 - INFO - Adding buffer identifiers for file: /Users/zhangyiteng/Documents/course/DataVisualization/homework/imageprocess/4.py
2018-05-22 23:16:07,619 - INFO - Starting JediHTTP server
2018-05-22 23:16:07,624 - INFO - using port 59643
2018-05-22 23:16:07,710 - INFO - Received filetype completion available request
2018-05-22 23:16:08,367 - INFO - Received event notification
2018-05-22 23:16:08,367 - DEBUG - Event name: FileReadyToParse
2018-05-22 23:16:08,367 - INFO - Adding buffer identifiers for file: /Users/zhangyiteng/Documents/course/DataVisualization/homework/imageprocess/4.py
2018-05-22 23:16:09,098 - INFO - Received event notification
2018-05-22 23:16:09,099 - DEBUG - Event name: CurrentIdentifierFinished
2018-05-22 23:16:09,100 - INFO - Adding ONE buffer identifier for file: /Users/zhangyiteng/Documents/course/DataVisualization/homework/imageprocess/4.py
2018-05-22 23:16:09,414 - INFO - Received completion request
2018-05-22 23:16:09,415 - DEBUG - Using filetype completion: False
2018-05-22 23:16:09,548 - INFO - Received completion request
2018-05-22 23:16:09,549 - DEBUG - Using filetype completion: True
2018-05-22 23:16:09,550 - DEBUG - Making JediHTTP request: POST b'http://127.0.0.1:59643/completions' {u'content-type': u'application/json', u'x-jedihttp-hmac': 'cjuMdkY0bchU8McSZ+iHEEBvP2h4omKMybp0I+XQmH0='} b'{"source": "import numpy as np\nimport PIL\nfrom matplotlib import pyplot as plt\nfrom PIL import Image\nfrom scipy import misc\n\nimport numba as nb\nfrom numba import f8, int64, jit\nfrom zytutil import timethis\nimport kernel\nimport zytutil\n\ndef main():\n sharp_kernel = np.zeros((3, 3))\n gauss_filter = np.ones((5, 5))\n gauss_filter[1, 1] = 3\n gauss_filter = gauss_filter / gauss_filter.sum()\n sharp_kernel[1, 1] = -4\n sharp_kernel[1, 0] = 1\n sharp_kernel[1, 2] = 1\n sharp_kernel[0, 1] = 1\n sharp_kernel[2, 1] = 1\n ke\n\n image = Image.open('test.jpg')\n image = np.array(image.convert('L'))\n Image.fromarray(image.astype(np.uint8)).save('street.jpg')\n image = image / 255.0\n # plt.subplot(121)\n # plt.imshow(image, cmap='gray')\n # plt.subplot(122)\n newimage = kernel.filter(image, sharp_kernel)\n newimage = np.clip(image - 2 * newimage, 0, 1)\n diffimage = np.abs(newimage - image)\n newimage *= 255\n # plt.imshow(np.clip(image - newimage, 0, 1), cmap='gray')\n Image.fromarray(newimage.astype(np.uint8)).save('sharpstreet.jpg')\n diffimage -= diffimage.min()\n diffimage /= diffimage.max()\n diffimage = (1 - diffimage) * 255\n Image.fromarray(diffimage.astype(np.uint8)).save('diffstreet.jpg')\n kernel.filter\n\n\nif __name__ == \"__main__\":\n main()\n", "line": 23, "source_path": "/Users/zhangyiteng/Documents/course/DataVisualization/homework/imageprocess/4.py", "col": 4}'
2018-05-22 23:16:09,561 - INFO - Starting new HTTP connection (1): 127.0.0.1
2018-05-22 23:16:09,626 - INFO - Received completion request
2018-05-22 23:16:09,627 - DEBUG - Using filetype completion: True
2018-05-22 23:16:09,628 - DEBUG - Making JediHTTP request: POST b'http://127.0.0.1:59643/completions' {u'content-type': u'application/json', u'x-jedihttp-hmac': 'QrnjlETTogkihPPAX359Y8eIUSujeIyQk7oBZMsNqbY='} b'{"source": "import numpy as np\nimport PIL\nfrom matplotlib import pyplot as plt\nfrom PIL import Image\nfrom scipy import misc\n\nimport numba as nb\nfrom numba import f8, int64, jit\nfrom zytutil import timethis\nimport kernel\nimport zytutil\n\ndef main():\n sharp_kernel = np.zeros((3, 3))\n gauss_filter = np.ones((5, 5))\n gauss_filter[1, 1] = 3\n gauss_filter = gauss_filter / gauss_filter.sum()\n sharp_kernel[1, 1] = -4\n sharp_kernel[1, 0] = 1\n sharp_kernel[1, 2] = 1\n sharp_kernel[0, 1] = 1\n sharp_kernel[2, 1] = 1\n ker\n\n image = Image.open('test.jpg')\n image = np.array(image.convert('L'))\n Image.fromarray(image.astype(np.uint8)).save('street.jpg')\n image = image / 255.0\n # plt.subplot(121)\n # plt.imshow(image, cmap='gray')\n # plt.subplot(122)\n newimage = kernel.filter(image, sharp_kernel)\n newimage = np.clip(image - 2 * newimage, 0, 1)\n diffimage = np.abs(newimage - image)\n newimage *= 255\n # plt.imshow(np.clip(image - newimage, 0, 1), cmap='gray')\n Image.fromarray(newimage.astype(np.uint8)).save('sharpstreet.jpg')\n diffimage -= diffimage.min()\n diffimage /= diffimage.max()\n diffimage = (1 - diffimage) * 255\n Image.fromarray(diffimage.astype(np.uint8)).save('diffstreet.jpg')\n kernel.filter\n\n\nif __name__ == \"__main__\":\n main()\n", "line": 23, "source_path": "/Users/zhangyiteng/Documents/course/DataVisualization/homework/imageprocess/4.py", "col": 4}'
2018-05-22 23:16:09,630 - INFO - Starting new HTTP connection (1): 127.0.0.1
2018-05-22 23:16:09,792 - INFO - Received completion request
2018-05-22 23:16:09,792 - DEBUG - Using filetype completion: True
2018-05-22 23:16:09,793 - DEBUG - Making JediHTTP request: POST b'http://127.0.0.1:59643/completions' {u'content-type': u'application/json', u'x-jedihttp-hmac': 'OWpsOCSyaCW+DS8J1YgsdWbmDNisFDTBqy+lPHhsOsg='} b'{"source": "import numpy as np\nimport PIL\nfrom matplotlib import pyplot as plt\nfrom PIL import Image\nfrom scipy import misc\n\nimport numba as nb\nfrom numba import f8, int64, jit\nfrom zytutil import timethis\nimport kernel\nimport zytutil\n\ndef main():\n sharp_kernel = np.zeros((3, 3))\n gauss_filter = np.ones((5, 5))\n gauss_filter[1, 1] = 3\n gauss_filter = gauss_filter / gauss_filter.sum()\n sharp_kernel[1, 1] = -4\n sharp_kernel[1, 0] = 1\n sharp_kernel[1, 2] = 1\n sharp_kernel[0, 1] = 1\n sharp_kernel[2, 1] = 1\n kern\n\n image = Image.open('test.jpg')\n image = np.array(image.convert('L'))\n Image.fromarray(image.astype(np.uint8)).save('street.jpg')\n image = image / 255.0\n # plt.subplot(121)\n # plt.imshow(image, cmap='gray')\n # plt.subplot(122)\n newimage = kernel.filter(image, sharp_kernel)\n newimage = np.clip(image - 2 * newimage, 0, 1)\n diffimage = np.abs(newimage - image)\n newimage *= 255\n # plt.imshow(np.clip(image - newimage, 0, 1), cmap='gray')\n Image.fromarray(newimage.astype(np.uint8)).save('sharpstreet.jpg')\n diffimage -= diffimage.min()\n diffimage /= diffimage.max()\n diffimage = (1 - diffimage) * 255\n Image.fromarray(diffimage.astype(np.uint8)).save('diffstreet.jpg')\n kernel.filter\n\n\nif __name__ == \"__main__\":\n main()\n", "line": 23, "source_path": "/Users/zhangyiteng/Documents/course/DataVisualization/homework/imageprocess/4.py", "col": 4}'
2018-05-22 23:16:09,794 - INFO - Starting new HTTP connection (1): 127.0.0.1
2018-05-22 23:16:09,938 - INFO - Received completion request
2018-05-22 23:16:09,939 - DEBUG - Using filetype completion: True
2018-05-22 23:16:09,939 - DEBUG - Making JediHTTP request: POST b'http://127.0.0.1:59643/completions' {u'content-type': u'application/json', u'x-jedihttp-hmac': 'N7pcUSUo2hpeucL2J6eaXlWQfn0XeBs5NRL4kGzGQVQ='} b'{"source": "import numpy as np\nimport PIL\nfrom matplotlib import pyplot as plt\nfrom PIL import Image\nfrom scipy import misc\n\nimport numba as nb\nfrom numba import f8, int64, jit\nfrom zytutil import timethis\nimport kernel\nimport zytutil\n\ndef main():\n sharp_kernel = np.zeros((3, 3))\n gauss_filter = np.ones((5, 5))\n gauss_filter[1, 1] = 3\n gauss_filter = gauss_filter / gauss_filter.sum()\n sharp_kernel[1, 1] = -4\n sharp_kernel[1, 0] = 1\n sharp_kernel[1, 2] = 1\n sharp_kernel[0, 1] = 1\n sharp_kernel[2, 1] = 1\n kerne\n\n image = Image.open('test.jpg')\n image = np.array(image.convert('L'))\n Image.fromarray(image.astype(np.uint8)).save('street.jpg')\n image = image / 255.0\n # plt.subplot(121)\n # plt.imshow(image, cmap='gray')\n # plt.subplot(122)\n newimage = kernel.filter(image, sharp_kernel)\n newimage = np.clip(image - 2 * newimage, 0, 1)\n diffimage = np.abs(newimage - image)\n newimage *= 255\n # plt.imshow(np.clip(image - newimage, 0, 1), cmap='gray')\n Image.fromarray(newimage.astype(np.uint8)).save('sharpstreet.jpg')\n diffimage -= diffimage.min()\n diffimage /= diffimage.max()\n diffimage = (1 - diffimage) * 255\n Image.fromarray(diffimage.astype(np.uint8)).save('diffstreet.jpg')\n kernel.filter\n\n\nif __name__ == \"__main__\":\n main()\n", "line": 23, "source_path": "/Users/zhangyiteng/Documents/course/DataVisualization/homework/imageprocess/4.py", "col": 4}'
2018-05-22 23:16:09,940 - INFO - Starting new HTTP connection (1): 127.0.0.1
2018-05-22 23:16:10,080 - INFO - Received completion request
2018-05-22 23:16:10,080 - DEBUG - Using filetype completion: True
2018-05-22 23:16:10,081 - DEBUG - Making JediHTTP request: POST b'http://127.0.0.1:59643/completions' {u'content-type': u'application/json', u'x-jedihttp-hmac': 'oJ2MMrd71jhXN5C8Cv8DHh07JG/Z70c+7Ga5KklA8yE='} b'{"source": "import numpy as np\nimport PIL\nfrom matplotlib import pyplot as plt\nfrom PIL import Image\nfrom scipy import misc\n\nimport numba as nb\nfrom numba import f8, int64, jit\nfrom zytutil import timethis\nimport kernel\nimport zytutil\n\ndef main():\n sharp_kernel = np.zeros((3, 3))\n gauss_filter = np.ones((5, 5))\n gauss_filter[1, 1] = 3\n gauss_filter = gauss_filter / gauss_filter.sum()\n sharp_kernel[1, 1] = -4\n sharp_kernel[1, 0] = 1\n sharp_kernel[1, 2] = 1\n sharp_kernel[0, 1] = 1\n sharp_kernel[2, 1] = 1\n kernel\n\n image = Image.open('test.jpg')\n image = np.array(image.convert('L'))\n Image.fromarray(image.astype(np.uint8)).save('street.jpg')\n image = image / 255.0\n # plt.subplot(121)\n # plt.imshow(image, cmap='gray')\n # plt.subplot(122)\n newimage = kernel.filter(image, sharp_kernel)\n newimage = np.clip(image - 2 * newimage, 0, 1)\n diffimage = np.abs(newimage - image)\n newimage *= 255\n # plt.imshow(np.clip(image - newimage, 0, 1), cmap='gray')\n Image.fromarray(newimage.astype(np.uint8)).save('sharpstreet.jpg')\n diffimage -= diffimage.min()\n diffimage /= diffimage.max()\n diffimage = (1 - diffimage) * 255\n Image.fromarray(diffimage.astype(np.uint8)).save('diffstreet.jpg')\n kernel.filter\n\n\nif __name__ == \"__main__\":\n main()\n", "line": 23, "source_path": "/Users/zhangyiteng/Documents/course/DataVisualization/homework/imageprocess/4.py", "col": 4}'
2018-05-22 23:16:10,083 - INFO - Starting new HTTP connection (1): 127.0.0.1
2018-05-22 23:16:10,219 - DEBUG - "POST /completions HTTP/1.1" 200 110727
2018-05-22 23:16:10,279 - DEBUG - "POST /completions HTTP/1.1" 200 110727
2018-05-22 23:16:10,346 - DEBUG - "POST /completions HTTP/1.1" 200 110727
2018-05-22 23:16:10,391 - INFO - Received event notification
2018-05-22 23:16:10,392 - DEBUG - Event name: CurrentIdentifierFinished
2018-05-22 23:16:10,393 - INFO - Adding ONE buffer identifier for file: /Users/zhangyiteng/Documents/course/DataVisualization/homework/imageprocess/4.py
2018-05-22 23:16:10,396 - INFO - Received completion request
2018-05-22 23:16:10,397 - DEBUG - Using filetype completion: True
2018-05-22 23:16:10,397 - DEBUG - Making JediHTTP request: POST b'http://127.0.0.1:59643/completions' {u'content-type': u'application/json', u'x-jedihttp-hmac': 'rSrcei2xzI1PigGBFxU24XzD0fzJIFPLcPAE9p5dAdY='} b'{"source": "import numpy as np\nimport PIL\nfrom matplotlib import pyplot as plt\nfrom PIL import Image\nfrom scipy import misc\n\nimport numba as nb\nfrom numba import f8, int64, jit\nfrom zytutil import timethis\nimport kernel\nimport zytutil\n\ndef main():\n sharp_kernel = np.zeros((3, 3))\n gauss_filter = np.ones((5, 5))\n gauss_filter[1, 1] = 3\n gauss_filter = gauss_filter / gauss_filter.sum()\n sharp_kernel[1, 1] = -4\n sharp_kernel[1, 0] = 1\n sharp_kernel[1, 2] = 1\n sharp_kernel[0, 1] = 1\n sharp_kernel[2, 1] = 1\n kernel.\n\n image = Image.open('test.jpg')\n image = np.array(image.convert('L'))\n Image.fromarray(image.astype(np.uint8)).save('street.jpg')\n image = image / 255.0\n # plt.subplot(121)\n # plt.imshow(image, cmap='gray')\n # plt.subplot(122)\n newimage = kernel.filter(image, sharp_kernel)\n newimage = np.clip(image - 2 * newimage, 0, 1)\n diffimage = np.abs(newimage - image)\n newimage *= 255\n # plt.imshow(np.clip(image - newimage, 0, 1), cmap='gray')\n Image.fromarray(newimage.astype(np.uint8)).save('sharpstreet.jpg')\n diffimage -= diffimage.min()\n diffimage /= diffimage.max()\n diffimage = (1 - diffimage) * 255\n Image.fromarray(diffimage.astype(np.uint8)).save('diffstreet.jpg')\n kernel.filter\n\n\nif __name__ == \"__main__\":\n main()\n", "line": 23, "source_path": "/Users/zhangyiteng/Documents/course/DataVisualization/homework/imageprocess/4.py", "col": 11}'
2018-05-22 23:16:10,398 - INFO - Starting new HTTP connection (1): 127.0.0.1
2018-05-22 23:16:10,412 - DEBUG - "POST /completions HTTP/1.1" 200 110727
2018-05-22 23:16:10,518 - DEBUG - "POST /completions HTTP/1.1" 200 110727
2018-05-22 23:16:10,580 - DEBUG - "POST /completions HTTP/1.1" 500 23558
2018-05-22 23:16:10,590 - ERROR - Exception from semantic completer (using general): Traceback (most recent call last):
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/handlers.py", line 103, in GetCompletions
.ComputeCandidates( request_data ) )
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/completer.py", line 229, in ComputeCandidates
candidates = self._GetCandidatesFromSubclass( request_data )
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/completer.py", line 240, in _GetCandidatesFromSubclass
raw_completions = self.ComputeCandidatesInner( request_data )
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/python/jedi_completer.py", line 275, in ComputeCandidatesInner
for completion in self._JediCompletions( request_data ) ]
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/python/jedi_completer.py", line 280, in _JediCompletions
request_data )[ 'completions' ]
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/python/jedi_completer.py", line 218, in _GetResponse
response.raise_for_status()
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/models.py", line 840, in raise_for_status
raise HTTPError(http_error_msg, response=self)
HTTPError: 500 Server Error: Internal Server Error for url: http://127.0.0.1:59643/completions
2018-05-22 23:16:10,698 - INFO - Received completion request
2018-05-22 23:16:10,699 - DEBUG - Using filetype completion: True
2018-05-22 23:16:10,699 - DEBUG - Making JediHTTP request: POST b'http://127.0.0.1:59643/completions' {u'content-type': u'application/json', u'x-jedihttp-hmac': 'IRqokddyBUZlVhng8J+2Hgk2KpLTmlfYt771HtRbkI8='} b'{"source": "import numpy as np\nimport PIL\nfrom matplotlib import pyplot as plt\nfrom PIL import Image\nfrom scipy import misc\n\nimport numba as nb\nfrom numba import f8, int64, jit\nfrom zytutil import timethis\nimport kernel\nimport zytutil\n\ndef main():\n sharp_kernel = np.zeros((3, 3))\n gauss_filter = np.ones((5, 5))\n gauss_filter[1, 1] = 3\n gauss_filter = gauss_filter / gauss_filter.sum()\n sharp_kernel[1, 1] = -4\n sharp_kernel[1, 0] = 1\n sharp_kernel[1, 2] = 1\n sharp_kernel[0, 1] = 1\n sharp_kernel[2, 1] = 1\n kernel.f\n\n image = Image.open('test.jpg')\n image = np.array(image.convert('L'))\n Image.fromarray(image.astype(np.uint8)).save('street.jpg')\n image = image / 255.0\n # plt.subplot(121)\n # plt.imshow(image, cmap='gray')\n # plt.subplot(122)\n newimage = kernel.filter(image, sharp_kernel)\n newimage = np.clip(image - 2 * newimage, 0, 1)\n diffimage = np.abs(newimage - image)\n newimage *= 255\n # plt.imshow(np.clip(image - newimage, 0, 1), cmap='gray')\n Image.fromarray(newimage.astype(np.uint8)).save('sharpstreet.jpg')\n diffimage -= diffimage.min()\n diffimage /= diffimage.max()\n diffimage = (1 - diffimage) * 255\n Image.fromarray(diffimage.astype(np.uint8)).save('diffstreet.jpg')\n kernel.filter\n\n\nif __name__ == \"__main__\":\n main()\n", "line": 23, "source_path": "/Users/zhangyiteng/Documents/course/DataVisualization/homework/imageprocess/4.py", "col": 11}'
2018-05-22 23:16:10,700 - INFO - Starting new HTTP connection (1): 127.0.0.1
2018-05-22 23:16:10,732 - DEBUG - "POST /completions HTTP/1.1" 500 23558
2018-05-22 23:16:10,733 - ERROR - Exception from semantic completer (using general): Traceback (most recent call last):
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/handlers.py", line 103, in GetCompletions
.ComputeCandidates( request_data ) )
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/completer.py", line 229, in ComputeCandidates
candidates = self._GetCandidatesFromSubclass( request_data )
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/completer.py", line 240, in _GetCandidatesFromSubclass
raw_completions = self.ComputeCandidatesInner( request_data )
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/python/jedi_completer.py", line 275, in ComputeCandidatesInner
for completion in self._JediCompletions( request_data ) ]
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/python/jedi_completer.py", line 280, in _JediCompletions
request_data )[ 'completions' ]
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/python/jedi_completer.py", line 218, in _GetResponse
response.raise_for_status()
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/models.py", line 840, in raise_for_status
raise HTTPError(http_error_msg, response=self)
HTTPError: 500 Server Error: Internal Server Error for url: http://127.0.0.1:59643/completions
2018-05-22 23:16:10,872 - INFO - Received completion request
2018-05-22 23:16:10,873 - DEBUG - Using filetype completion: True
2018-05-22 23:16:10,874 - DEBUG - Making JediHTTP request: POST b'http://127.0.0.1:59643/completions' {u'content-type': u'application/json', u'x-jedihttp-hmac': 'nkq/2fNLFpMtb9Laqfr6inC2mflERJq4rqt6LkimkzA='} b'{"source": "import numpy as np\nimport PIL\nfrom matplotlib import pyplot as plt\nfrom PIL import Image\nfrom scipy import misc\n\nimport numba as nb\nfrom numba import f8, int64, jit\nfrom zytutil import timethis\nimport kernel\nimport zytutil\n\ndef main():\n sharp_kernel = np.zeros((3, 3))\n gauss_filter = np.ones((5, 5))\n gauss_filter[1, 1] = 3\n gauss_filter = gauss_filter / gauss_filter.sum()\n sharp_kernel[1, 1] = -4\n sharp_kernel[1, 0] = 1\n sharp_kernel[1, 2] = 1\n sharp_kernel[0, 1] = 1\n sharp_kernel[2, 1] = 1\n kernel.fi\n\n image = Image.open('test.jpg')\n image = np.array(image.convert('L'))\n Image.fromarray(image.astype(np.uint8)).save('street.jpg')\n image = image / 255.0\n # plt.subplot(121)\n # plt.imshow(image, cmap='gray')\n # plt.subplot(122)\n newimage = kernel.filter(image, sharp_kernel)\n newimage = np.clip(image - 2 * newimage, 0, 1)\n diffimage = np.abs(newimage - image)\n newimage *= 255\n # plt.imshow(np.clip(image - newimage, 0, 1), cmap='gray')\n Image.fromarray(newimage.astype(np.uint8)).save('sharpstreet.jpg')\n diffimage -= diffimage.min()\n diffimage /= diffimage.max()\n diffimage = (1 - diffimage) * 255\n Image.fromarray(diffimage.astype(np.uint8)).save('diffstreet.jpg')\n kernel.filter\n\n\nif __name__ == \"__main__\":\n main()\n", "line": 23, "source_path": "/Users/zhangyiteng/Documents/course/DataVisualization/homework/imageprocess/4.py", "col": 11}'
2018-05-22 23:16:10,875 - INFO - Starting new HTTP connection (1): 127.0.0.1
2018-05-22 23:16:10,911 - DEBUG - "POST /completions HTTP/1.1" 500 23558
2018-05-22 23:16:10,912 - ERROR - Exception from semantic completer (using general): Traceback (most recent call last):
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/handlers.py", line 103, in GetCompletions
.ComputeCandidates( request_data ) )
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/completer.py", line 229, in ComputeCandidates
candidates = self._GetCandidatesFromSubclass( request_data )
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/completer.py", line 240, in _GetCandidatesFromSubclass
raw_completions = self.ComputeCandidatesInner( request_data )
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/python/jedi_completer.py", line 275, in ComputeCandidatesInner
for completion in self._JediCompletions( request_data ) ]
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/python/jedi_completer.py", line 280, in _JediCompletions
request_data )[ 'completions' ]
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/python/jedi_completer.py", line 218, in _GetResponse
response.raise_for_status()
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/models.py", line 840, in raise_for_status
raise HTTPError(http_error_msg, response=self)
HTTPError: 500 Server Error: Internal Server Error for url: http://127.0.0.1:59643/completions
2018-05-22 23:16:11,851 - INFO - Received event notification
2018-05-22 23:16:11,852 - DEBUG - Event name: FileReadyToParse
2018-05-22 23:16:11,852 - INFO - Adding buffer identifiers for file: /Users/zhangyiteng/Documents/course/DataVisualization/homework/imageprocess/4.py
2018-05-22 23:16:11,855 - INFO - Received event notification
2018-05-22 23:16:11,855 - DEBUG - Event name: InsertLeave
2018-05-22 23:16:11,856 - INFO - Adding ONE buffer identifier for file: /Users/zhangyiteng/Documents/course/DataVisualization/homework/imageprocess/4.py
2018-05-22 23:16:14,962 - INFO - Received debug info request
2018-05-22 23:17:21,965 - INFO - Received debug info request
2018-05-22 23:18:40,491 - INFO - Received debug info request
2018-05-22 23:18:40,496 - ERROR - No semantic completer exists for filetypes: [u'']
Traceback (most recent call last):
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/handlers.py", line 238, in DebugInfo
request_data ).DebugInfo( request_data )
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/handlers.py", line 302, in _GetCompleterForRequestData
return _server_state.GetFiletypeCompleter( request_data[ 'filetypes' ] )
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/server_state.py", line 89, in GetFiletypeCompleter
current_filetypes ) )
ValueError: No semantic completer exists for filetypes: [u'']
2018-05-22 23:20:37,709 - INFO - Received debug info request
2018-05-22 23:20:37,714 - ERROR - No semantic completer exists for filetypes: [u'']
Traceback (most recent call last):
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/handlers.py", line 238, in DebugInfo
request_data ).DebugInfo( request_data )
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/handlers.py", line 302, in _GetCompleterForRequestData
return _server_state.GetFiletypeCompleter( request_data[ 'filetypes' ] )
File "/Users/zhangyiteng/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/server_state.py", line 89, in GetFiletypeCompleter
current_filetypes ) )
ValueError: No semantic completer exists for filetypes: [u'']