[ckan-discuss] plugin of iDataset_form not working in the first phase of dataset registration

Yanning(Yu) Chen cheny18 at rpi.edu
Thu Apr 4 20:23:00 BST 2013


Hi folks,

I've been successfully able to modify the schema and UI of dataset registration using under CKAN 2.0 but things just don't work again on CKAN 2.1a. I followed the new ways of making changes on the schema and UI in the first phase of data registration, but after I uploaded the file in the second phase and click next, the server crashes with internal error 500. 

The error report is 

File '/home/momo/pyenv/local/lib/python2.7/site-packages/weberror/errormiddleware.py', line 162 in __call__
 app_iter = self.application(environ, sr_checker)
File '/home/momo/pyenv/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
 resp = self.call_func(req, *args, **self.kwargs)
File '/home/momo/pyenv/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
 return self.func(req, *args, **kwargs)
File '/home/momo/pyenv/local/lib/python2.7/site-packages/fanstatic/publisher.py', line 234 in __call__
 return request.get_response(self.app)
File '/home/momo/pyenv/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
 application, catch_exc_info=False)
File '/home/momo/pyenv/local/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
 app_iter = application(self.environ, start_response)
File '/home/momo/pyenv/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
 resp = self.call_func(req, *args, **self.kwargs)
File '/home/momo/pyenv/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
 return self.func(req, *args, **kwargs)
File '/home/momo/pyenv/local/lib/python2.7/site-packages/fanstatic/injector.py', line 54 in __call__
 response = request.get_response(self.app)
File '/home/momo/pyenv/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
 application, catch_exc_info=False)
File '/home/momo/pyenv/local/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
 app_iter = application(self.environ, start_response)
File '/home/momo/pyenv/local/lib/python2.7/site-packages/beaker/middleware.py', line 73 in __call__
 return self.app(environ, start_response)
File '/home/momo/pyenv/local/lib/python2.7/site-packages/beaker/middleware.py', line 155 in __call__
 return self.wrap_app(environ, session_start_response)
File '/home/momo/pyenv/local/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__
 response = self.app(environ, start_response)
File '/home/momo/pyenv/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 125 in __call__
 response = self.dispatch(controller, environ, start_response)
File '/home/momo/pyenv/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 324 in dispatch
 return controller(environ, start_response)
File '/home/momo/pyenv/src/ckan/ckan/lib/base.py', line 288 in __call__
 res = WSGIController.__call__(self, environ, start_response)
File '/home/momo/pyenv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 221 in __call__
 response = self._dispatch_call()
File '/home/momo/pyenv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
 response = self._inspect_call(func)
File '/home/momo/pyenv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
 result = self._perform_call(func, args)
File '/home/momo/pyenv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 60 in _perform_call
 return func(**args)
File '/home/momo/pyenv/src/ckan/ckan/controllers/package.py', line 658 in new_resource
 pkg_dict = get_action('package_show')(context, {'id': id})
File '/home/momo/pyenv/src/ckan/ckan/logic/__init__.py', line 324 in wrapped
 return _action(context, data_dict, **kw)
File '/home/momo/pyenv/src/ckan/ckan/logic/action/get.py', line 722 in package_show
 raise NotFound
NotFound: 

Any suggestion or similar experience? Thanks!

Cheers
Yu



More information about the ckan-discuss mailing list