Hi all,

I'm trying to package my tool wrapper to release it in the ToolShed. I need to download the associated binary file and change the permissions. I wrote a tool_dependency xml file with a downlod_binary and chmod actions. My tool_dependency_dir is well defined in my universe file. The download is ok, but I get an error during the "chmod" action. So I tried with your example, faToTwoBit (https://wiki.galaxyproject.org/DownloadingBinaries), and I get the same bug. Do you know the problem ? Do I need to configure someting else ?


log :

tool_shed.util.tool_dependency_util DEBUG 2014-07-07 11:28:34,346 Updating an existing record for version 0.0.1 of tool dependency faToTwoBit for revision 5ac8ed26842c of repository mytool by updating the status from Never installed to Installing. tool_shed.galaxy_install.tool_dependencies.recipe.step_handler DEBUG 2014-07-07 11:28:34,374 Attempting to download from http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/faToTwoBit to bin 127.0.0.1 - - [07/Jul/2014:11:28:36 +0200] "POST /admin_toolshed/repository_installation_status_updates HTTP/1.1" 200 - "http://127.0.0.1:8080/admin_toolshed/prepare_for_install"; "Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20140610 Firefox/24.0 Iceweasel/24.6.0" tool_shed.galaxy_install.install_manager ERROR 2014-07-07 11:28:39,038 Error installing tool dependency faToTwoBit version 0.0.1.
Traceback (most recent call last):
File "/home/nlapalu/Galaxy/galaxy-dist/lib/tool_shed/galaxy_install/install_manager.py", line 110, in install_and_build_package_via_fabric tool_dependency = self.install_and_build_package( app, tool_shed_repository, tool_dependency, actions_dict ) File "/home/nlapalu/Galaxy/galaxy-dist/lib/tool_shed/galaxy_install/install_manager.py", line 79, in install_and_build_package
    current_dir = os.path.abspath( os.path.join( work_dir, dir ) )
  File "/usr/lib/python2.7/posixpath.py", line 75, in join
    if b.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'

Thanks for your help;
nico
___________________________________________________________
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