[GH-ISSUE #1284] cannot read configuration when hotkey involves "#" or shift-3 #1024

Open
opened 2026-05-05 07:23:33 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @poscogrubb on GitHub (Sep 10, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1284

What happened?

I added a hotkey for Shift-Ctrl-Alt-3. Then Barriers server stopped loading with this log:
ERROR: cannot read configuration "C:/Users/username/AppData/Local/Temp/Barrier.ALzvMv": read error: line 53: missing )
barriers.exe: no configuration available

I believe this error is due to the fact that my hotkey is being represented as Ctrl-Alt-Shift-# in the configuration file, and this "#" is being interpreted as a comment character.

When I deleted the hotkey involving the shift-3, the server started up fine.

Version

v2.3.3

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

No response

What OSes are you seeing the problem on? (Check all that apply)

Windows

What OS versions are you using?

Windows 10

Relevant log output

[2021-09-09T22:50:29] INFO: starting new process as privileged user
[2021-09-09T22:50:29] INFO: drag and drop enabled
[2021-09-09T22:50:29] ERROR: cannot read configuration "C:/Users/username/AppData/Local/Temp/Barrier.ALzvMv": read error: line 53: missing )
barriers.exe: no configuration available
[2021-09-09T22:50:30] ERROR: failed to launch, error: process immediately stopped
[2021-09-09T22:50:30] INFO: backing off, wait=2s, failures=1

Any other information

No response

Originally created by @poscogrubb on GitHub (Sep 10, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1284 ### What happened? I added a hotkey for Shift-Ctrl-Alt-3. Then Barriers server stopped loading with this log: ERROR: cannot read configuration "C:/Users/username/AppData/Local/Temp/Barrier.ALzvMv": read error: line 53: missing ) barriers.exe: no configuration available I believe this error is due to the fact that my hotkey is being represented as Ctrl-Alt-Shift-# in the configuration file, and this "#" is being interpreted as a comment character. When I deleted the hotkey involving the shift-3, the server started up fine. ### Version v2.3.3 ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? _No response_ ### What OSes are you seeing the problem on? (Check all that apply) Windows ### What OS versions are you using? Windows 10 ### Relevant log output ```shell [2021-09-09T22:50:29] INFO: starting new process as privileged user [2021-09-09T22:50:29] INFO: drag and drop enabled [2021-09-09T22:50:29] ERROR: cannot read configuration "C:/Users/username/AppData/Local/Temp/Barrier.ALzvMv": read error: line 53: missing ) barriers.exe: no configuration available [2021-09-09T22:50:30] ERROR: failed to launch, error: process immediately stopped [2021-09-09T22:50:30] INFO: backing off, wait=2s, failures=1 ``` ### Any other information _No response_
gitea-mirror added the
bug
label 2026-05-05 07:23:33 -06:00
Author
Owner

@mirh commented on GitHub (Feb 28, 2022):

More or less the same happens when you use +.

ERROR: cannot read configuration "C:/Users/username/AppData/Local/Temp/Barrier.YuPxzy": read error: line 48: unable to parse key modifiers
barriers.exe: no configuration available
ERROR: failed to launch, error: process immediately stopped
<!-- gh-comment-id:1054227941 --> @mirh commented on GitHub (Feb 28, 2022): More or less the same happens when you use `+`. ERROR: cannot read configuration "C:/Users/username/AppData/Local/Temp/Barrier.YuPxzy": read error: line 48: unable to parse key modifiers barriers.exe: no configuration available ERROR: failed to launch, error: process immediately stopped
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#1024
No description provided.