{"action":"created","issue":{"url":"https://api.github.com/repos/galaxyproject/planemo/issues/274","labels_url":"https://api.github.com/repos/galaxyproject/planemo/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/galaxyproject/planemo/issues/274/comments","events_url":"https://api.github.com/repos/galaxyproject/planemo/issues/274/events","html_url":"https://github.com/galaxyproject/planemo/issues/274","id":97495606,"number":274,"title":"Testing fails without a copy of Galaxy downloaded","user":{"login":"erasche","id":458683,"avatar_url":"https://avatars.githubusercontent.com/u/458683?v=3","gravatar_id":"","url":"https://api.github.com/users/erasche","html_url":"https://github.com/erasche","followers_url":"https://api.github.com/users/erasche/followers","following_url":"https://api.github.com/users/erasche/following{/other_user}","gists_url":"https://api.github.com/users/erasche/gists{/gist_id}","starred_url":"https://api.github.com/users/erasche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erasche/subscriptions","organizations_url":"https://api.github.com/users/erasche/orgs","repos_url":"https://api.github.com/users/erasche/repos","events_url":"https://api.github.com/users/erasche/events{/privacy}","received_events_url":"https://api.github.com/users/erasche/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/galaxyproject/planemo/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-27T15:56:38Z","updated_at":"2015-08-05T19:20:50Z","closed_at":null,"body":"Recently started getting this error:\r\n\r\n```\r\n'NoneType' object has no attribute 'endswith'\r\n<snip>\r\nFile \"/home/hxr/projects/python-galaxy-tools/env/local/lib/python2.7/site-packages/planemo/galaxy_config.py\", line 237, in galaxy_config\r\n    write_file(shed_tool_conf, shed_tool_conf_contents)\r\n  File \"/home/hxr/projects/python-galaxy-tools/env/local/lib/python2.7/site-packages/planemo/io.py\", line 63, in write_file\r\n    with open(path, \"w\") as f:\r\nIOError: [Errno 2] No such file or directory: '/tmp/tmptFlNTG/galaxy-dev/config/shed_tool_conf.xml'\r\n```\r\n\r\nwhich seems to be a result of a missing copy of galaxy, judging by the output result:\r\n\r\n```\r\n$ ls /tmp/tmptFlNTG/\r\nempty_tool_conf.xml  galaxy.ini  job_metrics_conf.xml  shed_tools  tool_conf.xml  tool_sheds_conf.xml\r\n```\r\n\r\nOne of my undergraduates got this error and I assumed it was user error, but then I got it too on a fresh install. Passing the `--install_galaxy` flag every time seems to solve the issue, when/why did that become non-default? Minor UX issue."},"comment":{"url":"https://api.github.com/repos/galaxyproject/planemo/issues/comments/128117117","html_url":"https://github.com/galaxyproject/planemo/issues/274#issuecomment-128117117","issue_url":"https://api.github.com/repos/galaxyproject/planemo/issues/274","id":128117117,"user":{"login":"martenson","id":1814954,"avatar_url":"https://avatars.githubusercontent.com/u/1814954?v=3","gravatar_id":"","url":"https://api.github.com/users/martenson","html_url":"https://github.com/martenson","followers_url":"https://api.github.com/users/martenson/followers","following_url":"https://api.github.com/users/martenson/following{/other_user}","gists_url":"https://api.github.com/users/martenson/gists{/gist_id}","starred_url":"https://api.github.com/users/martenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martenson/subscriptions","organizations_url":"https://api.github.com/users/martenson/orgs","repos_url":"https://api.github.com/users/martenson/repos","events_url":"https://api.github.com/users/martenson/events{/privacy}","received_events_url":"https://api.github.com/users/martenson/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T19:20:50Z","updated_at":"2015-08-05T19:20:50Z","body":"Also if you have ```galaxy_root``` specified in .planemo.yml you won't encounter it; otherwise I confirm it."}}