DCOR-dev / DCOR-Aid

GUI for managing data on DCOR
https://dcor.mpl.mpg.de
GNU General Public License v3.0
1 stars 2 forks source link

Error message when opening DCOR-Aid on Mac #77

Open jamie-rivercyte opened 4 months ago

jamie-rivercyte commented 4 months ago

When I opened the app and chose 'playground' and clicked submit, this error popped up:

Unhandled exception in DCOR-Aid version 0.14.2: Traceback (most recent call last): File "dcoraid/gui/wizard/init.py", line 84, in _finalize api_key = self.get_api_key() File "dcoraid/gui/wizard/init.py", line 143, in get_api_key return get_dcor_dev_api_key() File "dcoraid/gui/wizard/init.py", line 23, in get_dcor_dev_api_key api.get_user_dict() File "dcoraid/api/ckan_api.py", line 334, in get_user_dict userdata = self.get("user_show") File "dcoraid/api/ckan_api.py", line 298, in get rdata = self.handle_response(req, api_call) File "dcoraid/api/ckan_api.py", line 204, in handle_response raise APIAuthorizationError(msg) dcoraid.api.errors.APIAuthorizationError: Authorization Error: message: Access denied (for 'user_show')

It looks like I'm missing an API key but the UI never asked me to provide one

paulmueller commented 4 months ago

The initial setup wizard should have asked you to sign in and create an API token. It is now possible again to create API tokens via the API (https://github.com/ckan/ckan/issues/7836). So there seems to be something broken in DCOR-Aid