Looks like the API of prettytable was changed between 0.5.0 and 0.6.0. Running clb now fails with:
$ clb list
Traceback (most recent call last):
File "/Users/joeshaw/src/rackspace/bin/clb", line 917, in <module>
CloudloadbalancersShell().main(sys.argv[1:])
File "/Users/joeshaw/src/rackspace/bin/clb", line 196, in main
args.func(args)
File "/Users/joeshaw/src/rackspace/bin/clb", line 320, in do_list
print_list2(fields, rows, args.batch, args.delimiter)
File "/Users/joeshaw/src/rackspace/bin/clb", line 889, in print_list2
pt.printt()
File "/Users/joeshaw/src/rackspace/lib/python2.7/site-packages/prettytable.py", line 163, in __getattr__
raise AttributeError(name)
AttributeError: printt
Things work if I uninstall 0.6.0 and install 0.5.0, so a workaround could be to explicitly require "prettytable==0.5.0" in setup.py.
Looks like the API of prettytable was changed between 0.5.0 and 0.6.0. Running clb now fails with:
Things work if I uninstall 0.6.0 and install 0.5.0, so a workaround could be to explicitly require "prettytable==0.5.0" in setup.py.