Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. 2018-10-23 12:43:48,584 - common.logging - WARNING - Order with CreateDate=2018-10-22__00505602-0A19-1EE7-AD9A-E4AC9AC13499 have zero discount for all products.
  2. Order data: {'client_uuid': '00505602-0a19-1ee7-ad9a-e4ac9ac13499', 'pos_code': '4421', 'sap_codes': ['000000004300087817']}
  3. 2018-10-23 12:45:57,174 - common.logging - WARNING - ----- Wrong mime-type or something else ------
  4. <html>
  5. <head><title>504 Gateway Time-out</title></head>
  6. <body bgcolor="white">
  7. <center><h1>504 Gateway Time-out</h1></center>
  8. <hr><center>nginx/1.10.3</center>
  9. </body>
  10. </html>
  11.  
  12. Traceback (most recent call last):
  13. File "/home/birukov.oleg/Documents/GIT/G585/mindbox_dropped_shopcarts/dropped_shopcarts/rtom/client.py", line 60, in create_offer
  14. offer = await resp.json()
  15. File "/home/birukov.oleg/Documents/GIT/G585/mindbox_dropped_shopcarts/.venv/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 938, in json
  16. headers=self.headers)
  17. aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html'
  18.  
  19. During handling of the above exception, another exception occurred:
  20.  
  21. Traceback (most recent call last):
  22. File "/home/birukov.oleg/Documents/GIT/G585/mindbox_dropped_shopcarts/dropped_shopcarts/main.py", line 131, in <module>
  23. ioloop.run_until_complete(main(ioloop))
  24. File "uvloop/loop.pyx", line 1448, in uvloop.loop.Loop.run_until_complete
  25. File "/home/birukov.oleg/Documents/GIT/G585/mindbox_dropped_shopcarts/dropped_shopcarts/main.py", line 99, in main
  26. client_uuid=client_uuid, json_data=offer_json, valid_to=valid_to)
  27. File "/home/birukov.oleg/Documents/GIT/G585/mindbox_dropped_shopcarts/dropped_shopcarts/rtom/client.py", line 83, in create_offer
  28. txt = await resp.text()
  29. UnboundLocalError: local variable 'request' referenced before assignment
  30.  
  31. Process finished with exit code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement