-
Notifications
You must be signed in to change notification settings - Fork 24
describe_images() doesn't work for me ? #21
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
Comments
Unfortunately the package isn't playing well with non-ASCII strings. Creating and deleting instances seems to work, luckily, but anytime there is any string building or displaying it is likely to blow up due to non-ASCII characters in some field. |
@heikkiquixey any work around to let me get list of all available images ? |
I don't think I have needed to do that yet, so I don't know. You might want to see where exactly in the code it is blowing up and then you should be able to convert the strings properly (rather than just assuming str() or unicode() will work). |
Mebbe something like this?
The method grabs the objects from the API, it can't |
This can work if the bad strings are printed out to a console rather than the interactive terminal I think. I no longer have access credentials, so it's a little more difficult for me to troubleshoot this. |
I have successfully created ECS connection with 'cn-beijing' and all other functions work fine, like create_and_start_instance(), stop_instance(), delete_instance() , etc.
However, it always failed to list all images and here is what I get :
Can you help with it ?
The text was updated successfully, but these errors were encountered: