Thanks for the fix Jeremy. 

--
Shantanu. 

On Nov 18, 2011, at 12:58 PM, Jeremy Goecks wrote:

Shantanu,

This is a bug and is fixed in galaxy-central changeset ccbee8d11a6a :

https://bitbucket.org/galaxy/galaxy-central/changeset/ccbee8d11a6a/

Best,
J.

On Nov 18, 2011, at 12:37 PM, Shantanu Pavgi wrote:


Hi,

We are getting following error when a user tries to download bam index file (bai) files using a shared history link of following pattern -
' https://galaxy.mydomain/u/user1/h/awesome-analysis '.  We are using external authentication and latest galaxy-dist code in our set up.

{{{
Error Traceback:
View as:   Interactive  |  Text  |  XML (full)
⇝ TypeError: get_metadata_file() got an unexpected keyword argument 'username'
URL: http://galaxy.mydomain/dataset/get_metadata_file?username=user1&metadata_name=bam_index&hda_id=2e45e49ff75e99b88&slug=awesome-analysis
Module weberror.evalexception.middleware:364 in respond         view
app_iter = self.application(environ, detect_start_response)
Module paste.debug.prints:98 in __call__         view
environ, self.app)
Module paste.wsgilib:539 in intercept_output         view
app_iter = application(environ, replacement_start_response)
Module paste.recursive:80 in __call__         view
return self.application(environ, start_response)
Module galaxy.web.framework.middleware.remoteuser:111 in __call__         view
return self.app( environ, start_response )
Module paste.httpexceptions:632 in __call__         view
return self.application(environ, start_response)
Module galaxy.web.framework.base:160 in __call__         view
body = method( trans, **kwargs )
TypeError: get_metadata_file() got an unexpected keyword argument 'username'

}}}

However, if the user imports this history then  bai file download works fine. Is this a known issue or some problem with our set up? Anyone else experienced similar issues?

--
Thanks,
Shantanu.



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