Toolshed throwing error when reading tool's XML
I'm stumped: Can tools that are destined for the toolshed use <options from_data_table="..." ...> ? In a blast_reporting.xml tool script I have <param name="filter_column" type="select" label="Col"> <options from_data_table="blast_reporting_fields"> <filter type="static_value" value="numeric" column="type" /> <filter type="sort_by" column="name"/> </options> </param> But when this gets submitted as a tar file into a toolshed repository, toolshed comes back with cryptic: Metadata may have been defined for some items in revision '5bbb25b32de2'. Correct the following problems if necessary and reset metadata. blast_reporting.xml - invalid literal for int() with base 10: 'type' I eliminate the <filter type="static_value" value="numeric" column="type" /> line, but similar problem is still reported blast_reporting.xml - invalid literal for int() with base 10: 'name' This hints that maybe the toolshed, when it tests the code, it doesn't know what/where blast_reporting_fields is? Is there some special location that the blast_reporting_fields.loc file should be located within the uploaded tar file? (I tried putting it in various relative paths in the tar file, i.e. root, and under /tool-data/) p.s. the tool runs file with menu functioning in galaxy itself. Thanks for any pro tips you folks can come up with! Damion
Hello Damion, Tool Shed repositories that contain tools that include dynamically generated select list parameters that refer to an entry in the tool_data_table_conf.xml file must contain a tool_data_table_conf.xml.sample file that contains the required entry for each dynamic parameter. Similarly, any index files (i.e., ~/tool-data/xxx.loc files) to which the tool_data_table_conf.xml file entries refer must be defined in xxx.loc.sample files included in the tool shed repository along with the tools. If any of these tool_data_table_conf.xml entries or any of the required xxx.loc.sample files are missing from the tool shed repository, the tools will not properly load and metadata will not be generated for the repository. This means that the tools cannot be automatically installed into a Galaxy instance. For those tools that include dynamically generated select list parameters that require a missing entry in the tool_data_table_conf.xml file, this file will be modified in real time (when it is installed into a Galaxy instance) by adding the entry from a tool_data_table_conf.xml.sample file contained in the tool shed repository. Based on your problem description, it seems that your repository may not include a required xxx.loc.sample file. Let me know if adding one does not solve the problem. Is your repository in one of the Galaxy team;'s public tool sheds? Greg Von Kuster On Jan 20, 2014, at 2:24 PM, "Dooley, Damion" <Damion.Dooley@bccdc.ca> wrote:
I'm stumped: Can tools that are destined for the toolshed use <options from_data_table="..." ...> ?
In a blast_reporting.xml tool script I have
<param name="filter_column" type="select" label="Col"> <options from_data_table="blast_reporting_fields"> <filter type="static_value" value="numeric" column="type" /> <filter type="sort_by" column="name"/> </options> </param>
But when this gets submitted as a tar file into a toolshed repository, toolshed comes back with cryptic:
Metadata may have been defined for some items in revision '5bbb25b32de2'. Correct the following problems if necessary and reset metadata. blast_reporting.xml - invalid literal for int() with base 10: 'type'
I eliminate the <filter type="static_value" value="numeric" column="type" /> line, but similar problem is still reported
blast_reporting.xml - invalid literal for int() with base 10: 'name'
This hints that maybe the toolshed, when it tests the code, it doesn't know what/where blast_reporting_fields is? Is there some special location that the blast_reporting_fields.loc file should be located within the uploaded tar file? (I tried putting it in various relative paths in the tar file, i.e. root, and under /tool-data/)
p.s. the tool runs file with menu functioning in galaxy itself.
Thanks for any pro tips you folks can come up with!
Damion ___________________________________________________________ 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/
That advice did the trick, thanks Greg. I only had .loc files in the upload set; didn't know about the .sample version or tool_data_table_conf.xml.sample. One thing, did I miss reading the documentation on this somewhere or is this workshop type knowledge? ________________________________________ From: Greg Von Kuster [greg@bx.psu.edu] Sent: Monday, January 20, 2014 1:21 PM To: Dooley, Damion Cc: galaxy-dev@lists.bx.psu.edu Subject: Re: [galaxy-dev] Toolshed throwing error when reading tool's XML Hello Damion, Tool Shed repositories that contain tools that include dynamically generated select list parameters that refer to an entry in the tool_data_table_conf.xml file must contain a tool_data_table_conf.xml.sample file that contains the required entry for each dynamic parameter. Similarly, any index files (i.e., ~/tool-data/xxx.loc files) to which the tool_data_table_conf.xml file entries refer must be defined in xxx.loc.sample files included in the tool shed repository along with the tools. If any of these tool_data_table_conf.xml entries or any of the required xxx.loc.sample files are missing from the tool shed repository, the tools will not properly load and metadata will not be generated for the repository. This means that the tools cannot be automatically installed into a Galaxy instance. For those tools that include dynamically generated select list parameters that require a missing entry in the tool_data_table_conf.xml file, this file will be modified in real time (when it is installed into a Galaxy instance) by adding the entry from a tool_data_table_conf.xml.sample file contained in the tool shed repository. Based on your problem description, it seems that your repository may not include a required xxx.loc.sample file. Let me know if adding one does not solve the problem. Is your repository in one of the Galaxy team;'s public tool sheds? Greg Von Kuster
It's discussed in the following page of the Tool Shed wiki. https://wiki.galaxyproject.org/InstallingRepositoriesToGalaxy#Installing_Gal... On Jan 20, 2014, at 7:27 PM, "Dooley, Damion" <Damion.Dooley@bccdc.ca> wrote:
That advice did the trick, thanks Greg. I only had .loc files in the upload set; didn't know about the .sample version or tool_data_table_conf.xml.sample. One thing, did I miss reading the documentation on this somewhere or is this workshop type knowledge? ________________________________________ From: Greg Von Kuster [greg@bx.psu.edu] Sent: Monday, January 20, 2014 1:21 PM To: Dooley, Damion Cc: galaxy-dev@lists.bx.psu.edu Subject: Re: [galaxy-dev] Toolshed throwing error when reading tool's XML
Hello Damion,
Tool Shed repositories that contain tools that include dynamically generated select list parameters that refer to an entry in the tool_data_table_conf.xml file must contain a tool_data_table_conf.xml.sample file that contains the required entry for each dynamic parameter. Similarly, any index files (i.e., ~/tool-data/xxx.loc files) to which the tool_data_table_conf.xml file entries refer must be defined in xxx.loc.sample files included in the tool shed repository along with the tools. If any of these tool_data_table_conf.xml entries or any of the required xxx.loc.sample files are missing from the tool shed repository, the tools will not properly load and metadata will not be generated for the repository. This means that the tools cannot be automatically installed into a Galaxy instance.
For those tools that include dynamically generated select list parameters that require a missing entry in the tool_data_table_conf.xml file, this file will be modified in real time (when it is installed into a Galaxy instance) by adding the entry from a tool_data_table_conf.xml.sample file contained in the tool shed repository.
Based on your problem description, it seems that your repository may not include a required xxx.loc.sample file.
Let me know if adding one does not solve the problem. Is your repository in one of the Galaxy team;'s public tool sheds?
Greg Von Kuster
I think this is a follow-up to last june's http://dev.list.galaxyproject.org/proftpd-setting-tt4660329.html question. I was trying a new test install of galaxy (following instructions on galaxy website for a local install from galaxy-dist hg source), sitting on a server with two existing galaxy installs. Got that going ok. Now trying to get profptd 1.3.5rc3 to authenticate against users in the new galaxy install's postgresql database. But it seems a change has been made in authentication, from sha1 to pbkdf2 . Trouble is no docs seem to exist about what the new galaxy pbkdf2 parameters are - e.g. proftpd 1.3.5rc3 configuration seems to need the following for pbkdf2: SQLAuthTypes pbkdf2 # Use the SHA1 digest algorithm, 1000 iterations, and expect an output # length of 20 bytes. SQLPasswordPBKDF2 sha1 1000 20 SQLPasswordSaltFile /path/to/salt/file now over to galaxy instructions where some detail exists about how to configure/compile proftpd but nothing on above parameters. https://wiki.galaxyproject.org/Admin/Config/Upload%20via%20FTP It seems like all the code is in place. Anyone jumped the hurdle on this? Regards, Damion
participants (2)
-
Dooley, Damion
-
Greg Von Kuster