Answer the question
In order to leave comments, you need to log in
How to fix access error?
I put the script on ubuntu and got an error
PermissionError: [Errno 13] Permission denied: 'users.json'
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "bot.py", line 1346, in run
with open("users.json", "w") as f:
PermissionError: [Errno 13] Permission denied: 'users.json'
Answer the question
In order to leave comments, you need to log in
What rights? Isn't the error due to multi-threaded access to the file?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question