-
Notifications
You must be signed in to change notification settings - Fork 705
Description
Traceback (most recent call last):
File "c:\Users\James.vscode\extensions\ms-python.python-2019.10.41019\pythonFiles\ptvsd_launcher.py", line 43, in
main(ptvsdArgs)
File "c:\Users\James.vscode\extensions\ms-python.python-2019.10.41019\pythonFiles\lib\python\old_ptvsd\ptvsd_main_.py", line 432, in main
run()
File "c:\Users\James.vscode\extensions\ms-python.python-2019.10.41019\pythonFiles\lib\python\old_ptvsd\ptvsd_main_.py", line 316, in run_file
runpy.run_path(target, run_name='main')
File "C:\Users\James\Anaconda3\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\Users\James\Anaconda3\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\James\Anaconda3\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "c:\projects\jira-scripts\assign-environment-permissions.py", line 14, in
for project in bamboo.projects():
File "C:\Users\James\Anaconda3\lib\site-packages\atlassian\bamboo.py", line 33, in _get_generator
results = response[elements_key]
TypeError: string indices must be integers
I get the above error when my password isn't valid.
sample code:
for project in bamboo.projects():
print(project)