Hi Todd,

History export is a beta feature and hasn't been fully tested yet. We'll look into this, but it's difficult to diagnose a bug on a local instance. Can you reproduce on either our main or test server?

Thanks,
J.

On Apr 25, 2012, at 8:08 PM, Todd Oakley wrote:

Hello,
    I'd am trying to export histories to upload to another galaxy instance.

    For some histories, it works fine.  However, for others, I get an error.  When I turn on debug, I get the error pasted below.  Any thoughts on what is the cause of "object has no attribute 'hid'"?

Thanks!
Todd



Server Error

Module paste.exceptions.errormiddleware:143 in __call__
>>  app_iter = self.application(environ, start_response)
Module paste.debug.prints:98 in __call__
>>  environ, self.app)
Module paste.wsgilib:539 in intercept_output
>>  app_iter = application(environ, replacement_start_response)
Module paste.recursive:80 in __call__
>>  return self.application(environ, start_response)
Module paste.httpexceptions:632 in __call__
>>  return self.application(environ, start_response)
Module galaxy.web.framework.base:145 in __call__
>>  body = method( trans, **kwargs )
Module galaxy.web.controllers.history:591 in export_archive
>>  history_exp_tool.execute( trans, incoming = params, set_output_hid = True )
Module galaxy.tools:1276 in execute
>>  return self.tool_action.execute( self, trans, incoming=incoming, set_output_hid=set_output_hid, history=history, **kwargs )
Module galaxy.tools.actions.history_imp_exp:103 in execute
>>  include_deleted=incoming[ 'include_deleted' ] )
Module galaxy.tools.imp_exp:419 in setup_job
>>  input_datasets = [ assoc.dataset.hid for assoc in job.input_datasets ]
AttributeError: 'NoneType' object has no attribute 'hid'
--

***************************************
Todd Oakley, Professor
Ecology Evolution and Marine Biology
University of California, Santa Barbara
Santa Barbara, CA 93106 USA
***************************************

___________________________________________________________
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:

 http://lists.bx.psu.edu/