SHARE
TWEET

Error Post Retrofit

a guest Jul 22nd, 2019 295 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2019-07-22 15:05:03.991 28571-28665/com.example.RetrofitJava D/OkHttp: --> POST https://26d19814.ngrok.io/buku/add
  2. 2019-07-22 15:05:03.991 28571-28665/com.example.RetrofitJava D/OkHttp: Content-Type: application/x-www-form-urlencoded
  3. 2019-07-22 15:05:03.991 28571-28665/com.example.RetrofitJava D/OkHttp: Content-Length: 10
  4. 2019-07-22 15:05:03.991 28571-28665/com.example.RetrofitJava D/OkHttp: judul=help
  5. 2019-07-22 15:05:03.992 28571-28665/com.example.RetrofitJava D/OkHttp: --> END POST (10-byte body)
  6. 2019-07-22 15:05:04.043 28571-28590/com.example.RetrofitJava I/le.RetrofitJav: ProcessProfilingInfo new_methods=10 is saved saved_to_disk=1 resolve_classes_delay=8000
  7. 2019-07-22 15:05:06.826 28571-28665/com.example.RetrofitJava D/OkHttp: <-- 500 INTERNAL SERVER ERROR https://26d19814.ngrok.io/buku/add (2833ms)
  8. 2019-07-22 15:05:06.826 28571-28665/com.example.RetrofitJava D/OkHttp: Content-Type: text/html; charset=utf-8
  9. 2019-07-22 15:05:06.826 28571-28665/com.example.RetrofitJava D/OkHttp: X-XSS-Protection: 0
  10. 2019-07-22 15:05:06.826 28571-28665/com.example.RetrofitJava D/OkHttp: Server: Werkzeug/0.15.4 Python/3.7.1
  11. 2019-07-22 15:05:06.826 28571-28665/com.example.RetrofitJava D/OkHttp: Date: Mon, 22 Jul 2019 08:05:07 GMT
  12. 2019-07-22 15:05:06.836 28571-28665/com.example.RetrofitJava D/OkHttp: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  13. 2019-07-22 15:05:06.836 28571-28665/com.example.RetrofitJava D/OkHttp:   "http://www.w3.org/TR/html4/loose.dtd">
  14. 2019-07-22 15:05:06.836 28571-28665/com.example.RetrofitJava D/OkHttp: <html>
  15. 2019-07-22 15:05:06.836 28571-28665/com.example.RetrofitJava D/OkHttp:   <head>
  16. 2019-07-22 15:05:06.836 28571-28665/com.example.RetrofitJava D/OkHttp:     <title>TypeError: 'NoneType' object is not subscriptable // Werkzeug Debugger</title>
  17. 2019-07-22 15:05:06.836 28571-28665/com.example.RetrofitJava D/OkHttp:     <link rel="stylesheet" href="?__debugger__=yes&amp;cmd=resource&amp;f=style.css"
  18. 2019-07-22 15:05:06.836 28571-28665/com.example.RetrofitJava D/OkHttp:         type="text/css">
  19. 2019-07-22 15:05:06.836 28571-28665/com.example.RetrofitJava D/OkHttp:     <!-- We need to make sure this has a favicon so that the debugger does
  20. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:          not by accident trigger a request to /favicon.ico which might
  21. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:          change the application state. -->
  22. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:     <link rel="shortcut icon"
  23. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:         href="?__debugger__=yes&amp;cmd=resource&amp;f=console.png">
  24. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:     <script src="?__debugger__=yes&amp;cmd=resource&amp;f=jquery.js"></script>
  25. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:     <script src="?__debugger__=yes&amp;cmd=resource&amp;f=debugger.js"></script>
  26. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:     <script type="text/javascript">
  27. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:       var TRACEBACK = 111651472,
  28. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:           CONSOLE_MODE = false,
  29. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:           EVALEX = true,
  30. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:           EVALEX_TRUSTED = false,
  31. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:           SECRET = "dAgkAnXtw9IcSp9wUQKC";
  32. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:     </script>
  33. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:   </head>
  34. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:   <body style="background-color: #fff">
  35. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:     <div class="debugger">
  36. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp: <h1>TypeError</h1>
  37. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp: <div class="detail">
  38. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:   <p class="errormsg">TypeError: 'NoneType' object is not subscriptable</p>
  39. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp: </div>
  40. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp: <h2 class="traceback">Traceback <em>(most recent call last)</em></h2>
  41. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp: <div class="traceback">
  42. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:  
  43. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:   <ul><li><div class="frame" id="frame-111651536">
  44. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:   <h4>File <cite class="filename">"C:\Python\Python37-32\lib\site-packages\flask\app.py"</cite>,
  45. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:       line <em class="line">2328</em>,
  46. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:       in <code class="function">__call__</code></h4>
  47. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp:   <div class="source library"><pre class="line before"><span class="ws"></span> </pre>
  48. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">    </span>def __call__(self, environ, start_response):</pre>
  49. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">        </span>&quot;&quot;&quot;The WSGI server calls the Flask application object as the</pre>
  50. 2019-07-22 15:05:06.837 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">        </span>WSGI application. This calls :meth:`wsgi_app` which can be</pre>
  51. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">        </span>wrapped to applying middleware.&quot;&quot;&quot;</pre>
  52. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line current"><span class="ws">        </span>return self.wsgi_app(environ, start_response)</pre>
  53. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws"></span> </pre>
  54. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">    </span>def __repr__(self):</pre>
  55. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">        </span>return '&lt;%s %r&gt;' % (</pre>
  56. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">            </span>self.__class__.__name__,</pre>
  57. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">            </span>self.name,</pre></div>
  58. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: </div>
  59. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: <li><div class="frame" id="frame-111651984">
  60. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp:   <h4>File <cite class="filename">"C:\Python\Python37-32\lib\site-packages\flask\app.py"</cite>,
  61. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp:       line <em class="line">2314</em>,
  62. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp:       in <code class="function">wsgi_app</code></h4>
  63. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp:   <div class="source library"><pre class="line before"><span class="ws">            </span>try:</pre>
  64. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">                </span>ctx.push()</pre>
  65. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">                </span>response = self.full_dispatch_request()</pre>
  66. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">            </span>except Exception as e:</pre>
  67. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">                </span>error = e</pre>
  68. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line current"><span class="ws">                </span>response = self.handle_exception(e)</pre>
  69. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">            </span>except:</pre>
  70. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">                </span>error = sys.exc_info()[1]</pre>
  71. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">                </span>raise</pre>
  72. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">            </span>return response(environ, start_response)</pre>
  73. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">        </span>finally:</pre></div>
  74. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: </div>
  75. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: <li><div class="frame" id="frame-111651504">
  76. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp:   <h4>File <cite class="filename">"C:\Python\Python37-32\lib\site-packages\flask\app.py"</cite>,
  77. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp:       line <em class="line">1760</em>,
  78. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp:       in <code class="function">handle_exception</code></h4>
  79. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp:   <div class="source library"><pre class="line before"><span class="ws">            </span># if we want to repropagate the exception, we can attempt to</pre>
  80. 2019-07-22 15:05:06.838 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">            </span># raise it with the whole traceback in case we can do that</pre>
  81. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">            </span># (the function was actually called from the except part)</pre>
  82. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">            </span># otherwise, we just raise the error again</pre>
  83. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">            </span>if exc_value is e:</pre>
  84. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line current"><span class="ws">                </span>reraise(exc_type, exc_value, tb)</pre>
  85. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">            </span>else:</pre>
  86. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">                </span>raise e</pre>
  87. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws"></span> </pre>
  88. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">        </span>self.log_exception((exc_type, exc_value, tb))</pre>
  89. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">        </span>if handler is None:</pre></div>
  90. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: </div>
  91. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <li><div class="frame" id="frame-111651600">
  92. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp:   <h4>File <cite class="filename">"C:\Python\Python37-32\lib\site-packages\flask\_compat.py"</cite>,
  93. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp:       line <em class="line">36</em>,
  94. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp:       in <code class="function">reraise</code></h4>
  95. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp:   <div class="source library"><pre class="line before"><span class="ws">    </span>import collections.abc as collections_abc</pre>
  96. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws"></span> </pre>
  97. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">    </span>def reraise(tp, value, tb=None):</pre>
  98. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">        </span>if value.__traceback__ is not tb:</pre>
  99. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">            </span>raise value.with_traceback(tb)</pre>
  100. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line current"><span class="ws">        </span>raise value</pre>
  101. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws"></span> </pre>
  102. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">    </span>implements_to_string = _identity</pre>
  103. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws"></span> </pre>
  104. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws"></span>else:</pre>
  105. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">    </span>text_type = unicode</pre></div>
  106. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: </div>
  107. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp: <li><div class="frame" id="frame-111652688">
  108. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp:   <h4>File <cite class="filename">"C:\Python\Python37-32\lib\site-packages\flask\app.py"</cite>,
  109. 2019-07-22 15:05:06.839 28571-28665/com.example.RetrofitJava D/OkHttp:       line <em class="line">2311</em>,
  110. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp:       in <code class="function">wsgi_app</code></h4>
  111. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp:   <div class="source library"><pre class="line before"><span class="ws">        </span>ctx = self.request_context(environ)</pre>
  112. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">        </span>error = None</pre>
  113. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">        </span>try:</pre>
  114. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">            </span>try:</pre>
  115. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">                </span>ctx.push()</pre>
  116. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line current"><span class="ws">                </span>response = self.full_dispatch_request()</pre>
  117. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">            </span>except Exception as e:</pre>
  118. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">                </span>error = e</pre>
  119. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">                </span>response = self.handle_exception(e)</pre>
  120. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">            </span>except:</pre>
  121. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">                </span>error = sys.exc_info()[1]</pre></div>
  122. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: </div>
  123. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <li><div class="frame" id="frame-111652752">
  124. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp:   <h4>File <cite class="filename">"C:\Python\Python37-32\lib\site-packages\flask\app.py"</cite>,
  125. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp:       line <em class="line">1834</em>,
  126. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp:       in <code class="function">full_dispatch_request</code></h4>
  127. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp:   <div class="source library"><pre class="line before"><span class="ws">            </span>request_started.send(self)</pre>
  128. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">            </span>rv = self.preprocess_request()</pre>
  129. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">            </span>if rv is None:</pre>
  130. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">                </span>rv = self.dispatch_request()</pre>
  131. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">        </span>except Exception as e:</pre>
  132. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line current"><span class="ws">            </span>rv = self.handle_user_exception(e)</pre>
  133. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">        </span>return self.finalize_request(rv)</pre>
  134. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws"></span> </pre>
  135. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">    </span>def finalize_request(self, rv, from_error_handler=False):</pre>
  136. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">        </span>&quot;&quot;&quot;Given the return value from a view function this finalizes</pre>
  137. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">        </span>the request by converting it into a response and invoking the</pre></div>
  138. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: </div>
  139. 2019-07-22 15:05:06.840 28571-28665/com.example.RetrofitJava D/OkHttp: <li><div class="frame" id="frame-111652784">
  140. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp:   <h4>File <cite class="filename">"C:\Python\Python37-32\lib\site-packages\flask\app.py"</cite>,
  141. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp:       line <em class="line">1737</em>,
  142. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp:       in <code class="function">handle_user_exception</code></h4>
  143. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp:   <div class="source library"><pre class="line before"><span class="ws">            </span>return self.handle_http_exception(e)</pre>
  144. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws"></span> </pre>
  145. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">        </span>handler = self._find_error_handler(e)</pre>
  146. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws"></span> </pre>
  147. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">        </span>if handler is None:</pre>
  148. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line current"><span class="ws">            </span>reraise(exc_type, exc_value, tb)</pre>
  149. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">        </span>return handler(e)</pre>
  150. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws"></span> </pre>
  151. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">    </span>def handle_exception(self, e):</pre>
  152. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">        </span>&quot;&quot;&quot;Default exception handling that kicks in when an exception</pre>
  153. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">        </span>occurs that is not caught.  In debug mode the exception will</pre></div>
  154. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: </div>
  155. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <li><div class="frame" id="frame-111652496">
  156. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp:   <h4>File <cite class="filename">"C:\Python\Python37-32\lib\site-packages\flask\_compat.py"</cite>,
  157. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp:       line <em class="line">36</em>,
  158. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp:       in <code class="function">reraise</code></h4>
  159. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp:   <div class="source library"><pre class="line before"><span class="ws">    </span>import collections.abc as collections_abc</pre>
  160. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws"></span> </pre>
  161. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">    </span>def reraise(tp, value, tb=None):</pre>
  162. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">        </span>if value.__traceback__ is not tb:</pre>
  163. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">            </span>raise value.with_traceback(tb)</pre>
  164. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line current"><span class="ws">        </span>raise value</pre>
  165. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws"></span> </pre>
  166. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">    </span>implements_to_string = _identity</pre>
  167. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws"></span> </pre>
  168. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws"></span>else:</pre>
  169. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">    </span>text_type = unicode</pre></div>
  170. 2019-07-22 15:05:06.841 28571-28665/com.example.RetrofitJava D/OkHttp: </div>
  171. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: <li><div class="frame" id="frame-111652816">
  172. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp:   <h4>File <cite class="filename">"C:\Python\Python37-32\lib\site-packages\flask\app.py"</cite>,
  173. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp:       line <em class="line">1832</em>,
  174. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp:       in <code class="function">full_dispatch_request</code></h4>
  175. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp:   <div class="source library"><pre class="line before"><span class="ws">        </span>self.try_trigger_before_first_request_functions()</pre>
  176. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">        </span>try:</pre>
  177. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">            </span>request_started.send(self)</pre>
  178. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">            </span>rv = self.preprocess_request()</pre>
  179. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">            </span>if rv is None:</pre>
  180. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line current"><span class="ws">                </span>rv = self.dispatch_request()</pre>
  181. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">        </span>except Exception as e:</pre>
  182. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">            </span>rv = self.handle_user_exception(e)</pre>
  183. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">        </span>return self.finalize_request(rv)</pre>
  184. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws"></span> </pre>
  185. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">    </span>def finalize_request(self, rv, from_error_handler=False):</pre></div>
  186. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: </div>
  187. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: <li><div class="frame" id="frame-111652720">
  188. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp:   <h4>File <cite class="filename">"C:\Python\Python37-32\lib\site-packages\flask\app.py"</cite>,
  189. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp:       line <em class="line">1818</em>,
  190. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp:       in <code class="function">dispatch_request</code></h4>
  191. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp:   <div class="source library"><pre class="line before"><span class="ws">        </span># request came with the OPTIONS method, reply automatically</pre>
  192. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">        </span>if getattr(rule, 'provide_automatic_options', False) \</pre>
  193. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">           </span>and req.method == 'OPTIONS':</pre>
  194. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">            </span>return self.make_default_options_response()</pre>
  195. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">        </span># otherwise dispatch to the handler for that endpoint</pre>
  196. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line current"><span class="ws">        </span>return self.view_functions[rule.endpoint](**req.view_args)</pre>
  197. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws"></span> </pre>
  198. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">    </span>def full_dispatch_request(self):</pre>
  199. 2019-07-22 15:05:06.842 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">        </span>&quot;&quot;&quot;Dispatches the request and on top of that performs request</pre>
  200. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">        </span>pre and postprocessing as well as HTTP exception catching and</pre>
  201. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">        </span>error handling.</pre></div>
  202. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp: </div>
  203. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp: <li><div class="frame" id="frame-111652848">
  204. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp:   <h4>File <cite class="filename">"D:\PT POS\flask-API-master\controller.py"</cite>,
  205. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp:       line <em class="line">134</em>,
  206. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp:       in <code class="function">bukuTambah</code></h4>
  207. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp:   <div class="source "><pre class="line before"><span class="ws"></span> </pre>
  208. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">        </span>dt = request.json</pre>
  209. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">        </span># q.execute(&quot;INSERT INTO buku (judul) VALUES (%s)&quot;, dt['namaBuku'])</pre>
  210. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws">        </span># mydb.commit()</pre>
  211. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line before"><span class="ws"></span> </pre>
  212. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line current"><span class="ws">        </span>addBuku(dt['judul'])</pre>
  213. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws"></span> </pre>
  214. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">        </span>response = {</pre>
  215. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">        </span>&quot;message&quot; : &quot;success&quot;,</pre>
  216. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">        </span>&quot;status&quot; : &quot;200&quot;,</pre>
  217. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp: <pre class="line after"><span class="ws">        </span>&quot;url&quot; : &quot;/api/v1/buku&quot;</pre></div>
  218. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp: </div>
  219. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp: </ul>
  220. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp:   <blockquote>TypeError: 'NoneType' object is not subscriptable</blockquote>
  221. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp: </div>
  222. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp: <div class="plain">
  223. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp:   <form action="/?__debugger__=yes&amp;cmd=paste" method="post">
  224. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp:     <p>
  225. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp:       <input type="hidden" name="language" value="pytb">
  226. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp:       This is the Copy/Paste friendly version of the traceback.  <span
  227. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp:       class="pastemessage">You can also paste this traceback into
  228. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp:       a <a href="https://gist.github.com/">gist</a>:
  229. 2019-07-22 15:05:06.843 28571-28665/com.example.RetrofitJava D/OkHttp:       <input type="submit" value="create paste"></span>
  230. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:     </p>
  231. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:     <textarea cols="50" rows="10" name="code" readonly>Traceback (most recent call last):
  232. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:   File &quot;C:\Python\Python37-32\lib\site-packages\flask\app.py&quot;, line 2328, in __call__
  233. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:     return self.wsgi_app(environ, start_response)
  234. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:   File &quot;C:\Python\Python37-32\lib\site-packages\flask\app.py&quot;, line 2314, in wsgi_app
  235. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:     response = self.handle_exception(e)
  236. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:   File &quot;C:\Python\Python37-32\lib\site-packages\flask\app.py&quot;, line 1760, in handle_exception
  237. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:     reraise(exc_type, exc_value, tb)
  238. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:   File &quot;C:\Python\Python37-32\lib\site-packages\flask\_compat.py&quot;, line 36, in reraise
  239. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:     raise value
  240. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:   File &quot;C:\Python\Python37-32\lib\site-packages\flask\app.py&quot;, line 2311, in wsgi_app
  241. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:     response = self.full_dispatch_request()
  242. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:   File &quot;C:\Python\Python37-32\lib\site-packages\flask\app.py&quot;, line 1834, in full_dispatch_request
  243. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:     rv = self.handle_user_exception(e)
  244. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:   File &quot;C:\Python\Python37-32\lib\site-packages\flask\app.py&quot;, line 1737, in handle_user_exception
  245. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:     reraise(exc_type, exc_value, tb)
  246. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:   File &quot;C:\Python\Python37-32\lib\site-packages\flask\_compat.py&quot;, line 36, in reraise
  247. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:     raise value
  248. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:   File &quot;C:\Python\Python37-32\lib\site-packages\flask\app.py&quot;, line 1832, in full_dispatch_request
  249. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:     rv = self.dispatch_request()
  250. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:   File &quot;C:\Python\Python37-32\lib\site-packages\flask\app.py&quot;, line 1818, in dispatch_request
  251. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:     return self.view_functions[rule.endpoint](**req.view_args)
  252. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:   File &quot;D:\PT POS\flask-API-master\controller.py&quot;, line 134, in bukuTambah
  253. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:     addBuku(dt['judul'])
  254. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp: TypeError: 'NoneType' object is not subscriptable</textarea>
  255. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:   </form>
  256. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp: </div>
  257. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp: <div class="explanation">
  258. 2019-07-22 15:05:06.844 28571-28665/com.example.RetrofitJava D/OkHttp:   The debugger caught an exception in your WSGI application.  You can now
  259. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:   look at the traceback which led to the error.  <span class="nojavascript">
  260. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:   If you enable JavaScript you can also use additional features such as code
  261. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:   execution (if the evalex feature is enabled), automatic pasting of the
  262. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:   exceptions and much more.</span>
  263. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp: </div>
  264. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:       <div class="footer">
  265. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:         Brought to you by <strong class="arthur">DON'T PANIC</strong>, your
  266. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:         friendly Werkzeug powered traceback interpreter.
  267. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:       </div>
  268. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:     </div>
  269. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:     <div class="pin-prompt">
  270. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:       <div class="inner">
  271. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:         <h3>Console Locked</h3>
  272. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:         <p>
  273. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:           The console is locked and needs to be unlocked by entering the PIN.
  274. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:           You can find the PIN printed out on the standard output of your
  275. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:           shell that runs the server.
  276. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:         <form>
  277. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:           <p>PIN:
  278. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:             <input type=text name=pin size=14>
  279. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:             <input type=submit name=btn value="Confirm Pin">
  280. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:         </form>
  281. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:       </div>
  282. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:     </div>
  283. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp:   </body>
  284. 2019-07-22 15:05:06.845 28571-28665/com.example.RetrofitJava D/OkHttp: </html>
  285. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp: <!--
  286. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp: Traceback (most recent call last):
  287. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:   File "C:\Python\Python37-32\lib\site-packages\flask\app.py", line 2328, in __call__
  288. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:     return self.wsgi_app(environ, start_response)
  289. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:   File "C:\Python\Python37-32\lib\site-packages\flask\app.py", line 2314, in wsgi_app
  290. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:     response = self.handle_exception(e)
  291. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:   File "C:\Python\Python37-32\lib\site-packages\flask\app.py", line 1760, in handle_exception
  292. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:     reraise(exc_type, exc_value, tb)
  293. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:   File "C:\Python\Python37-32\lib\site-packages\flask\_compat.py", line 36, in reraise
  294. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:     raise value
  295. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:   File "C:\Python\Python37-32\lib\site-packages\flask\app.py", line 2311, in wsgi_app
  296. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:     response = self.full_dispatch_request()
  297. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:   File "C:\Python\Python37-32\lib\site-packages\flask\app.py", line 1834, in full_dispatch_request
  298. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:     rv = self.handle_user_exception(e)
  299. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:   File "C:\Python\Python37-32\lib\site-packages\flask\app.py", line 1737, in handle_user_exception
  300. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:     reraise(exc_type, exc_value, tb)
  301. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:   File "C:\Python\Python37-32\lib\site-packages\flask\_compat.py", line 36, in reraise
  302. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:     raise value
  303. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:   File "C:\Python\Python37-32\lib\site-packages\flask\app.py", line 1832, in full_dispatch_request
  304. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:     rv = self.dispatch_request()
  305. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:   File "C:\Python\Python37-32\lib\site-packages\flask\app.py", line 1818, in dispatch_request
  306. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:     return self.view_functions[rule.endpoint](**req.view_args)
  307. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:   File "D:\PT POS\flask-API-master\controller.py", line 134, in bukuTambah
  308. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp:     addBuku(dt['judul'])
  309. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp: TypeError: 'NoneType' object is not subscriptable
  310. 2019-07-22 15:05:06.846 28571-28665/com.example.RetrofitJava D/OkHttp: -->
  311. 2019-07-22 15:05:06.847 28571-28665/com.example.RetrofitJava D/OkHttp: <-- END HTTP (20048-byte body)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top