Richard A

Results 8 comments of Richard A

Okay I have now loaded 'tslib' and installed numpy but getting the following error - any suggestions? ``` File "/Users/.../venv/lib/python3.9/site-packages/js2py/node_import.py", line 107, in _get_and_translate_npm_module assert subprocess.call( AssertionError: Error when converting...

Here is the whole error: `Traceback (most recent call last): File "/Library/Python/3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 556, in _run_script exec(code, module.__dict__) File "/Users/richardatkinson/Documents/xxx/pages/Valr.py", line 36, in st.write(c.delete_order(currency_pair=orders[i]['currencyPair'], order_id=orders[i]['orderId'])) File "/Library/Python/3.9/site-packages/valr_python/decorators.py", line 16, in...

Having a bit more of a look, I think it is probably because the API is *only* returning a 200 status code and no body which is making your library...

Oh and I installed form the github repo btw so working on the latest version.

Hey @jonathanelscpt - any luck with this?

I looked into this a bit more, what I think is happening is the delete order endpoint doesn't return a request body, which is tripping up the `JSONDecodeError` part of...

@jonathanelscpt [Pull Request here](https://github.com/jonathanelscpt/valr-python/pull/21). It is a bit hacky but it works 🤷

Hey @jonathanelscpt - have you had a chance to look at this? :)