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

Breaks with prettytable==0.6.0 #24

Closed
joeshaw opened this issue May 31, 2012 · 1 comment
Closed

Breaks with prettytable==0.6.0 #24

joeshaw opened this issue May 31, 2012 · 1 comment

Comments

@joeshaw
Copy link

joeshaw commented May 31, 2012

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.

@joeshaw
Copy link
Author

joeshaw commented Jun 6, 2012

pull request #25 fixed this.

@joeshaw joeshaw closed this as completed Jun 6, 2012
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

1 participant