areed1192 / python-trading-robot

A trading robot, that can submit basic orders in an automated fashion using the TD API.
MIT License
527 stars 311 forks source link

MacOS Catalina - Pasting redirect URLs > 1024 chars results in hang #1

Closed ewalk002 closed 4 years ago

ewalk002 commented 4 years ago

input('Paste the full URL redirect here: ')

hangs if the input string (from output URL) is larger than 1024 chars. This appears to be a limitation with the MacOS tty buffer limit. I shortened my REDIRECT_URI to a shorter name, and luckily managed to get a URL that was only 1017 chars -- that worked no problem.

related: https://stackoverflow.com/questions/9218499/pexpect-cant-pass-input-over-1024-chars

ewalk002 commented 4 years ago

wrong repo