Advertisement
Guest User

Untitled

a guest
Apr 1st, 2020
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.69 KB | None | 0 0
  1. C:\Users\domzbrz\PycharmProjects\mf-shipment-api\venv\Scripts\python.exe C:/Users/domzbrz/PycharmProjects/mf-shipment-api/mf_shipment_api/main.py
  2. * Serving Flask main "main" (lazy loading)
  3. * Environment: production
  4. WARNING: This is a development server. Do not use it in a production deployment.
  5. Use a production WSGI server instead.
  6. * Debug mode: on
  7. * Restarting with stat
  8. * Debugger is active!
  9. * Debugger PIN: 103-933-064
  10. * Running on http://localhost:8081/ (Press CTRL+C to quit)
  11. 127.0.0.1 - - [01/Apr/2020 12:38:31] "POST /shipment HTTP/1.1" 500 -
  12. Traceback (most recent call last):
  13. File "C:\Users\domzbrz\PycharmProjects\mf-shipment-api\mf_shipment_api\clients\mf_tracking_api_client.py", line 45, in create_tracking_context
  14. response.raise_for_status()
  15. File "C:\Users\domzbrz\PycharmProjects\mf-shipment-api\venv\lib\site-packages\requests\models.py", line 941, in raise_for_status
  16. raise HTTPError(http_error_msg, response=self)
  17. requests.exceptions.HTTPError: 400 Client Error: BAD REQUEST for url: http://127.0.0.1:8080/trackings
  18.  
  19. During handling of the above exception, another exception occurred:
  20.  
  21. Traceback (most recent call last):
  22. File "C:\Users\domzbrz\PycharmProjects\mf-shipment-api\venv\lib\site-packages\flask\app.py", line 2463, in __call__
  23. return self.wsgi_app(environ, start_response)
  24. File "C:\Users\domzbrz\PycharmProjects\mf-shipment-api\venv\lib\site-packages\flask\app.py", line 2449, in wsgi_app
  25. response = self.handle_exception(e)
  26. File "C:\Users\domzbrz\PycharmProjects\mf-shipment-api\venv\lib\site-packages\flask\app.py", line 1866, in handle_exception
  27. reraise(exc_type, exc_value, tb)
  28. File "C:\Users\domzbrz\PycharmProjects\mf-shipment-api\venv\lib\site-packages\flask\_compat.py", line 39, in reraise
  29. raise value
  30. File "C:\Users\domzbrz\PycharmProjects\mf-shipment-api\venv\lib\site-packages\flask\app.py", line 2446, in wsgi_app
  31. response = self.full_dispatch_request()
  32. File "C:\Users\domzbrz\PycharmProjects\mf-shipment-api\venv\lib\site-packages\flask\app.py", line 1951, in full_dispatch_request
  33. rv = self.handle_user_exception(e)
  34. File "C:\Users\domzbrz\PycharmProjects\mf-shipment-api\venv\lib\site-packages\flask\app.py", line 1820, in handle_user_exception
  35. reraise(exc_type, exc_value, tb)
  36. File "C:\Users\domzbrz\PycharmProjects\mf-shipment-api\venv\lib\site-packages\flask\_compat.py", line 39, in reraise
  37. raise value
  38. File "C:\Users\domzbrz\PycharmProjects\mf-shipment-api\venv\lib\site-packages\flask\app.py", line 1949, in full_dispatch_request
  39. rv = self.dispatch_request()
  40. File "C:\Users\domzbrz\PycharmProjects\mf-shipment-api\venv\lib\site-packages\flask\app.py", line 1935, in dispatch_request
  41. return self.view_functions[rule.endpoint](**req.view_args)
  42. File "C:\Users\domzbrz\PycharmProjects\mf-shipment-api\venv\lib\site-packages\flask_injector\__init__.py", line 157, in view
  43. return self.dispatch_request(*args, **kwargs)
  44. File "C:\Users\domzbrz\PycharmProjects\mf-shipment-api\venv\lib\site-packages\flask\views.py", line 163, in dispatch_request
  45. return meth(*args, **kwargs)
  46. File "C:\Users\domzbrz\PycharmProjects\mf-shipment-api\mf_shipment_api\tools\tools.py", line 8, in _wrapper
  47. return func(*args, **kwargs)
  48. File "C:\Users\domzbrz\PycharmProjects\mf-shipment-api\mf_shipment_api\views\shipment.py", line 43, in post
  49. self.mf_tracking_api_client.create_tracking_context(tracking_request)
  50. File "C:\Users\domzbrz\PycharmProjects\mf-shipment-api\mf_shipment_api\clients\mf_tracking_api_client.py", line 47, in create_tracking_context
  51. raise ValidationError
  52. TypeError: __init__() missing 1 required positional argument: 'message'
  53.  
  54. Process finished with exit code -1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement