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 -: 'str' and 'int' #18

Open
yangxuan8282 opened this issue Jan 16, 2019 · 0 comments
Open

TypeError: unsupported operand type(s) for -: 'str' and 'int' #18

yangxuan8282 opened this issue Jan 16, 2019 · 0 comments

Comments

@yangxuan8282
Copy link

yangxuan8282 commented Jan 16, 2019

when run on WSL(debian), got this error:

Checking if file exists...
Fetching metadata...
Traceback (most recent call last):
  File "/usr/bin/send-cli", line 124, in <module>
    case_url(args.url)
  File "/usr/bin/send-cli", line 53, in case_url
    file, suggested_name = sendclient.download.send_urlToFile(url, ignoreVersion=args.ignore_version)
  File "/usr/lib/python3.6/site-packages/sendclient/download.py", line 144, in send_urlToFile
    print('The file wishes to be called \'' + metadata['name'] + '\' and is ' + str(jsonMeta['size'] - 16) + ' bytes in size')
TypeError: unsupported operand type(s) for -: 'str' and 'int'
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