-
Notifications
You must be signed in to change notification settings - Fork 63
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
Object DeserializationError / unicode #107
Comments
So, that's deserialization issue, and seeing the trace you received something from the server. That something wasn't matching the expected behavior it seems. client.config.enable_http_logger = True and log using logging as usual in DEBUG mode. I will try to see if I find time myself to reproduce it. Edit: let's keep both issue opened until I know if it's msrest, or SDK or server. |
It seems the service team did an update in the dev branch I didn't release yet: That updates OCRResult. Could you try from that PR? You will find a direct wheel download from that PR, no need to use pip black magic to install from git. |
After investigation, not a msrest issue but really a generated SDK. Track the fix in the SDK repo. |
I have modified the example
image_analysis_in_stream
athttps://github.com/Azure-Samples/cognitive-services-python-sdk-samples/blob/master/samples/vision/computer_vision_samples.py
to rather carry out OCR, i.e.This gives the following Traceback:
Line 962 requires a response code of 200, so can I assume
image_stream
is valid?How do I then deserialize
OcrResult
to JSON?Is this an API version mismatch..?
Thanks for any speedy help.
(This is a cross-posting of Azure/azure-sdk-for-python#2769)
The text was updated successfully, but these errors were encountered: