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

KeyError when handling errors #14

Open
chimezie opened this issue May 14, 2013 · 0 comments
Open

KeyError when handling errors #14

chimezie opened this issue May 14, 2013 · 0 comments

Comments

@chimezie
Copy link

When I hit an error in an XSL transform, amara triggers a KeyError while attempting to handle the error, giving the following traceback:

File "/Library/Python/2.6/site-packages/amara/xslt/tree/attribute_types.py", line 457, in prepare
col=element.columnNumber, msg=str(error))
File "/Library/Python/2.6/site-packages/amara/init.py", line 29, in init
message %= kwds
KeyError: 'text'

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