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

Problem in uploading pictures from local directory #2

Closed
maniacinsane opened this issue Jul 12, 2011 · 1 comment
Closed

Problem in uploading pictures from local directory #2

maniacinsane opened this issue Jul 12, 2011 · 1 comment

Comments

@maniacinsane
Copy link

When a picture is given as an URL, the wrapper seems to work perfectly, however the same picture stored in the local drive when called for face_detect (for example) throws up the following error :

Traceback (most recent call last):
File "", line 1, in
File "c:\python27\lib\site-packages\face_client\face_client.py", line 77, in f
aces_detect
response = self.send_request('faces/detect', data)
File "c:\python27\lib\site-packages\face_client\face_client.py", line 328, in
send_request
raise FaceError(response_data['error_code'], response_data['error_message'])

face_client.face_client.FaceError: INVALID_ARGUMENTS_VALUE - Can only upload ima
ge files (406)

@Kami
Copy link
Owner

Kami commented Jul 17, 2011

I have tried to replicate your problem today, but I couldn't do it.

Are you sure that the file you trying to upload is a valid image? Maybe the image is corrupted?

@Kami Kami closed this as completed Sep 21, 2011
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