Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing process-compose on a path containing unicode characters on Windows breaks it #171

Closed
kran6a opened this issue Apr 1, 2024 · 1 comment
Labels
bug Something isn't working done Done, awaiting release

Comments

@kran6a
Copy link

kran6a commented Apr 1, 2024

Version of process-compose:

v1.0.1

OS environment:

Windows 11

Steps or code to reproduce the issue:

Download the precompiled binary from releases and put it on any path containing unicode characters that is included in the PATH environment variable, the go to a directory containing a process-compose.yml file and execute process-compose

Expected result:

It executes normally like in Linux

Actual result:

C:\Users\Ángel\IdeaProjects\test>process-compose
{"level":"warn","error":"open C:\\Users\\Ángel\\AppData\\Local\\process-compose\\settings.yaml: The system cannot find the path specified.","time":"2024-04-02T01:04:29+02:00","message":"Error reading settings file C:\\Users\\Ángel\\AppData\\Local\\process-compose\\settings.yaml"}
Failed to open log file: C:\Users\NGEL~1\AppData\Local\Temp\process-compose-DESKTOP-62ED6VB\Ángel.log: open C:\Users\NGEL~1\AppData\Local\Temp\process-compose-DESKTOP-62ED6VB\Ángel.log: The system cannot find the path specified.
{"level":"fatal","error":"open C:\\Users\\NGEL~1\\AppData\\Local\\Temp\\process-compose-DESKTOP-62ED6VB\\Ángel.log: The system cannot find the path specified.","time":"2024-04-02T01:04:29+02:00","message":"Failed to open log file: C:\\Users\\NGEL~1\\AppData\\Local\\Temp\\process-compose-DESKTOP-62ED6VB\\Ángel.log"}

if I manually create the settings.yml file then it only complains because it cannot create the log file:

C:\Users\Ángel\IdeaProjects\test>process-compose
Failed to open log file: C:\Users\NGEL~1\AppData\Local\Temp\process-compose-DESKTOP-62ED6VB\Ángel.log: open C:\Users\NGEL~1\AppData\Local\Temp\process-compose-DESKTOP-62ED6VB\Ángel.log: The system cannot find the path specified.
{"level":"fatal","error":"open C:\\Users\\NGEL~1\\AppData\\Local\\Temp\\process-compose-DESKTOP-62ED6VB\\Ángel.log: The system cannot find the path specified.","time":"2024-04-02T01:06:55+02:00","message":"Failed to open log file: C:\\Users\\NGEL~1\\AppData\\Local\\Temp\\process-compose-DESKTOP-62ED6VB\\Ángel.log"}
@F1bonacc1 F1bonacc1 added the bug Something isn't working label Apr 2, 2024
@F1bonacc1 F1bonacc1 added the done Done, awaiting release label Apr 6, 2024
@F1bonacc1
Copy link
Owner

Fixed in v1.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working done Done, awaiting release
Projects
None yet
Development

No branches or pull requests

2 participants