I was using the quotas api to update a quota amount and got the error:
galaxy.web.framework ERROR 2013-07-30 15:40:59,149 Uncaught exception in exposed API method:
Traceback (most recent call last):
File "/Users/jj/gxt/gxt/lib/galaxy/web/framework/__init__.py", line 189, in decorator
rval = func( self, trans, *args, **kwargs)
File "/Users/jj/gxt/gxt/lib/galaxy/web/framework/__init__.py", line 221, in decorator
return func( self, trans, *args, **kwargs )
File "/Users/jj/gxt/gxt/lib/galaxy/webapps/galaxy/api/quotas.py", line 108, in update
except ActionInputError, e:
NameError: global name 'ActionInputError' is not defined
Was ActionInputError meant to be a class in lib/galaxy/exceptions/__init__.py ?
diff -r 951e853b0bcd lib/galaxy/exceptions/__init__.py
--- a/lib/galaxy/exceptions/__init__.py Tue Jul 30 12:54:02 2013 -0400
+++ b/lib/galaxy/exceptions/__init__.py Tue Jul 30 16:38:50 2013 -0500
@@ -21,6 +21,9 @@
class ItemOwnershipException( MessageException ):
pass
+class ActionInputError( MessageException ):
+ pass
+
class ObjectNotFound( Exception ):
""" Accessed object was not found """
pass
--
James E. Johnson, Minnesota Supercomputing Institute, University of Minnesota