auto-selfcontrol icon indicating copy to clipboard operation
auto-selfcontrol copied to clipboard

Username 'MY_USERNAME' unknown.

Open vanh128 opened this issue 6 years ago • 2 comments

Try to run it and get this error message. It suggests me using whoami to learn the username. However, it shows the same username I used for config. Specific below: Username 'anhnguyen' unknown. Please use your OSX username instead. If you have trouble finding it, just enter the command 'whoami' in your terminal. Anhs-MacBook-Pro:auto-selfcontrol-master anhnguyen$ whoami anhnguyen

Anyone has any ideas what is the problem?

vanh128 avatar Jan 24 '19 01:01 vanh128

Just for due diligence; make sure you don’t have any extra spaces, lookalike characters, missing characters, and that your quotes are correct. Copy and paste the whoami result just to be sure.

Post that line of the config here also so we can see.

slambert avatar Jan 24 '19 11:01 slambert

Hi @slambert, here is the line of the config:

{ "username": "anhnguyen", "selfcontrol-path": "/Applications/SelfControl.app", "host-blacklist": [

and this is the result from whoami command:

Anhs-MacBook-Pro:~ anhnguyen$ whoami anhnguyen

vanh128 avatar Jan 24 '19 13:01 vanh128