rackerlabs / developer.rackspace.com

Gen 3 of the developer.rackspace.com Portal
Apache License 2.0
47 stars 59 forks source link

Error using basic rax.py #1168

Open fewknow opened 7 years ago

fewknow commented 7 years ago

Seems to work with

RAX_REGION=DFW ./rax.py --list {}

but trying a different region fails.

RAX_REGION=IAD ./rax.py --list Traceback (most recent call last): File "./rax.py", line 282, in main() File "./rax.py", line 275, in main _list(regions) File "./rax.py", line 185, in _list imagegroup = 'image-%s' % images[server.image['id']] TypeError: string indices must be integers

Any help would be great...thanks

TodorTuparov commented 7 years ago

I have noticed the same: with ~/.raxpub containing region = ORD

TodorTuparov commented 7 years ago
main()

File "/usr/bin/rax.py", line 461, in main _list(regions, refresh_cache=args.refresh_cache) File "/usr/bin/rax.py", line 374, in _list _list_into_cache(regions) File "/usr/bin/rax.py", line 310, in _list_into_cache imagegroup = 'image-%s' % images[server.image['id']] TypeError: string indices must be integers