I have a freshly installed local Galaxy server, and I'm trying to create a new data library through the (new) interface. Everything seems in order, but when I click the "create" button I get the following popup:
"Uncaught exception in exposed API method"
In the logs, I get the following error:
galaxy.web.framework.decorators ERROR 2015-12-14 11:48:53,435 Uncaught exception in exposed API method: Traceback (most recent call last): File "lib/galaxy/web/framework/decorators.py", line 260, in decorator rval = func( self, trans, *args, **kwargs) File "lib/galaxy/webapps/galaxy/api/libraries.py", line 112, in create library_dict = self.library_manager.get_library_dict( trans, library ) File "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 "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/lib/python2.7/_strptime.py", line 325, in _strptime (data_string, format)) ValueError: time data '2015-12-14T11:48:53' does not match format '%Y-%m-%dT%H:%M:%S.%f'
It seems like the python interpreter doesn't parse the datetime output correctly..