You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I keep getting the following error when I try to run any of the pages. The config file is there in the right folder. If I take the values from the config file then I am able to move forwards but unable to read the credentials from the config file. Any thoughts?
Message=No section: 'main'
Source=E:\Dropbox\Documents\Visual Studio 2019\Projects\td-ameritrade-python-api\tests\unit\test_stream.py
StackTrace:
File "E:\Dropbox\Documents\Visual Studio 2019\Projects\td-ameritrade-python-api\tests\unit\test_stream.py", line 21, in setUp (Current frame)
CLIENT_ID = config.get('main', 'CLIENT_ID')
File "E:\Dropbox\Documents\Visual Studio 2019\Projects\td-ameritrade-python-api\tests\unit\test_stream.py", line 155, in
unittest.main()
The readme example script was able to read the file for me, maybe you're missing the [main] part? FWI i manually created this file, idk if we're supposed to. I'm running into a diff error later in the readme example script.
I keep getting the following error when I try to run any of the pages. The config file is there in the right folder. If I take the values from the config file then I am able to move forwards but unable to read the credentials from the config file. Any thoughts?
Message=No section: 'main'
Source=E:\Dropbox\Documents\Visual Studio 2019\Projects\td-ameritrade-python-api\tests\unit\test_stream.py
StackTrace:
File "E:\Dropbox\Documents\Visual Studio 2019\Projects\td-ameritrade-python-api\tests\unit\test_stream.py", line 21, in setUp (Current frame)
CLIENT_ID = config.get('main', 'CLIENT_ID')
File "E:\Dropbox\Documents\Visual Studio 2019\Projects\td-ameritrade-python-api\tests\unit\test_stream.py", line 155, in
unittest.main()
Here is the section of the code:
The text was updated successfully, but these errors were encountered: