Hi Richard, I think this was recently fixed by Björn Grüning in the dev branch. You could try to apply this patch. https://github.com/galaxyproject/galaxy/commit/62772bc86e2504982f207a982542c... Best, Marius On 2 June 2015 at 11:44, Poole, Richard <r.poole@ucl.ac.uk> wrote:
Hi Nate,
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:
127.0.0.1 - - [02/Jun/2015:10:41:35 +0100] "GET /api/users?f_email=&_=1433238093664 HTTP/1.1" 200 - " http://****.****.ucl.ac.uk:8080/history/share?use_panels=False&id=93d12697461a7974" "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" 127.0.0.1 - - [02/Jun/2015:10:41:46 +0100] "GET /api/users?f_email=&_=1433238093665 HTTP/1.1" 200 - " http://****.****.ucl.ac.uk:8080/history/share?use_panels=False&id=93d12697461a7974" "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" 127.0.0.1 - - [02/Jun/2015:10:41:48 +0100] "POST /history/share HTTP/1.1" 500 - " http://****.****.ucl.ac.uk:8080/history/share?use_panels=False&id=93d12697461a7974" "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" Error - <type 'exceptions.TypeError'>: append() takes exactly one argument (0 given) URL: http://****.****.ucl.ac.uk:8080/history/share 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_HOST: '****.****.ucl.ac.uk:8080' HTTP_ORIGIN: 'http://****.****.ucl.ac.uk:8080' HTTP_REFERER: ' http://****.****.ucl.ac.uk:8080/history/share?use_panels=False&id=93d12697461a7974' 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' ------------------------------------------------------------
Any help with this greatly appreciated :)
Richard
*Richard J Poole PhD* Wellcome Trust Fellow Department of Cell and Developmental Biology University College London 21 University Street, London WC1E 6DE Office (518 Rockefeller): +44 20 7679 6577 (int. 46577) Lab (529 Rockefeller): +44 20 7679 6133 (int. 46133)
___________________________________________________________ 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: https://lists.galaxyproject.org/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/