[GH-ISSUE #627] Windows username with spaces #494

Open
opened 2026-05-05 06:32:09 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @TupaNegreiros on GitHub (Apr 16, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/627

Operating Systems

Server: Windows 10 1909 18363.572

Client: No needed

Barrier Version

2.3.2

Steps to reproduce bug

Login on Windows with a username with spaces. A user with home folder as something "c:\users\name surname".
Run Barrier as server. If you use configuration file on a folder with spaces in the name, or with interactive configuration (so it saves a file on Temp folder, with spaces in home folder).
Get log as:

DEBUG: opening configuration "C:/Users/Name Surname/AppData/Local/Temp/Barrier.FpXkJO"
DEBUG: cannot open configuration "C:/Users/Name Surname/AppData/Local/Temp/Barrier.FpXkJO"
barriers.exe: no configuration available

Other info

Only work around is to save configuration to a folder without spaces, no way to use interactive. It's possible to config with interactive mode, save config to a folder and use it.

Does this bug prevent you from using Barrier entirely? Yes
I had the same problem with Synergy, needed to debug to find out about "cannot open configuration", then tryed without spaces.

Originally created by @TupaNegreiros on GitHub (Apr 16, 2020). Original GitHub issue: https://github.com/debauchee/barrier/issues/627 ### Operating Systems ### Server: Windows 10 1909 18363.572 Client: No needed ### Barrier Version ### 2.3.2 ### Steps to reproduce bug ### Login on Windows with a username with spaces. A user with home folder as something "c:\users\name surname". Run Barrier as server. If you use configuration file on a folder with spaces in the name, or with interactive configuration (so it saves a file on Temp folder, with spaces in home folder). Get log as: DEBUG: opening configuration "C:/Users/Name Surname/AppData/Local/Temp/Barrier.FpXkJO" DEBUG: cannot open configuration "C:/Users/Name Surname/AppData/Local/Temp/Barrier.FpXkJO" barriers.exe: no configuration available ### Other info ### Only work around is to save configuration to a folder without spaces, no way to use interactive. It's possible to config with interactive mode, save config to a folder and use it. Does this bug prevent you from using Barrier entirely? Yes I had the same problem with Synergy, needed to debug to find out about "cannot open configuration", then tryed without spaces.
Author
Owner

@github-actions[bot] commented on GitHub (Sep 24, 2020):

This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.

<!-- gh-comment-id:698060878 --> @github-actions[bot] commented on GitHub (Sep 24, 2020): This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.
Author
Owner

@fanvinga commented on GitHub (Oct 9, 2020):

Same issue here.I try to store the configuration file in OneDrive,so there are some spaces in the path.

<!-- gh-comment-id:706228163 --> @fanvinga commented on GitHub (Oct 9, 2020): Same issue here.I try to store the configuration file in OneDrive,so there are some spaces in the path.
Author
Owner

@thebodzio commented on GitHub (May 22, 2021):

Is the issue still there? I've tried to reproduce it with 2.3.3 and configuration file placed in D:/Some space/Config.sgc and it works properly:

[2021-05-22T14:27:05] DEBUG: opening configuration "D:/Some space/Config.sgc"
[2021-05-22T14:27:05] DEBUG: configuration read successfully
[2021-05-22T14:27:05] DEBUG1: starting server

Granted: it's not the “same” folder, but it definitely does have space in its name.

<!-- gh-comment-id:846401730 --> @thebodzio commented on GitHub (May 22, 2021): Is the issue still there? I've tried to reproduce it with 2.3.3 and configuration file placed in `D:/Some space/Config.sgc` and it works properly: ``` [2021-05-22T14:27:05] DEBUG: opening configuration "D:/Some space/Config.sgc" [2021-05-22T14:27:05] DEBUG: configuration read successfully [2021-05-22T14:27:05] DEBUG1: starting server ``` Granted: it's not the “same” folder, but it definitely does have space in its name.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#494
No description provided.