Jython's bare except won't catch Java exceptions, for complicated reasons. You must add an additional catch clause:
except