[Bug]: The system cannot find the path specified
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- php
- Ambito
- cli, operating-systems
Direzione di ricerca
Esamina php.bat e gli altri file .bat che contengono il percorso utente completo, quindi riproduci l’installazione con un nome utente Windows contenente uno spazio e un carattere accentato. Verifica che comandi come herd e php vengano eseguiti correttamente senza l’errore relativo al percorso e che i percorsi generati utilizzino l’approccio indicato basato sulla variabile del profilo utente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Platform
Windows
Operating system version
Windows 11 Home Single Language
System architecture
Intel (x86)
Herd Version
1.0.1
PHP Version
8.3
Bug description
The next bug is simple to fix, I do it my self.
When I install Herd on my Windows machine, everytime I try to run the command herd, or php, etc, I always recieve the message: The system cannot find the path specified. I'm not even an expert on windows but I found that the problem is releated with the name of my current user (folder) containt an accent mark and a space.
Let say, e.g. C:\User\José Perengano, so the problem was in the php.bat file (and all the other .bat files that contain the full path), I just replace the base part with the variable %USERPROFILE% and the path looks like this "%USERPROFILE%\.config\herd\bin\php83\php.exe" %*.
I tried to solve the problem just scaping the space, but that doesn't work so I choose to use the system variable, and just to be clear, this was a fresh installation, I do not touch anything before.
Steps to reproduce
Create a local user on a Windows Machine, and the user folder should have to contain a space, and an accent mark
Relevant log output
The system cannot find the path specified
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 123
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di beyondcode/herd-community
-
[Bug]: PHP 8.3 php.ini missing auto_prepend_file and herd-ext extension lines (dump() undefined) ApertamacOS
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
beyondcode/herd-community#1693 ·
-
macOS
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
beyondcode/herd-community#1602 ·
-
macOS
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
beyondcode/herd-community#1753 ·
-
macOS
Difficoltà 4/5 3-5 giorni Idoneità per principianti 63/100
beyondcode/herd-community#1752 ·
-
macOS
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
beyondcode/herd-community#1751 ·
Tutte le issue di beyondcode/herd-community
Issue simili
-
area: harness bug status: needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Human-Agent-Society/reef#625 ·
-
module: core
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
bigbluebutton/bigbluebutton#25849 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
vercel-labs/just-bash#464 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
area:sandbox documentation enhancement platform:linux
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
anthropics/claude-code#96664 ·