Thanks for reporting this issue. I get the same traceback when attempting to run "ufw --dry-run" on Ubuntu Precise. I guess the reason is that it ries to run an option from the commandline arguments which should be run as a dry-run. However, it tries to run a non-existing argument since it wasn't specified. It should probably check whether an argument is specified rather than simply crashing.
** Changed in: ufw (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/946332 Title: ufw --dry-run throws a python exception To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ufw/+bug/946332/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs