Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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.
- Order data: {'client_uuid': '00505602-0a19-1ee7-ad9a-e4ac9ac13499', 'pos_code': '4421', 'sap_codes': ['000000004300087817']}
- 2018-10-23 12:45:57,174 - common.logging - WARNING - ----- Wrong mime-type or something else ------
- <html>
- <head><title>504 Gateway Time-out</title></head>
- <body bgcolor="white">
- <center><h1>504 Gateway Time-out</h1></center>
- <hr><center>nginx/1.10.3</center>
- </body>
- </html>
- Traceback (most recent call last):
- File "/home/birukov.oleg/Documents/GIT/G585/mindbox_dropped_shopcarts/dropped_shopcarts/rtom/client.py", line 60, in create_offer
- offer = await resp.json()
- File "/home/birukov.oleg/Documents/GIT/G585/mindbox_dropped_shopcarts/.venv/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 938, in json
- headers=self.headers)
- aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/birukov.oleg/Documents/GIT/G585/mindbox_dropped_shopcarts/dropped_shopcarts/main.py", line 131, in <module>
- ioloop.run_until_complete(main(ioloop))
- File "uvloop/loop.pyx", line 1448, in uvloop.loop.Loop.run_until_complete
- File "/home/birukov.oleg/Documents/GIT/G585/mindbox_dropped_shopcarts/dropped_shopcarts/main.py", line 99, in main
- client_uuid=client_uuid, json_data=offer_json, valid_to=valid_to)
- File "/home/birukov.oleg/Documents/GIT/G585/mindbox_dropped_shopcarts/dropped_shopcarts/rtom/client.py", line 83, in create_offer
- txt = await resp.text()
- UnboundLocalError: local variable 'request' referenced before assignment
- Process finished with exit code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement