Although it was working fine in the past (and older shared histories are still shared) we are currently experiencing an issue sharing histories on our local Galaxy server. I really don’t understand the error messages at all, other than it looking
like its possible a proxy/webserver issue. After entering an email (which is a list for admin users but blank for non-admin users) I get the Internal Server Error page. Here is the log:
Error - <type 'exceptions.TypeError'>: append() takes exactly one argument (0 given)
File '/Users/galaxy/galaxy-dist/lib/galaxy/web/framework/middleware/error.py', line 149 in __call__
app_iter = self.application(environ, sr_checker)
File '/Library/Python/2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/recursive.py', line 84 in __call__
return self.application(environ, start_response)
File '/Library/Python/2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/httpexceptions.py', line 633 in __call__
return self.application(environ, start_response)
File '/Users/galaxy/galaxy-dist/lib/galaxy/web/framework/base.py', line 133 in __call__
return self.handle_request( environ, start_response )
File '/Users/galaxy/galaxy-dist/lib/galaxy/web/framework/base.py', line 191 in handle_request
body = method( trans, **kwargs )
File '/Users/galaxy/galaxy-dist/lib/galaxy/web/framework/decorators.py', line 64 in decorator
return func( self, trans, *args, **kwargs )
File '/Users/galaxy/galaxy-dist/lib/galaxy/webapps/galaxy/controllers/history.py', line 783 in share
histories = self._get_histories( trans, id )
File '/Users/galaxy/galaxy-dist/lib/galaxy/webapps/galaxy/controllers/history.py', line 902 in _get_histories
histories.append( )
TypeError: append() takes exactly one argument (0 given)
CGI Variables
-------------
CONTENT_LENGTH: '-1'
CONTENT_TYPE: 'application/x-www-form-urlencoded'
HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_ENCODING: 'gzip, deflate'
HTTP_ACCEPT_LANGUAGE: 'en-us'
HTTP_CONNECTION: 'close'
HTTP_COOKIE: 'galaxysession=c6ca0ddb55be603affb9e7f3db8ec24e38c21f8e92c63c0423b0bca935c4829106a35253947071a3; __utma=156947391.1608730577.1432903437.1432903437.1432903437.1; __utmz=156947391.1432903437.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)'
HTTP_DNT: '1'
HTTP_USER_AGENT: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/600.6.3 (KHTML, like Gecko) Version/8.0.6 Safari/600.6.3'
HTTP_X_FORWARDED_FOR: '127.0.0.1'
HTTP_X_FORWARDED_HOST: '****.****.
ucl.ac.uk:8080'
HTTP_X_FORWARDED_SERVER: '****.****.
ucl.ac.uk'
ORGINAL_HTTP_HOST: 'localhost:8081'
ORGINAL_REMOTE_ADDR: '127.0.0.1'
PATH_INFO: '/history/share'
REMOTE_ADDR: '127.0.0.1'
REQUEST_METHOD: 'POST'
SERVER_NAME: '0.0.0.0'
SERVER_PORT: '8081'
SERVER_PROTOCOL: 'HTTP/1.1'
WSGI Variables
--------------
application: <paste.recursive.RecursiveMiddleware object at 0x10cc3e290>
is_api_request: False
paste.cookies: (<SimpleCookie: __utma='156947391.1608730577.1432903437.1432903437.1432903437.1' __utmz='156947391.1432903437.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)' galaxysession='c6ca0ddb55be603affb9e7f3db8ec24e38c21f8e92c63c0423b0bca935c4829106a35253947071a3'>,
'galaxysession=c6ca0ddb55be603affb9e7f3db8ec24e38c21f8e92c63c0423b0bca935c4829106a35253947071a3; __utma=156947391.1608730577.1432903437.1432903437.1432903437.1; __utmz=156947391.1432903437.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)')
paste.expected_exceptions: [<class 'paste.httpexceptions.HTTPException'>]
paste.httpexceptions: <paste.httpexceptions.HTTPExceptionHandler object at 0x10cc3e1d0>
paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0x10d21f690>
paste.recursive.forward: <paste.recursive.Forwarder from />
paste.recursive.include: <paste.recursive.Includer from />
paste.recursive.include_app_iter: <paste.recursive.IncluderAppIter from />
paste.recursive.script_name: ''
paste.throw_errors: True
request_id: '96fdc0dc090b11e5aa28685b359a2712'
webob._parsed_post_vars: (MultiDict([('id', '93d12697461a7974'), ('email', '33b43b4e7093c91f'), ('share_button', 'Submit')]), <FakeCGIBody at 10d4be2d0 viewing MultiDict([('id...t')])>)
webob._parsed_query_vars: (MultiDict([]), '')
wsgi process: 'Multithreaded'
------------------------------------------------------------