Error message in the "Remove unneeded deploy files" step of project generation
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Reproduce the issue with uvx cookieplone project from a WSL path containing spaces, then trace the Remove unneeded deploy files step in project generation. Confirm the fix by generating a project in the same kind of path and verifying that the step produces no error while generation completes.
Written by the indexing model from the issue text.
Description
Describe the bug
In this step I get:
make: *** /mnt/c/Users/Silviu: No such file or directory. Stop.
This step is the only one that has output in its content.
And then it goes on with the next step.
From the error message I guess that in the Cookieplone code there is the assumption that the user name, at least on WSL which I use right now for this example, is made of a string that does not contain space characters. In the latest Plone docs it is specified the fact that WSL is supported, and currently this is a huge hope of main. I use Ubuntu in WSL.
Is this error fatal? How can I avoid this error while this issue is WIP?
To Reproduce
I can give you the exact terminal text I have:
silviub@DESKTOP-1TSFF95:/mnt/c/Users/Silviu Bogan/Desktop/pro$ uvx cookieplone project
╭──────────────────────────────────────────────────── cookieplone ─────────────────────────────────────────────────────╮
│ │
│ ******* │
│ *************** │
│ *** *** ********* *** *** │
│ *** *** *** *********** *** * R * │
│ *** ***** *** *** *** *** *** │
│ *** *** *** *** *** *** **** *** *** **** │
│ *** *** *** *** *** *** ******** ********* ******** │
│ *** ***** *** *********** *** *** *** **** *** *** *** │
│ *** *** *** *** ********* *** *** *** *** *** ********** │
│ *** ***** *** *** *** *** *** *** *** ********* │
│ *** *** *** *** **** *** *** *** *** *** ... │
│ *** *** *** ***** ******** *** *** ******** │
│ *************** *** *** **** *** *** **** │
│ ******* │
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
You've downloaded /home/silviub/.cookiecutters/cookieplone-templates before. Is it okay to delete and re-download it?
[y/n] (y):
╭─────────────────────────────────────────────────── Plone Project ────────────────────────────────────────────────────╮
│ │
│ Creating a new Plone Project │
│ │
│ Sanity check results: │
│ │
│ - Cookieplone: ✓ │
│ - uv: ✓ │
│ - Node: ✓ │
│ - git: ✓ │
│ - Docker (optional): Docker not found. │
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
[1/19] Project Title (Project Title): Project Title
[2/19] Project Description (A new project using Plone 6.):
[3/19] Project Slug (Used for repository id) (project-title):
[4/19] Project URL (without protocol) (project-title.example.com):
[5/19] Author (Plone Foundation): Silviu Bogan
[6/19] Author E-mail (collective@plone.org): silviubogan@gmail.com
[7/19] Should we use prerelease versions? (No):
[8/19] Plone Version (6.2.0):
[9/19] Volto Version (19.1.4):
[10/19] Python Package Name (project.title):
[11/19] Volto Addon Name (volto-project-title):
[12/19] Language
1 - English
2 - Deutsch
3 - Español
4 - Português (Brasil)
5 - Nederlands
6 - Suomi
7 - Italiano
8 - Svenska
Choose from [1/2/3/4/5/6/7/8] (1):
[13/19] GitHub or GitLab username or organization slug from URL (collective): silviubogan
[14/19] Container Registry
1 - GitHub Container Registry
2 - Docker Hub
3 - GitLab
Choose from [1/2/3] (1):
[15/19] Which persistent storage to use in the deployment stack?
1 - RelStorage with PostgreSQL (recommended)
2 - ZEO with FileStorage
3 - Local FileStorage, implies a single backend
Choose from [1/2/3] (1):
[16/19] Should we setup a caching server?
1 - Yes
2 - No
Choose from [1/2] (1):
[17/19] Add Ansible playbooks?
1 - Yes
2 - No
Choose from [1/2] (1):
[18/19] Add GitHub Action to Deploy this project?
1 - Yes
2 - No
Choose from [1/2] (1):
[19/19] Would you like to add a documentation scaffold to your project?
1 - Yes
2 - No
Choose from [1/2] (1):
╭─────────────────────────────────────────────── Project Title generation ────────────────────────────────────────────────╮
│ │
│ Summary: │
│ │
│ - Plone version: 6.2.0 │
│ - Volto version: 19.1.4 │
│ - Output folder: /mnt/c/Users/Silviu Bogan/Desktop/pro/project-title │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
-> Setup Backend
-> Setup Frontend
-> Generate documentation scaffold
-> Setup Cache
-> Setup Project Settings
-> Setup VSCode configuration
-> Setup GitHub CI
-> Remove unneeded documentation files
-> Remove unneeded cache files
-> Remove unneeded deploy files
make: *** /mnt/c/Users/Silviu: No such file or directory. Stop.
-> Organize documentation files
-> Remove unneeded documentation files
-> Initialize Git repository
╭───────────────────────────────────────────── New project was generated ──────────────────────────────────────────────╮
│ │
│ Project Title │
│ │
│ Now, code it, create a git repository, push to your organization. │
│ │
│ Sorry for the convenience, │
│ The Plone Community. │
│ │
│ https://plone.org/ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
silviub@DESKTOP-1TSFF95:/mnt/c/Users/Silviu Bogan/Desktop/pro$
Expected behavior
No output in the Remove unneeded deploy files step.
Software
- OS: Windows with WSL (latest Ubuntu LTS version)
- Browser: N/A
- Plone Version: 6.2.0
- Volto Version: 19.1.4
- Plone REST API Version: not available because
make installfails
- Dominant language
- Python
- Stars
- 12
- Forks
- 4
- Avg merge
- 4m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from plone/cookieplone
-
04 type: enhancement
Difficulty 4/5 3-5 days Newbie friendliness 48/100
plone/cookieplone#185 ·
-
04 type: enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
plone/cookieplone#176 · 1 comment · 1 reaction ·
-
33 needs: docs
plone/cookieplone#149 · 3 comments · 1 assignee ·
-
05 type: question
Difficulty 3/5 1-2 days Newbie friendliness 35/100
plone/cookieplone#39 ·
-
plone/cookieplone#33 · 1 comment · 2 assignees ·
All issues in plone/cookieplone
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100