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
trovebox -c test -X POST -e /photo/upload.json -F photo=@~/Pictures/opmeqnqXBX-28cbef_960x180.jpg
Traceback (most recent call last):
File "/usr/local/bin/trovebox", line 9, in <module>
load_entry_point('trovebox==0.5', 'console_scripts', 'trovebox')()
File "/usr/local/lib/python2.7/dist-packages/trovebox/main.py", line 90, in main
params, files = extract_files(params)
File "/usr/local/lib/python2.7/dist-packages/trovebox/main.py", line 126, in extract_files
files[name] = open(params[name][1:], 'rb')
IOError: [Errno 2] No such file or directory: '~/Pictures/opmeqnqXBX-28cbef_960x180.jpg'
But it works if /home/pete/file.jpg is used instead of ~/file.jpg
But it works if /home/pete/file.jpg is used instead of ~/file.jpg