Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: unsupported operand type(s) for +: 'int' and 'str' #3

Open
learning2016 opened this issue Jan 24, 2021 · 1 comment
Open

Comments

@learning2016
Copy link

Hello
I have encountered an error. Can you tell me how to fix it?
Looking forward to your reply

Traceback (most recent call last):
File "jira_search_replace.py", line 87, in
main()
File "jira_search_replace.py", line 15, in main
issues=get_issues(config)
File "jira_search_replace.py", line 27, in get_issues
data=util.do_post(config['instance'],'search',post_data)
File "/scripts/jira_search_replace/util.py", line 60, in do_post
return handle_status(url,data,r)
File "/scripts/jira_search_replace/util.py", line 85, in handle_status
log_error(url,r.status_code,r.reason,r.text,json.dumps(data,indent=2))
File "/scripts/jira_search_replace/util.py", line 14, in log_error
f.write(arg+'\n')
TypeError: unsupported operand type(s) for +: 'int' and 'str'

@SiriusGale
Copy link

You should remove slash from end of url

[instance]
url=https://jira.domen.xx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants