Ticket #2653 (closed enhancement: fixed)

Opened 22 months ago

Last modified 22 months ago

Requesting file upload authentication fails on demo

Reported by: aron.carroll Owned by: toby
Priority: blocker Milestone: demo phase 2
Component: ckan Keywords: demo-theme
Cc: Repository: ckan
Theme: none

Description

Try: http://localhost:5000/api/storage/auth/form/photo-of-a-duck

Gets:

File '<string>', line 2 in auth_form
File '/Users/Aron/.virtualenvs/ckan/src/ckan/ckan/lib/jsonp.py', line 26 in jsonpify
  data = func(*args, **kwargs)
File '/Users/Aron/.virtualenvs/ckan/src/ckan/ckan/controllers/storage.py', line 407 in auth_form
  authorize(method, bucket, label, c.userobj, self.ofs)
File '/Users/Aron/.virtualenvs/ckan/src/ckan/ckan/controllers/storage.py', line 200 in ofs
  StorageAPIController._ofs_impl = get_ofs()
File '/Users/Aron/.virtualenvs/ckan/src/ckan/ckan/controllers/storage.py', line 71 in get_ofs
  storage_backend = config['ofs.impl']
File '/Users/Aron/.virtualenvs/ckan/lib/python2.7/site-packages/paste/registry.py', line 146 in __getitem__
  return self._current_obj()[key]
KeyError: 'ofs.impl'

Change History

comment:1 Changed 22 months ago by toby

  • Status changed from new to closed
  • Resolution set to fixed

config issue resolved

Note: See TracTickets for help on using tickets.