<p><code>--shed_target local</code> will only work if you're running a Galaxy toolshed on your local computer, since it's reading the <code>.shed.yaml</code> file you made with <code>planemo shed_init</code> and trying to create a repository with that name or a local (in this case) server. Planemo itself won't start a Galaxy toolshed, since it's fairly unusual for people to want to do testing involving creating local repositories. What you probably want to do instead is use <code>planemo test</code> instead. Once the planemo testing passes then use the various <code>shed*</code> commands to upload your wrapper to the toolshed or testtoolshed.</p>

CC BY-SA 3.0
2018-02-27T12:49:06.913Z
2018-02-27T12:49:06.913Z
Devon Ryan
<p>I tried to create <a href="https://galaxyproject.org/toolshed/" rel="nofollow noreferrer">galaxy local toolshed</a> using <a href="https://github.com/galaxyproject/planemo" rel="nofollow noreferrer">planemo</a>. I used command as follows,</p>

<ol>
<li><p>create virtual env</p>

<pre><code>virtualenv .venv; .venv/bin/activate
</code></pre></li>
<li><p>Install planemo</p>

<pre><code>pip install planemo
</code></pre></li>
<li><p>To configuring a shed account</p>

<pre><code>planemo config_init
</code></pre></li>
<li><p>Create a repository </p>

<pre><code>planemo shed_init --name=seqtk_seq \
                  --owner=planemo \
                  --description=seqtk_seq \
                  --long_description="Tool that converts FASTQ 
                                      to FASTA files using seqtk" \
                  --category="Fastq Manipulation"
planemo shed_create --shed_target local
</code></pre></li>
</ol>

<p>This produces the following error:</p>

<pre><code>Failed to include files for [{'source': '**'}]
Problem encountered executing action for one or more repositories.
(.venv) varuna@varuna-Inspiron-15-3567:~/git/galaxy_stable/planemo
</code></pre>

CC BY-SA 3.0
2018-02-27T12:19:46.193Z
Hi, could you paste the text of the error instead of screenshots? It might make it easier to read and help you.
mgalardini
CC BY-SA 3.0
2018-03-02T08:25:25.290Z
Failed to include files for [{'source': '**'}]
Problem encountered executing action for one or more repositories.
Varuna Peiris
CC BY-SA 3.0
2018-03-02T08:38:19.847Z
Could not update local
HTTPConnectionPool(host='localhost', port=9009): Max retries exceeded with url: /api/repositories?key=dc5c7cd5cf56a2f44aacf755109e63b9 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f55542b7310>: Failed to establish a new connection: [Errno 111] Connection refused',)), 0 attempts left:
Varuna Peiris
CC BY-SA 3.0
2018-03-06T09:42:23.920Z
Try providing a project name `planemo shed_create --shed_target local someProjectName`.
Devon Ryan
CC BY-SA 3.0
2018-03-08T11:59:24.810Z
I created galaxy local toolshed editing the xml files inside galaxy folder and  ran it using 9009 port. After run toolshed, I tried above mentioned command with project name.
# planemo shed_create --shed_target local /home/varuna/git/galaxy_stable

Got following error.
"description required for automatic creation or update of shed metadata"
Varuna Peiris
<software-installation><galaxy>
Create galaxy local toolshed using Planemo
# Create galaxy local toolshed using Planemo

(Asked by: username_0 on 2018-02-27)

I tried to create galaxy local toolshed using planemo. I used command as follows,

create virtual env
virtualenv .venv; .venv/bin/activate

Install planemo
pip install planemo

To configuring a shed account
planemo config_init

Create a repository 
planemo shed_init --name=seqtk_seq \
                  --owner=planemo \
                  --description=seqtk_seq \
                  --long_description="Tool that converts FASTQ 
                                      to FASTA files using seqtk" \
                  --category="Fastq Manipulation"
planemo shed_create --shed_target local


This produces the following error:
Failed to include files for [{'source': '**'}]
Problem encountered executing action for one or more repositories.
(.venv) varuna@varuna-Inspiron-15-3567:~/git/galaxy_stable/planemo

**Tags:** software-installation, galaxy
> **Comments:**
> **username_1**: Hi, could you paste the text of the error instead of screenshots? It might make it easier to read and help you.  
> **username_0**: Failed to include files for [{'source': '**'}] Problem encountered executing action for one or more repositories.  
> **username_0**: Could not update local HTTPConnectionPool(host='localhost', port=9009): Max retries exceeded with url: /api/repositories?key=dc5c7cd5cf56a2f44aacf755109e63b9 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f55542b7310>: Failed to establish a new connection: [Errno 111] Connection refused',)), 0 attempts left:  
> **username_2**: Try providing a project name `planemo shed_create --shed_target local someProjectName`.  
> **username_0**: I created galaxy local toolshed editing the xml files inside galaxy folder and  ran it using 9009 port. After run toolshed, I tried above mentioned command with project name. # planemo shed_create --shed_target local /home/varuna/git/galaxy_stable  Got following error. "description required for automatic creation or update of shed metadata"  

---

## 1 answers

### Answer by username_2 on 2018-02-27. Score: 1

`--shed_target local` will only work if you're running a Galaxy toolshed on your local computer, since it's reading the `.shed.yaml` file you made with `planemo shed_init` and trying to create a repository with that name or a local (in this case) server. Planemo itself won't start a Galaxy toolshed, since it's fairly unusual for people to want to do testing involving creating local repositories. What you probably want to do instead is use `planemo test` instead. Once the planemo testing passes then use the various `shed*` commands to upload your wrapper to the toolshed or testtoolshed.


---

