|
1 |
| -2020-10-21 12:47:22,775 INFO myApi MainThread : script directory: C:\Code\CodeSamples\Python\AppDev |
2 |
| -2020-10-21 12:47:22,776 INFO myApi MainThread : DB file: C:\Code\CodeSamples\Python\AppDev\db.txt |
3 |
| -2020-10-21 12:47:22,785 INFO werkzeug MainThread : * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) |
4 |
| -2020-10-21 12:47:25,870 INFO myApi Thread-7 : Routers returned |
5 |
| -2020-10-21 12:47:25,871 ERROR myApi Thread-7 : Exception on /routers [GET] |
6 |
| -Traceback (most recent call last): |
7 |
| - File "C:\Python\lib\site-packages\flask\app.py", line 2447, in wsgi_app |
8 |
| - response = self.full_dispatch_request() |
9 |
| - File "C:\Python\lib\site-packages\flask\app.py", line 1953, in full_dispatch_request |
10 |
| - return self.finalize_request(rv) |
11 |
| - File "C:\Python\lib\site-packages\flask\app.py", line 1968, in finalize_request |
12 |
| - response = self.make_response(rv) |
13 |
| - File "C:\Python\lib\site-packages\flask\app.py", line 2097, in make_response |
14 |
| - raise TypeError( |
15 |
| -TypeError: The view function did not return a valid response. The function either returned None or ended without a return statement. |
16 |
| -2020-10-21 12:47:25,874 INFO werkzeug Thread-7 : 127.0.0.1 - - [21/Oct/2020 12:47:25] "[35m[1mGET /routers?hostname=R1 HTTP/1.1[0m" 500 - |
17 |
| -2020-10-21 12:48:26,070 INFO myApi MainThread : script directory: C:\Code\CodeSamples\Python\AppDev |
18 |
| -2020-10-21 12:48:26,070 INFO myApi MainThread : DB file: C:\Code\CodeSamples\Python\AppDev\db.txt |
19 |
| -2020-10-21 12:48:26,081 INFO werkzeug MainThread : * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) |
20 |
| -2020-10-21 12:48:30,831 INFO myApi Thread-7 : {'hostname': 'R1', 'ipadd': '10.0.0.1'} |
21 |
| -2020-10-21 12:48:30,831 WARNING myApi Thread-7 : router added SW1 |
22 |
| -2020-10-21 12:48:30,842 INFO werkzeug Thread-7 : 127.0.0.1 - - [21/Oct/2020 12:48:30] "[35m[1mPOST /routers HTTP/1.1[0m" 500 - |
23 |
| -2020-10-21 12:48:30,849 ERROR werkzeug Thread-7 : Error on request: |
24 |
| -Traceback (most recent call last): |
25 |
| - File "C:\Python\Lib\site-packages\werkzeug\serving.py", line 323, in run_wsgi |
26 |
| - execute(self.server.app) |
27 |
| - File "C:\Python\Lib\site-packages\werkzeug\serving.py", line 314, in execute |
28 |
| - for data in application_iter: |
29 |
| - File "C:\Python\Lib\site-packages\werkzeug\wsgi.py", line 506, in __next__ |
30 |
| - return self._next() |
31 |
| - File "C:\Python\Lib\site-packages\werkzeug\wrappers\base_response.py", line 45, in _iter_encoded |
32 |
| - for item in iterable: |
33 |
| -TypeError: 'Response' object is not iterable |
34 |
| -2020-10-21 12:51:20,551 INFO myApi MainThread : script directory: C:\Code\CodeSamples\Python\AppDev |
35 |
| -2020-10-21 12:51:20,551 INFO myApi MainThread : DB file: C:\Code\CodeSamples\Python\AppDev\db.txt |
36 |
| -2020-10-21 12:51:20,561 INFO werkzeug MainThread : * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) |
37 |
| -2020-10-21 12:51:23,547 INFO myApi Thread-7 : inbound record {'hostname': 'R1', 'ipadd': '10.0.0.1'} |
38 |
| -2020-10-21 12:51:23,548 WARNING myApi Thread-7 : router added SW1 |
39 |
| -2020-10-21 12:51:23,558 INFO werkzeug Thread-7 : 127.0.0.1 - - [21/Oct/2020 12:51:23] "[35m[1mPOST /routers HTTP/1.1[0m" 500 - |
40 |
| -2020-10-21 12:51:23,560 ERROR werkzeug Thread-7 : Error on request: |
41 |
| -Traceback (most recent call last): |
42 |
| - File "C:\Python\Lib\site-packages\werkzeug\serving.py", line 323, in run_wsgi |
43 |
| - execute(self.server.app) |
44 |
| - File "C:\Python\Lib\site-packages\werkzeug\serving.py", line 314, in execute |
45 |
| - for data in application_iter: |
46 |
| - File "C:\Python\Lib\site-packages\werkzeug\wsgi.py", line 506, in __next__ |
47 |
| - return self._next() |
48 |
| - File "C:\Python\Lib\site-packages\werkzeug\wrappers\base_response.py", line 45, in _iter_encoded |
49 |
| - for item in iterable: |
50 |
| -TypeError: 'Response' object is not iterable |
51 |
| -2020-10-21 12:58:39,496 INFO myApi MainThread : script directory: C:\Code\CodeSamples\Python\AppDev |
52 |
| -2020-10-21 12:58:39,497 INFO myApi MainThread : DB file: C:\Code\CodeSamples\Python\AppDev\db.txt |
53 |
| -2020-10-21 12:58:39,507 INFO werkzeug MainThread : * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) |
54 |
| -2020-10-21 12:58:42,706 INFO myApi Thread-7 : inbound record {'hostname': 'R1', 'ipadd': '10.0.0.1'} |
55 |
| -2020-10-21 12:58:42,706 WARNING myApi Thread-7 : router added R1 |
56 |
| -2020-10-21 12:58:42,716 INFO werkzeug Thread-7 : 127.0.0.1 - - [21/Oct/2020 12:58:42] "[35m[1mPOST /routers HTTP/1.1[0m" 500 - |
57 |
| -2020-10-21 12:58:42,718 ERROR werkzeug Thread-7 : Error on request: |
58 |
| -Traceback (most recent call last): |
59 |
| - File "C:\Python\Lib\site-packages\werkzeug\serving.py", line 323, in run_wsgi |
60 |
| - execute(self.server.app) |
61 |
| - File "C:\Python\Lib\site-packages\werkzeug\serving.py", line 314, in execute |
62 |
| - for data in application_iter: |
63 |
| - File "C:\Python\Lib\site-packages\werkzeug\wsgi.py", line 506, in __next__ |
64 |
| - return self._next() |
65 |
| - File "C:\Python\Lib\site-packages\werkzeug\wrappers\base_response.py", line 45, in _iter_encoded |
66 |
| - for item in iterable: |
67 |
| -TypeError: 'Response' object is not iterable |
68 |
| -2020-10-21 12:59:37,237 INFO myApi MainThread : script directory: C:\Code\CodeSamples\Python\AppDev |
69 |
| -2020-10-21 12:59:37,238 INFO myApi MainThread : DB file: C:\Code\CodeSamples\Python\AppDev\db.txt |
70 |
| -2020-10-21 12:59:37,248 INFO werkzeug MainThread : * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) |
71 |
| -2020-10-21 12:59:42,503 INFO myApi Thread-7 : inbound record {'hostname': 'R1', 'ipadd': '10.0.0.1'} |
72 |
| -2020-10-21 12:59:42,503 INFO myApi Thread-7 : records output [{'hostname': 'R1', 'ipadd': '10.0.0.1'}] |
73 |
| -2020-10-21 12:59:42,503 WARNING myApi Thread-7 : router added R1 |
74 |
| -2020-10-21 12:59:42,513 INFO werkzeug Thread-7 : 127.0.0.1 - - [21/Oct/2020 12:59:42] "[35m[1mPOST /routers HTTP/1.1[0m" 500 - |
75 |
| -2020-10-21 12:59:42,516 ERROR werkzeug Thread-7 : Error on request: |
76 |
| -Traceback (most recent call last): |
77 |
| - File "C:\Python\Lib\site-packages\werkzeug\serving.py", line 323, in run_wsgi |
78 |
| - execute(self.server.app) |
79 |
| - File "C:\Python\Lib\site-packages\werkzeug\serving.py", line 314, in execute |
80 |
| - for data in application_iter: |
81 |
| - File "C:\Python\Lib\site-packages\werkzeug\wsgi.py", line 506, in __next__ |
82 |
| - return self._next() |
83 |
| - File "C:\Python\Lib\site-packages\werkzeug\wrappers\base_response.py", line 45, in _iter_encoded |
84 |
| - for item in iterable: |
85 |
| -TypeError: 'Response' object is not iterable |
86 |
| -2020-10-21 13:05:06,076 INFO myApi MainThread : script directory: C:\Code\CodeSamples\Python\AppDev |
87 |
| -2020-10-21 13:05:06,076 INFO myApi MainThread : DB file: C:\Code\CodeSamples\Python\AppDev\db.txt |
88 |
| -2020-10-21 13:05:06,086 INFO werkzeug MainThread : * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) |
89 |
| -2020-10-21 13:05:10,444 INFO myApi Thread-7 : inbound record {'hostname': 'R1', 'ipadd': '10.0.0.1'} |
90 |
| -2020-10-21 13:05:10,445 INFO myApi Thread-7 : records output [{'hostname': 'SW1', 'ipaddr': '10.12.12.1'}, {'hostname': 'R1', 'ipadd': '10.0.0.1'}] |
91 |
| -2020-10-21 13:05:10,445 WARNING myApi Thread-7 : router added R1 |
92 |
| -2020-10-21 13:05:10,447 INFO werkzeug Thread-7 : 127.0.0.1 - - [21/Oct/2020 13:05:10] "[37mPOST /routers HTTP/1.1[0m" 201 - |
93 |
| -2020-10-21 13:05:16,744 INFO myApi Thread-8 : inbound record {'hostname': 'R1', 'ipadd': '10.0.0.1'} |
94 |
| -2020-10-21 13:05:16,750 INFO werkzeug Thread-8 : 127.0.0.1 - - [21/Oct/2020 13:05:16] "[37mPOST /routers HTTP/1.1[0m" 201 - |
95 |
| -2020-10-21 13:07:09,649 INFO myApi MainThread : script directory: C:\Code\CodeSamples\Python\AppDev |
96 |
| -2020-10-21 13:07:09,649 INFO myApi MainThread : DB file: C:\Code\CodeSamples\Python\AppDev\db.txt |
97 |
| -2020-10-21 13:07:09,660 INFO werkzeug MainThread : * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) |
98 |
| -2020-10-21 13:07:13,420 INFO myApi Thread-7 : inbound record {'hostname': 'R1', 'ipadd': '10.0.0.1'} |
99 |
| -2020-10-21 13:07:13,421 INFO werkzeug Thread-7 : 127.0.0.1 - - [21/Oct/2020 13:07:13] "[37mPOST /routers HTTP/1.1[0m" 200 - |
100 |
| -2020-10-21 13:07:17,591 INFO myApi Thread-8 : Routers returned |
101 |
| -2020-10-21 13:07:17,591 INFO werkzeug Thread-8 : 127.0.0.1 - - [21/Oct/2020 13:07:17] "[37mGET /routers?hostname=R1 HTTP/1.1[0m" 200 - |
102 |
| -2020-10-21 13:07:22,865 INFO myApi Thread-9 : Routers returned |
103 |
| -2020-10-21 13:07:22,865 INFO werkzeug Thread-9 : 127.0.0.1 - - [21/Oct/2020 13:07:22] "[37mGET /routers?hostname=SW1 HTTP/1.1[0m" 200 - |
104 |
| -2020-10-21 13:07:26,979 ERROR myApi Thread-10 : Exception on /routers [GET] |
105 |
| -Traceback (most recent call last): |
106 |
| - File "C:\Python\lib\site-packages\flask\app.py", line 2447, in wsgi_app |
107 |
| - response = self.full_dispatch_request() |
108 |
| - File "C:\Python\lib\site-packages\flask\app.py", line 1953, in full_dispatch_request |
109 |
| - return self.finalize_request(rv) |
110 |
| - File "C:\Python\lib\site-packages\flask\app.py", line 1968, in finalize_request |
111 |
| - response = self.make_response(rv) |
112 |
| - File "C:\Python\lib\site-packages\flask\app.py", line 2097, in make_response |
113 |
| - raise TypeError( |
114 |
| -TypeError: The view function did not return a valid response. The function either returned None or ended without a return statement. |
115 |
| -2020-10-21 13:07:26,982 INFO werkzeug Thread-10 : 127.0.0.1 - - [21/Oct/2020 13:07:26] "[35m[1mGET /routers?hostname= HTTP/1.1[0m" 500 - |
116 |
| -2020-10-21 13:08:56,656 WARNING myApi Thread-11 : Deleted R1 |
117 |
| -2020-10-21 13:08:56,657 INFO werkzeug Thread-11 : 127.0.0.1 - - [21/Oct/2020 13:08:56] "[37mDELETE /routers HTTP/1.1[0m" 204 - |
0 commit comments