-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Shared Data, Data Libraries - Uncaught exception in exposed API method #1619
Comments
If you look at the following code: |
@gad83 I think this depends on locale because it works on our instances and in all my tests :/ |
@gad83 The problem is not the |
thanks guys for the reply! |
@gad83 What MySQL version? https://bugs.mysql.com/bug.php?id=8523 should be fixed in 5.6.4 |
@gad83 Can you try the following patch:
|
@nsoranzo very defensive, very nice |
@gad83 If you can confirm that the above patch works for you, I can open a pull request. What version of Galaxy are you using? |
Hello @nsoranzo Sorry but I have another uncaught exceptions:
|
@gad83 Did you restart the Galaxy instance? |
oops! |
@gad83 Thanks for testing! What version of Galaxy are you using? I want to be sure I'm fixing the release you are on. |
release_15.10 |
fixed, thanks @nsoranzo |
Hello,
When I click on Shared Data --> Data Libraries a message appears: "Uncaught exception in exposed API method" (ref. picture attached).
Here is the logs:
192.168.0.1 - - [29/Jan/2016:13:13:18 -0400] "GET /galaxy-prod/library/list HTTP/1.1" 200 - "http://my.galaxy.my.network.com:8081/galaxy-prod/library/list" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36" 192.168.0.1 - - [29/Jan/2016:13:13:19 -0400] "GET /galaxy-prod/api/datatypes?extension_only=False& HTTP/1.1" 200 - "http://my.galaxy.my.network.com:8081/galaxy-prod/library/list" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36" 192.168.0.1 - - [29/Jan/2016:13:13:19 -0400] "GET /galaxy-prod/api/genomes HTTP/1.1" 200 - "http://my.galaxy.my.network.com:8081/galaxy-prod/library/list" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36" galaxy.web.framework.decorators ERROR 2016-01-29 13:13:19,311 Uncaught exception in exposed API method: Traceback (most recent call last): File "/home/galaxy/galaxy-prod/lib/galaxy/web/framework/decorators.py", line 260, in decorator rval = func( self, trans, *args, **kwargs) File "/home/galaxy/galaxy-prod/lib/galaxy/webapps/galaxy/api/libraries.py", line 43, in index libraries.append( self.library_manager.get_library_dict( trans, library ) ) File "/home/galaxy/galaxy-prod/lib/galaxy/managers/libraries.py", line 189, in get_library_dict library_dict[ 'create_time_pretty'] = pretty_print_time_interval( library_dict[ 'create_time' ], precise=True ) File "/home/galaxy/galaxy-prod/lib/galaxy/util/__init__.py", line 355, in pretty_print_time_interval time = datetime.strptime( time, "%Y-%m-%dT%H:%M:%S.%f" ) File "/usr/lib64/python2.6/_strptime.py", line 325, in _strptime (data_string, format)) ValueError: time data '2015-01-30T13:37:07' does not match format '%Y-%m-%dT%H:%M:%S.%f' 192.168.0.1 - - [29/Jan/2016:13:13:19 -0400] "GET /galaxy-prod/api/libraries HTTP/1.1" 500 - "http://my.galaxy.my.network.com:8081/galaxy-prod/library/list" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36"
I believe it's a simple typo (because the T is next to the %)
The text was updated successfully, but these errors were encountered: