Hi Jeremy,
I am no longer getting the same Error when exporting a history. However, I've now encountered a new problem. Namely, I am never able to actually download the file that Galaxy tells me it produced. I never can get past the web page that says:
Exporting History 'name of history here'. Use this link to download the archive or import it to another Galaxy server: <link to history here>
I thought at first perhaps this was just taking time, but after a few hours, I still got the same. Also, I tested a very simple history with 1 tiny file, and got the same result.
I'm using Firefox, and our Galaxy instance uses only Galaxy as the web server, no Apache or nginx
Thanks again for any advice!
Todd
On 4/26/2012 10:35 AM, Jeremy Goecks wrote:I reproduced myself, diagnosed the issue, and committed a fix to -central. Once you update your Galaxy (or you update to the next distribution when it becomes available), the export should work.
Best,J.
On Apr 26, 2012, at 12:49 PM, Todd Oakley wrote:
Sorry, I don't use the main Galaxy instance, I imagine I won't be able to reproduce the bug there anyway. Most of the tools I use are in-house for phylogenetics (we'll put them up on the tool shed in the next few weeks). I can ask a postdoc in my lab to try to export some histories, as he uses the main instance.
We can try to debug here. Can you point to a place to start looking (I haven't looked at the Galaxy code at all beyond universe.ini and tools)?
Thanks,
Todd
On 4/26/2012 5:41 AM, Jeremy Goecks wrote: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 inintercept_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 inexport_archive
>> history_exp_tool.execute( trans, incoming = params, set_output_hid = True )
Module galaxy.tools:1276 inexecute
>> 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 inexecute
>> include_deleted=incoming[ 'include_deleted' ] )
Module galaxy.tools.imp_exp:419 insetup_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/
___________________________________________________________ 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/
--
***************************************
Todd Oakley, Professor
Ecology Evolution and Marine Biology
University of California, Santa Barbara
Santa Barbara, CA 93106 USA
***************************************Lab Website
Recent Papers:
Twitter: @UCSB_OakleyLab
- Cnidocyte discharge regulated by opsin and light
BMC Biology Paper | Scientific American Write-up- Sponge Larvae Could be Guided by Cryptochrome
J Exp Biol. Paper | Nature News
--
***************************************
Todd Oakley, Professor
Ecology Evolution and Marine Biology
University of California, Santa Barbara
Santa Barbara, CA 93106 USA
***************************************Lab Website
Recent Papers:
Twitter: @UCSB_OakleyLab
- Cnidocyte discharge regulated by opsin and light
BMC Biology Paper | Scientific American Write-up- Sponge Larvae Could be Guided by Cryptochrome
J Exp Biol. Paper | Nature News
___________________________________________________________ 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/
***************************************
Todd Oakley, Professor
Ecology Evolution and Marine Biology
University of California, Santa Barbara
Santa Barbara, CA 93106 USA
***************************************
Lab Website
Twitter: @UCSB_OakleyLab