datagovuk / dgu-vagrant-puppet

[unmaintained] Container environment for booting fresh DGU virtual machines. Create VMs with Vagrant, configure them with Puppet.
37 stars 29 forks source link

Errors when trying to save a new dataset #34

Closed heinlja closed 10 years ago

heinlja commented 10 years ago

I have a working instance of dgu-vagrant-puppet togo branch. When I log in and try to save a brand new dataset, I get the following errors in CKAN error log. Any hints to where I should be looking for to find the reason?

[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] Error - <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'iteritems', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] URL: https://192.168.11.11/dataset/new, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/home/co/ckan/lib/python2.7/site-packages/weberror/errormiddleware.py', line 162 in __call__, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   app_iter = self.application(environ, sr_checker), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/home/co/ckan/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   resp = self.call_func(req, *args, **self.kwargs), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/home/co/ckan/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   return self.func(req, *args, **kwargs), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/home/co/ckan/lib/python2.7/site-packages/fanstatic/publisher.py', line 234 in __call__, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   return request.get_response(self.app), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/home/co/ckan/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   application, catch_exc_info=False), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/home/co/ckan/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   app_iter = application(self.environ, start_response), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/home/co/ckan/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   resp = self.call_func(req, *args, **self.kwargs), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/home/co/ckan/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   return self.func(req, *args, **kwargs), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/home/co/ckan/lib/python2.7/site-packages/fanstatic/injector.py', line 54 in __call__, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   response = request.get_response(self.app), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/home/co/ckan/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   application, catch_exc_info=False), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/home/co/ckan/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   app_iter = application(self.environ, start_response), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/home/co/ckan/lib/python2.7/site-packages/beaker/middleware.py', line 73 in __call__, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   return self.app(environ, start_response), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/home/co/ckan/lib/python2.7/site-packages/beaker/middleware.py', line 155 in __call__, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   return self.wrap_app(environ, session_start_response), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/home/co/ckan/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   response = self.app(environ, start_response), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/vagrant/src/ckanext-dgu/ckanext/dgu/authentication/drupal_auth.py', line 121 in __call__, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   return self.app(environ, new_start_response), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/home/co/ckan/lib/python2.7/site-packages/pylons/wsgiapp.py', line 125 in __call__, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   response = self.dispatch(controller, environ, start_response), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/home/co/ckan/lib/python2.7/site-packages/pylons/wsgiapp.py', line 324 in dispatch, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   return controller(environ, start_response), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/vagrant/src/ckan/ckan/lib/base.py', line 279 in __call__, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   res = WSGIController.__call__(self, environ, start_response), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/home/co/ckan/lib/python2.7/site-packages/pylons/controllers/core.py', line 221 in __call__, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   response = self._dispatch_call(), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/home/co/ckan/lib/python2.7/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   response = self._inspect_call(func), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/home/co/ckan/lib/python2.7/site-packages/pylons/controllers/core.py', line 107 in _inspect_call, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   result = self._perform_call(func, args), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/home/co/ckan/lib/python2.7/site-packages/pylons/controllers/core.py', line 60 in _perform_call, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   return func(**args), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/vagrant/src/ckan/ckan/controllers/package.py', line 484 in new, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   return self._save_new(context, package_type=package_type), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/vagrant/src/ckan/ckan/controllers/package.py', line 920 in _save_new, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   pkg_dict = get_action('package_create')(context, data_dict), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/vagrant/src/ckan/ckan/logic/__init__.py', line 328 in wrapped, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   return _action(context, data_dict, **kw), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/vagrant/src/ckan/ckan/logic/action/create.py', line 132 in package_create, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   data, errors = _validate(data_dict, schema, context), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/vagrant/src/ckan/ckan/lib/navl/dictization_functions.py', line 230 in validate, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   converted_data, errors = _validate(flattened, schema, context), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/vagrant/src/ckan/ckan/lib/navl/dictization_functions.py', line 272 in _validate, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   converted_data = augment_data(data, schema), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/vagrant/src/ckan/ckan/lib/navl/dictization_functions.py', line 116 in augment_data, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   flattented_schema = flatten_schema(schema), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] File '/vagrant/src/ckan/ckan/lib/navl/dictization_functions.py', line 63 in flatten_schema, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   for key, value in schema.iteritems():, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] AttributeError: 'NoneType' object has no attribute 'iteritems', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] , referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] , referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] CGI Variables, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] -------------, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   AUTH_TYPE: 'cookie', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   CKAN_CURRENT_URL: '/dataset/new', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   CKAN_LANG: 'en', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   CKAN_LANG_IS_DEFAULT: True, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   CONTENT_TYPE: 'application/x-www-form-urlencoded; charset=utf-8', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   DOCUMENT_ROOT: '/var/www', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   GATEWAY_INTERFACE: 'CGI/1.1', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   HTTPS: '1', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   HTTP_ACCEPT_ENCODING: 'gzip,deflate', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   HTTP_ACCEPT_LANGUAGE: 'et-EE,et;q=0.8,en-US;q=0.6,en;q=0.4', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   HTTP_CACHE_CONTROL: 'max-age=0', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   HTTP_CONNECTION: 'keep-alive', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   HTTP_COOKIE: 'SESS6dde74eb1eff9ccac97068632fbfffb1=IS3V2uzWcGffmQza8HTkDNTa_T4Bok2SdyLpDe66W4k; SSESS6dde74eb1eff9ccac97068632fbfffb1=4AKd50imcMZ-azwwAH45P8H4CbregC1KNpL7jYCk56s; has_js=1; auth_tkt="67629b0bd6582c206ce4ac2f8a4a1d4c543f9c62user_d1!IS3V2uzWcGffmQza8HTkDNTa_T4Bok2SdyLpDe66W4k"', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   HTTP_HOST: '192.168.11.11', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   HTTP_ORIGIN: 'https://192.168.11.11', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   HTTP_REFERER: 'https://192.168.11.11/dataset/new', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   HTTP_USER_AGENT: 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   PATH_INFO: '/dataset/new', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   PATH_TRANSLATED: 'redirect:/index.php', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   REMOTE_ADDR: '192.168.11.1', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   REMOTE_PORT: '50724', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   REMOTE_USER: 'user_d1', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   REMOTE_USER_DATA: 'IS3V2uzWcGffmQza8HTkDNTa_T4Bok2SdyLpDe66W4k', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   REMOTE_USER_TOKENS: [''], referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   REQUEST_METHOD: 'POST', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   REQUEST_URI: '/dataset/new', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   SCRIPT_FILENAME: '/var/ckan/wsgi_app.py', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   SERVER_ADDR: '192.168.11.11', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   SERVER_ADMIN: '[no address given]', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   SERVER_NAME: '192.168.11.11', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   SERVER_PORT: '443', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   SERVER_PROTOCOL: 'HTTP/1.1', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   SERVER_SIGNATURE: '<address>Apache/2.2.22 (Ubuntu) Server at 192.168.11.11 Port 443</address>\\n', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   SERVER_SOFTWARE: 'Apache/2.2.22 (Ubuntu)', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] , referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] , referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] WSGI Variables, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] --------------, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   application: <fanstatic.publisher.Delegator object at 0x7fb0d37b56d0>, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   beaker.cache: <beaker.cache.CacheManager object at 0x7fb0d37b2910>, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7fb0d37b2510>>, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   beaker.session: {'_accessed_time': 1413455258.29616, '_creation_time': 1413455258.29616}, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   fanstatic.needed: <fanstatic.core.NeededResources object at 0x7fb0db75c290>, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   mod_wsgi.application_group: 'localhost|/dataset', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   mod_wsgi.callable_object: 'application', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   mod_wsgi.handler_script: '', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   mod_wsgi.input_chunked: '0', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   mod_wsgi.listener_host: '', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   mod_wsgi.listener_port: '443', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   mod_wsgi.process_group: '', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   mod_wsgi.request_handler: 'wsgi-script', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   mod_wsgi.script_reloading: '1', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   mod_wsgi.version: (3, 3), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   paste.cookies: (<SimpleCookie: SESS6dde74eb1eff9ccac97068632fbfffb1='IS3V2uzWcGffmQza8HTkDNTa_T4Bok2SdyLpDe66W4k' SSESS6dde74eb1eff9ccac97068632fbfffb1='4AKd50imcMZ-azwwAH45P8H4CbregC1KNpL7jYCk56s' auth_tkt='67629b0bd6582c206ce4ac2f8a4a1d4c543f9c62user_d1!IS3V2uzWcGffmQza8HTkDNTa_T4Bok2SdyLpDe66W4k' has_js='1'>, 'SESS6dde74eb1eff9ccac97068632fbfffb1=IS3V2uzWcGffmQza8HTkDNTa_T4Bok2SdyLpDe66W4k; SSESS6dde74eb1eff9ccac97068632fbfffb1=4AKd50imcMZ-azwwAH45P8H4CbregC1KNpL7jYCk56s; has_js=1; auth_tkt="67629b0bd6582c206ce4ac2f8a4a1d4c543f9c62user_d1!IS3V2uzWcGffmQza8HTkDNTa_T4Bok2SdyLpDe66W4k"'), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   paste.registry: <paste.registry.Registry object at 0x7fb0db73ca90>, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   paste.throw_errors: True, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   pylons.action_method: <bound method PackageController.new of <ckanext.dgu.controllers.package.PackageController object at 0x7fb0db768c90>>, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   pylons.controller: <ckanext.dgu.controllers.package.PackageController object at 0x7fb0db768c90>, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   pylons.pylons: <pylons.util.PylonsContext object at 0x7fb0db768ed0>, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   pylons.routes_dict: {'action': u'new', 'controller': u'ckanext.dgu.controllers.package:PackageController'}, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   repoze.who.identity: <repoze.who identity (hidden, dict-like) at 140397573408320>, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   repoze.who.logger: <logging.Logger object at 0x7fb0d392db10>, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   repoze.who.plugins: {'ckanext.dgu.authentication.drupal_repoze_plugin:DrupalLoginPlugin': <ckanext.dgu.authentication.drupal_repoze_plugin.DrupalLoginPlugin object at 0x7fb0d3ba77d0>, 'openid': <OpenIdIdentificationPlugin 140397440588048>, 'dgu_auth_tkt': <DGUAuthTktCookiePlugin 140397439045776>, 'ckan.lib.authenticator:OpenIDAuthenticator': <ckan.lib.authenticator.OpenIDAuthenticator object at 0x7fb0d3ba7750>, 'friendlyform': <FriendlyFormPlugin 140397440586512>, 'ckan.lib.authenticator:UsernamePasswordAuthenticator': <ckan.lib.authenticator.UsernamePasswordAuthenticator object at 0x7fb0d3ba7790>}, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   routes.route: <routes.route.Route object at 0x7fb0d3408790>, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   routes.url: <routes.util.URLGenerator object at 0x7fb0db768fd0>, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   webob._parsed_post_vars: (MultiDict([('title', 'testDataset1'), ('extras__100__key', 'unpublished'), ('extras__100__value', 'false'), ('name', 'testdataset1'), ('package_type', 'individual'), ('update_frequency', ''), ('update_frequency-other', ''), ('timeseries_resources__0__id', ''), ('timeseries_resources__0__resource_type', ''), ('timeseries_resources__0__date', ''), ('timeseries_resources__0__description', ''), ('timeseries_resources__0__url', ''), ('timeseries_resources__0__format', ''), ('individual_resources__0__id', ''), ('individual_resources__0__resource_type', ''), ('individual_resources__0__description', ''), ('individual_resources__0__url', 'http://www.lta.gov.sg/content/dam/ltaweb/corp/PublicationsResearch/files/FactsandFigures/MVP02-2_New_Cars_by_make.pdf'), ('individual_resources__0__format', 'PDF'), ('notes', 'Test dataset description1'), ('license_id', 'uk-ogl'), ('access_constraints', ''), ('owner_org', 'e087c7b4-2c02-4940-b465-109f1ecec295'), ('contact-name', ''), ('con...t([('ti...h')])>), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   webob._parsed_query_vars: (GET([]), ''), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   webob.adhoc_attrs: {'errors': 'ignore', 'response': <Response at 0x7fb0db768d50 200 OK>, 'language': 'en-us'}, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   webob.is_body_readable: True, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   webob.is_body_seekable: False, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   wsgi process: 'Multiprocess', referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   wsgi.file_wrapper: <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fb0db73f990>, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   wsgi.version: (1, 1), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7fb0db768fd0>, {'action': u'new', 'controller': u'ckanext.dgu.controllers.package:PackageController'}), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] ------------------------------------------------------------, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] , referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]             <p>Additionally an error occurred while sending the &lt;weberror.reporter.EmailReporter object at 0x7fb0db770550&gt; report:, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] , referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]             <pre>Traceback (most recent call last):, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   File "/home/co/ckan/lib/python2.7/site-packages/weberror/errormiddleware.py", line 450, in send_report, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]     rep.report(exc_data), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   File "/home/co/ckan/lib/python2.7/site-packages/weberror/reporter.py", line 45, in report, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]     server = smtplib.SMTP(self.smtp_server), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   File "/usr/lib/python2.7/smtplib.py", line 249, in __init__, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]     (code, msg) = self.connect(host, port), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   File "/usr/lib/python2.7/smtplib.py", line 309, in connect, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]     self.sock = self._get_socket(host, port, self.timeout), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]     return socket.create_connection((port, host), timeout), referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]   File "/usr/lib/python2.7/socket.py", line 571, in create_connection, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]     raise err, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] error: [Errno 111] Connection refused, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1] </pre>, referer: https://192.168.11.11/dataset/new
[Thu Oct 16 10:27:38 2014] [error] [client 192.168.11.1]             </p>, referer: https://192.168.11.11/dataset/new
davidread commented 10 years ago

Looks like the schema is blank for some reason. Have you got the right version of ckan here? You should have branch release-v2.2-dgu however what you have on /vagrant/src/ckan/ckan/logic/action/create.py L132 doesn't have the DGU changes. It should be: https://github.com/datagovuk/ckan/blob/release-v2.2-dgu/ckan/logic/action/create.py

heinlja commented 10 years ago

I suspected the same. Indeed on this one we've got standard CKAN, as we had some other issues with the TOGO that downloads release-v2.2-dgu. But I'll post that in another issue.