Hi all, Not fixed yet. Somehow the download does not work: I have escaped the ampersands and the hyphens. The download seems to have to proceed, since I receive no error from the download step. The next step in the dependencies file gives an error: mv: cannot stat transpose.zip': No such file or directory Cheers, J Joachim Jacob Contact details: http://www.bits.vib.be/index.php/about/80-team On 09/30/2013 02:06 PM, Peter Cock wrote:
You must escape any ampersand in the XML as & and then it should work.
Peter
On Mon, Sep 30, 2013 at 12:51 PM, Joachim Jacob | VIB | <joachim.jacob@vib.be> wrote:
Hi all,
The download URL seems not to be accepted in tool_dependencies.xml. It is an URL from sourceforge, the direct link to a package.
The error upon uploading the tool to my toolshed: ************** Metadata may have been defined for some items in revision '5665a799775d'. Correct the following problems if necessary and reset metadata. tool_dependencies.xml - Exception attempting to parse /mnt/toolsheddb/database/000/repo_26/tool_dependencies.xml: not well-formed (invalid token): line 6, column 149 **************
The tool_dependencies.xml file: ************** 1 <?xml version="1.0"?> 2 <tool_dependency> 3 <package name="transpose" version="2.0.0"> 4 <install version="1.0"> 5 <actions> 6 <action type="download_by_url">http://downloads.sourceforge.net/project/transpose/transpose/transpose-2.0/2.0/transpose-2.0.zip?r=&ts=1380535239&use_mirror=surfnet</action> 7 <action type="shell_command">mkdir bin</action> 8 <action type="shell_command">unzip transpose-2.0.zip</action> <action type="shell_command">cd transpose-2.0/src</action> <action type="shell_command">gcc transpose.c -o transpose</action> <action type="move_file"> <source>$INSTALL_DIR/transpose-2.0/src/transpose</source> <destination>$INSTALL_DIR/bin</destination> </action> <action type="shell_command">chmod +x $INSTALL_DIR/bin/transpose</action> <action type="set_environment"> <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable> </action> </actions> </install> <readme> Compiling transpose and putting in the path. </readme> </package> </tool_dependency> **************
Cheers, Joachim
-- Joachim Jacob Contact details: http://www.bits.vib.be/index.php/about/80-team
___________________________________________________________ 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/