Closed oasec1 closed 10 years ago
please add this file into the folder of users:https://github.com/FedericoCeratto/bottle-cork/blob/master/examples/example_conf/users.json
Thanks ill confirm and advise.
Regards, Robert
Worked as expected after adding the file. I'll close the issue.
Regards, Robert
Getting this error;
C:\Maildb-master>python Maildb.py Traceback (most recent call last): File "Maildb.py", line 36, in
auth = Cork('users', email_sender=None)
File "C:\Python27\lib\site-packages\bottle_cork-0.10-py2.7.egg\cork\cork.py",
line 79, in init
initialize=initialize)
File "C:\Python27\lib\site-packages\bottle_cork-0.10-py2.7.egg\cork\json_backe
nd.py", line 48, in init
self._refresh() # load users and roles
File "C:\Python27\lib\site-packages\bottle_cork-0.10-py2.7.egg\cork\json_backe
nd.py", line 58, in _refresh
self._loadjson(self._users_fname, self.users)
File "C:\Python27\lib\site-packages\bottle_cork-0.10-py2.7.egg\cork\json_backe
nd.py", line 90, in _loadjson
% (fname, e))
cork.base_backend.BackendIOException: Unable to parse JSON data from users/users
.json: No JSON object could be decoded