Trying to configure external data source

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Trying to configure external data source

dgorelik
Hello folks,

I am trying to configure an external data source and it is driving me crazy. I keep getting the error "The remote data source application has not sent back a URL parameter in the request." ,  even though it is.


My xml file is: 


<?xml version="1.0"?>
<tool name="My tool" id="s3t" tool_type="data_source">
  
    <command interpreter="python">data_source.py $output $__app__.config.output_size_limit</command>
    <inputs action="myurl/" check_values="true" method="get"> 
        <display>Let's do this! $GALAXY_URL</display>
        <param name="GALAXY_URL" type="baseurl" value="/tool_runner?tool_id=s3t" />
 <param name="sendToGalaxy" type="hidden" value="1"/>
    </inputs>
    <request_param_translation>
        <request_param galaxy_name="URL_method" remote_name="URL_method" missing="post" />
        <request_param galaxy_name="URL" remote_name="URL" missing="myurl/" />
        
    </request_param_translation>
   
    <uihints minwidth="800"/>
    <outputs>
        <data name="output" format="txt" label="test" />
    </outputs>
    <options sanitize="False" refresh="True"/>
</tool>


And in myurl file I have:

 <FORM ACTION="%s" METHOD=POST>
            <input type="submit"></input>
            <INPUT TYPE=HIDDEN NAME='URL' VALUE='myfile/'>
            </form>

%s is the GALAXY_URL

Any help, pointers, or philosophical advice would be greatly appreciated. 

Thank you,
Daniel Gorelik

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

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/