sing-box icon indicating copy to clipboard operation
sing-box copied to clipboard

MacOS 14.4 SFM can't edit local profile

Open zzhi-github opened this issue 1 year ago • 4 comments

Operating system

macOS

System version

14.4

Installation type

sing-box for macOS Graphical Client

If you are using a graphical client, please provide the version of the client.

1.9.3

Version

No response

Description

It's not possible to edit the profile contents. After the edition, starting sing-box reports different errors like unknown character "a" or unkown character "\n". If I just edit the contents in an editor application, and copy it back to sing-box. The profile can work well. I suppose something wrong with character set. Not sure if someone had the same issue?

Reproduction

New a local profile and input new contents in the profile. Start the sing-box client with the profile.

Logs

(packet-tunnel): Here I stand
(packet-tunnel) error: create service: decode config: invalid character '\n' in string literal: row 311, column 0

Supporter

Integrity requirements

  • [X] I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
  • [X] I confirm that I have provided the server and client configuration files and process that can be reproduced locally, instead of a complicated client configuration file that has been stripped of sensitive data.
  • [X] I confirm that I have provided the simplest configuration that can be used to reproduce the error I reported, instead of depending on remote servers, TUN, graphical interface clients, or other closed-source software.
  • [X] I confirm that I have provided the complete configuration files and logs, rather than just providing parts I think are useful out of confidence in my own intelligence.

zzhi-github avatar Jul 03 '24 15:07 zzhi-github

Does anyone have the same issue here?

zzhi-github avatar Jul 08 '24 14:07 zzhi-github

image

分号手打会变,用 command + "C", command + "V",不手打。

yanhao98 avatar Jul 08 '24 15:07 yanhao98

It seems related to #1182

This is really bothering me.

duskmoon314 avatar Jul 12 '24 08:07 duskmoon314

@yanhao98 I did the same thing like you, only copy&paste can work. I have to copy the profile to the text editor, and copy it back afterwards. Very annoying.

zzhi-github avatar Jul 13 '24 08:07 zzhi-github

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Sep 23 '24 01:09 github-actions[bot]