Question: Cannot copy datasets from one history to another on local Galaxy
gravatar for machinelearner
5 months ago by
machinelearner10 wrote:

Hi all,

We have a local instance of Galaxy installed but it is not able to be copy files from one history to another via the "copy datasets" option on the right tool bar. Is there a setting that has to be set so that this can occur, I have not found anything in the galaxy.ini file, but I could have missed it.

The log file prints has this stack trace, I am not sure what to make of it.

Exception happened during processing of request from ('', 45606)
Traceback (most recent call last):
  File "/localdata1/galaxy/.venv/lib/python2.7/site-packages/paste/", line 1085, in process_request_in_thread
    self.finish_request(request, client_address)
  File "/usr/lib64/python2.7/", line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib64/python2.7/", line 649, in __init__
  File "/localdata1/galaxy/.venv/lib/python2.7/site-packages/paste/", line 459, in handle
  File "/usr/lib64/python2.7/", line 340, in handle
  File "/localdata1/galaxy/.venv/lib/python2.7/site-packages/paste/", line 454, in handle_one_request
  File "/localdata1/galaxy/.venv/lib/python2.7/site-packages/paste/", line 304, in wsgi_execute
  File "/localdata1/galaxy/.venv/lib/python2.7/site-packages/paste/deploy/", line 291, in __call__
    return, start_response)
  File "/localdata1/galaxy/.venv/lib/python2.7/site-packages/paste/", line 216, in __call__
    return app(environ, start_response)
  File "/localdata1/galaxy/lib/galaxy/web/framework/middleware/", line 75, in __call__
    return self.application( environ, start_response )
  File "/localdata1/galaxy/lib/galaxy/web/framework/middleware/", line 14, in __call__
    return environ, start_response )
  File "/localdata1/galaxy/lib/galaxy/web/framework/middleware/", line 22, in __call__
    return environ, start_response )
  File "/localdata1/galaxy/lib/galaxy/web/framework/middleware/", line 71, in __call__
    return self.application(environ, replacement_start_response)
  File "/localdata1/galaxy/lib/galaxy/web/framework/middleware/", line 164, in __call__
  File "/localdata1/galaxy/lib/galaxy/web/framework/middleware/", line 70, in replacement_start_response
    return start_response( status, headers, exc_info )
  File "/localdata1/galaxy/.venv/lib/python2.7/site-packages/paste/", line 173, in wsgi_start_response
    six.reraise(exc_info[0], exc_info[1], exc_info[2])
  File "/localdata1/galaxy/lib/galaxy/web/framework/middleware/", line 154, in __call__
    app_iter = self.application(environ, sr_checker)
  File "/localdata1/galaxy/.venv/lib/python2.7/site-packages/paste/", line 85, in __call__
    return self.application(environ, start_response)
  File "/localdata1/galaxy/.venv/lib/python2.7/site-packages/paste/", line 640, in __call__
    return self.application(environ, start_response)
  File "/localdata1/galaxy/lib/galaxy/web/framework/", line 134, in __call__
    return self.handle_request( environ, start_response )
  File "/localdata1/galaxy/lib/galaxy/web/framework/", line 199, in handle_request
    return body_renderer( trans, body, environ, start_response )
  File "/localdata1/galaxy/lib/galaxy/web/framework/", line 206, in _render_body
    return body( environ, start_response )
  File "/localdata1/galaxy/lib/galaxy/web/framework/", line 918, in render
    template.render_context( context )
  File "/localdata1/galaxy/.venv/lib/python2.7/site-packages/mako/", line 468, in render_context
  File "/localdata1/galaxy/.venv/lib/python2.7/site-packages/mako/", line 864, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "/localdata1/galaxy/.venv/lib/python2.7/site-packages/mako/", line 890, in _exec_template
    callable_(context, *args, **kwargs)
  File "/localdata1/galaxy/database/compiled_templates/base/", line 125, in render_body
  File "/localdata1/galaxy/database/compiled_templates/", line 180, in render_center_panel
  File "/localdata1/galaxy/database/compiled_templates/", line 144, in render_render_content
    __M_writer(unicode(self.render_item( item, item_data )))
  File "/localdata1/galaxy/database/compiled_templates/history/", line 79, in render_render_item
    __M_writer(unicode(h.dumps( content_dicts )))
  File "/localdata1/galaxy/lib/galaxy/util/", line 64, in safe_dumps
    dumped = json.dumps( *args, allow_nan=False, **kwargs )
  File "/usr/lib64/python2.7/json/", line 250, in dumps
    sort_keys=sort_keys, **kw).encode(obj)
  File "/usr/lib64/python2.7/json/", line 207, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib64/python2.7/json/", line 270, in iterencode
    return _iterencode(o, 0)
  File "/usr/lib64/python2.7/json/", line 184, in default
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <mako.runtime.Undefined object="" at="" 0x3786a50=""> is not JSON serializable

If anyone could offer any insights, it would be much appreciated. Thanks!

galaxy • 152 views
ADD COMMENTlink written 5 months ago by machinelearner10
gravatar for machinelearner
4 months ago by
machinelearner10 wrote:

This issue has resolved itself. Not sure how, as there was no restart or any changed made recently on our end.

ADD COMMENTlink written 4 months ago by machinelearner10
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 86 users visited in the last hour