This problem is probably due to the 2 ampersands '&', which are not
allowed in XML. Try substituting them with '&'.

Nicola

Il giorno lun, 30/09/2013 alle 13.51 +0200, Joachim Jacob | VIB | ha
scritto: 
> 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
> 


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

Reply via email to