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: not all arguments converted during string formatting #48

Open
Lyuk opened this issue Oct 10, 2016 · 0 comments
Open

TypeError: not all arguments converted during string formatting #48

Lyuk opened this issue Oct 10, 2016 · 0 comments

Comments

@Lyuk
Copy link

Lyuk commented Oct 10, 2016

this is code ;

url = 'http://httpbin.org/post'
files = {'file': ('report.csv', 'some,data,to,send\nanother,row,to,send\n')}
r = requests.post(url, files=files)

this is error:
File "D:\Python27\lib\site-packages\human_curl\utils.py", line 306, in make_curl_post_files
result.append((k, checker(k2)))
File "D:\Python27\lib\site-packages\human_curl\utils.py", line 297, in checker
raise RuntimeError("File %s doesn't exist" % v)
TypeError: not all arguments converted during string formatting

not requests compatibility ?

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

1 participant