You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,21 @@ Default value is `''`.
94
94
95
95
## FAQ
96
96
97
+
### I use Ubuntu and get errors when signing in. How can I fix it?
98
+
99
+
Ubuntu users might see the error message below when signing in.
100
+
```text
101
+
raise InitError("Failed to unlock the collection!")
102
+
keyring.errors.InitError: Failed to unlock the collection!
103
+
```
104
+
105
+
It's caused by the misconfiguration of python-keyring. One way to fix it is to create a file `~/.local/share/python_keyring/keyringrc.cfg` with the following content:
106
+
107
+
```ini
108
+
[backend]
109
+
default-keyring=keyring.backends.Gnome.Keyring
110
+
```
111
+
97
112
### Why can't I test the problem/submit the problem/list the problems?
98
113
99
114
~~Once you sign in on your browser in LeetCode website, the LeetCode session in
0 commit comments