Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-27T12:49:06.913Z
Answers.LastActivityDate: 2018-02-27T12:49:06.913Z
Answers.UserDisplayName: Devon Ryan
Body: <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>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-02-27T12:19:46.193Z
Comments.Text: Hi, could you paste the text of the error instead of screenshots? It might make it easier to read and help you.
Comments.UserDisplayName: mgalardini
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-02T08:25:25.290Z
Comments.Text: Failed to include files for [{'source': '**'}]
  Problem encountered executing action for one or more repositories.
Comments.UserDisplayName: Varuna Peiris
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-02T08:38:19.847Z
Comments.Text: 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:
Comments.UserDisplayName: Varuna Peiris
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-06T09:42:23.920Z
Comments.Text: Try providing a project name `planemo shed_create --shed_target local someProjectName`.
Comments.UserDisplayName: Devon Ryan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-08T11:59:24.810Z
Comments.Text: 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"
Comments.UserDisplayName: Varuna Peiris
Tags: <software-installation><galaxy>
Title: Create galaxy local toolshed using Planemo
ThreadText: # Create galaxy local toolshed using Planemo
  
  (Asked by: username_0 on 2018-02-27)
  
  I tried to create [galaxy local toolshed](https://galaxyproject.org/toolshed/) using [planemo](https://github.com/galaxyproject/planemo). I used command as follows,
  
  1. create virtual env
  
     ```
     virtualenv .venv; .venv/bin/activate
  
     ```
  2. Install planemo
  
     ```
     pip install planemo
  
     ```
  3. To configuring a shed account
  
     ```
     planemo config_init
  
     ```
  4. 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) username_0@username_0-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/username_0/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.
  
  
  ---
  
  