Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move error on demo project_init #388

Closed
Raynooo opened this issue Nov 30, 2015 · 2 comments
Closed

Move error on demo project_init #388

Raynooo opened this issue Nov 30, 2015 · 2 comments

Comments

@Raynooo
Copy link

Raynooo commented Nov 30, 2015

Hi,
On version 0.21.1 , when running project_init --template=demo I get an error when the script tries the second move command ( mv '/tmp/.../demo'/.* ) as it tries to move /tmp/.../demo/. and /tmp/.../demo/.. and fails.

@endrebak
Copy link

Same here:

$ planemo project_init --template=demo
wget -q --recursive -O- 'https://codeload.github.com/galaxyproject/planemo/tar.gz/master' | tar  -C /tmp/tmptknUuM -zxf - --strip-components=2
ls '/tmp/tmptknUuM'
appliance.rst          index.rst         presentations             test_init_and_test.py     virtualenv.py
bioblend.py        __init__.py       print_version_for_release.py      test_io.py            writing
bootstrap_history.py   installation.rst      publishing.rst            test_lint.py          writing_advanced.rst
build_slideshow.py     io.py             README                test_normalize.py         writing_appliance.rst
bwa            linters           readme.rst            test_planemo.py       _writing_clusters.rst
categories.py          lint.py           reports               test_profile_commands.py  _writing_collections.rst
cli.py             lint_sphinx_output.py     repository_dependencies_shed.xml  test_run.py           _writing_conclusion.rst
commands           make.bat          repository_dependencies.xml       test_shed_create.py       writing_cwl_appliance.rst
commands.rst           Makefile          runnable.py               test_shed_diff.py         _writing_cwl_intro.rst
commands_to_rst.py     modules.rst       scripts               test_shed_diff_xml.py     writing_cwl.rst
commit_version.py      network_util.py       setup.py              test_shed_download.py     writing_cwl_standalone.rst
conda.py           new_version.py        shed                  test_shed_expansion.py    _writing_from_help_command.rst
conda_testing          notebooks         shed2tap              test_shed_init.py         writing_how_do_i.rst
conduct.rst        options.py        shed_app.py               test_shed_lint.py         _writing_intro.rst
config.py          organization.rst      shed_app_test_utils.py        test_shed_operations.py   _writing_lint_intro.rst
configuration.rst      other_docs.rst        shed_lint.py              test_shed.py          _writing_parameters.rst
conf.py            package_bwa_0_7_7     slideshow_template.html       test_shed_test.py         _writing_publish_intro.rst
contributing.rst       package_samtools_0.1.16   standards             test_shed_upload.py       writing.rst
cwl            package_seqtk_1_0_r75     _static               test_test_checker.py      _writing_scripts.rst
cwl_draft3_spec        planemo.commands.rst  templates.py              test_test_report.py       writing_standalone.rst
cwl-runner         planemo.cwl.rst       test                  test_utils.py         _writing_suites.rst
data               planemo.database.rst  test_build_and_lint.py        test_validation.py        _writing_test_and_serve_appliance.rst
database           planemo.engine.rst    test_cmd_serve.py         test_wheel.bash       _writing_test_and_serve.rst
demo               planemo_ext.rst       test_cmd_shed_serve.py        test_xml_diff.py      _writing_testing.rst
developing.rst         planemo.galaxy.rst    test_cmd_test.py          tool_builder.py       _writing_tool_metadata.rst
docker.py          planemo.galaxy.test.rst   test_command_io.py        tool_dependencies_good_1.xml  _writing_using_seqtk.rst
engine             planemo.linters.rst   test_config_init.py           tool_dependencies_good_2.xml  xml
exit_codes.py          planemo_logo.png      test_conformance_cwl.bash     tool_factory_2        xml_bad_1.xml
galaxy             planemo.reports.rst   test_database_commands.py     tool_lint.py          xml_good_1.xml
galaxy_changelog.html  planemo.rst       test_dependency_script.py     tools.py          xml_good_2.xml
galaxy_changelog.md    planemo.shed2tap.rst  test_engines.py           travis_test.sh        xsd_command.xsd
github_util.py         planemo.shed.rst      test_galaxy_config.py         union_bedgraph        xsd_schema_1.xsd
git.py             planemo.test.rst      test_galaxy_serve.py          update_extern.sh
glob.py            planemo.xml.rst       test_galaxy_test.py           update_planemo_recipe.bash
history.rst        pre-commit-lint       test_galaxy_workflow_utils.py     update_report_assets.sh
images             pre-commit-lint-and-test  test_git.py               Vagrantfile
mv '/tmp/tmptknUuM/demo'/* '/local/home/endrebak/code/galaxy_recipes'
mv: inter-device move failed: `/tmp/tmptknUuM/demo/test-data' to `/local/home/endrebak/code/galaxy_recipes/test-data'; unable to remove target: Is a directory
mv '/tmp/tmptknUuM/demo'/.* '/local/home/endrebak/code/galaxy_recipes'
mv: inter-device move failed: `/tmp/tmptknUuM/demo/.' to `/local/home/endrebak/code/galaxy_recipes/.'; unable to remove target: Is a directory
mv: inter-device move failed: `/tmp/tmptknUuM/demo/..' to `/local/home/endrebak/code/galaxy_recipes/..'; unable to remove target: Is a directory
$ ~/anaconda3/envs/py27/bin/planemo --version
planemo, version 0.23.0

@endrebak
Copy link

@Raynooo

Did you get the rest of planemo to work or was it more than the project_init that failed?

jmchilton added a commit to jmchilton/planemo that referenced this issue Dec 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants