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
On Jul 30, 2013, at 5:39 PM, Jim Johnson wrote:
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
Hi JJ, That was the idea, I guess I only finished half of that idea before committing it... It should be fixed in e7e82003f235. Thanks, --nate
-- James E. Johnson, Minnesota Supercomputing Institute, University of Minnesota ___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
participants (2)
-
Jim Johnson
-
Nate Coraor