Skip to content

Instantly share code, notes, and snippets.

@solars
Created August 2, 2018 14:32
Show Gist options
  • Save solars/33c6eed1cce6395dfa5be0531a5ab88b to your computer and use it in GitHub Desktop.
Save solars/33c6eed1cce6395dfa5be0531a5ab88b to your computer and use it in GitHub Desktop.
Attaching to ckan
ckan | Initialising DB: SUCCESS
ckan | 2018-08-01 09:49:53,071 INFO [ckan.config.environment] Loading static files from public
ckan | 2018-08-01 09:49:53,268 INFO [ckan.config.environment] Loading templates from /usr/lib/ckan/venv/src/ckan/ckan/templates
ckan | 2018-08-01 09:49:53,489 INFO [ckan.config.environment] Loading templates from /usr/lib/ckan/venv/src/ckan/ckan/templates
ckan | Initialising DB: SUCCESS
ckan | 2018-08-01 13:10:25,962 INFO [ckan.config.environment] Loading static files from public
ckan | 2018-08-01 13:10:25,987 INFO [ckan.config.environment] Loading templates from /usr/lib/ckan/venv/src/ckan/ckan/templates
ckan | 2018-08-01 13:10:26,171 INFO [ckan.config.environment] Loading templates from /usr/lib/ckan/venv/src/ckan/ckan/templates
ckan | 2018-08-01 13:10:57,264 INFO [ckanext.datastore.backend.postgres] Create nested type. Native JSON: True
ckan | 2018-08-01 13:48:03,323 INFO [ckan.lib.base] /organization/new render time 0.264 seconds
ckan | /usr/lib/ckan/venv/local/lib/python2.7/site-packages/sqlalchemy/orm/session.py:2181: SAWarning: Usage of the 'related attribute set' operation is not currently supported within the execution stage of the flush process. Results may not be consistent. Consider using alternative event listeners or connection-level operations instead.
ckan | % method)
ckan | 2018-08-01 13:48:16,747 INFO [ckan.lib.base] /organization/new render time 0.144 seconds
ckan | 2018-08-01 13:48:17,034 INFO [ckan.lib.base] /organization/stadt-dornbirn render time 0.279 seconds
ckan | 2018-08-01 14:17:30,018 INFO [ckan.lib.base] /organization/edit/stadt-dornbirn render time 0.219 seconds
ckan | 2018-08-01 14:17:37,079 INFO [ckan.lib.base] /organization/members/stadt-dornbirn render time 0.178 seconds
ckan | 2018-08-01 14:17:40,789 INFO [ckan.lib.base] /organization/member_new/ea259eda-05e8-443c-9fee-a823fc259aa5 render time 0.162 seconds
ckan | 2018-08-01 14:18:01,948 ERROR [ckan.lib.mailer] [Errno 99] Cannot assign requested address
ckan | Traceback (most recent call last):
ckan | File "/usr/lib/ckan/venv/src/ckan/ckan/lib/mailer.py", line 71, in _mail_recipient
ckan | smtp_connection.connect(smtp_server)
ckan | File "/usr/lib/python2.7/smtplib.py", line 316, in connect
ckan | self.sock = self._get_socket(host, port, self.timeout)
ckan | File "/usr/lib/python2.7/smtplib.py", line 291, in _get_socket
ckan | return socket.create_connection((host, port), timeout)
ckan | File "/usr/lib/python2.7/socket.py", line 571, in create_connection
ckan | raise err
ckan | error: [Errno 99] Cannot assign requested address
ckan | 2018-08-01 14:18:02,047 INFO [ckan.lib.base] /organization/member_new/ea259eda-05e8-443c-9fee-a823fc259aa5 render time 0.397 seconds
ckan | 2018-08-01 14:20:46,851 INFO [ckan.lib.base] /organization/members/stadt-dornbirn render time 0.164 seconds
ckan | 2018-08-01 14:20:52,484 INFO [ckan.lib.base] /organization/edit/stadt-dornbirn render time 0.191 seconds
ckan | 2018-08-01 14:21:01,369 INFO [ckan.lib.base] /organization/stadt-dornbirn render time 0.205 seconds
ckan | 2018-08-01 14:38:32,200 INFO [ckan.lib.base] /organization render time 0.141 seconds
ckan | 2018-08-01 14:38:34,955 INFO [ckan.lib.base] /organization/stadt-dornbirn render time 0.196 seconds
ckan | 2018-08-01 14:38:50,803 INFO [ckan.lib.base] /group render time 0.121 seconds
ckan | 2018-08-01 14:38:53,952 INFO [ckan.lib.base] /group/new render time 0.126 seconds
ckan | 2018-08-01 14:39:13,054 INFO [ckan.lib.base] /group render time 0.103 seconds
ckan | 2018-08-01 14:39:14,584 INFO [ckan.lib.base] /group/new render time 0.083 seconds
ckan | Initialising DB: SUCCESS
ckan | 2018-08-02 13:24:09,512 INFO [ckan.config.environment] Loading static files from public
ckan | 2018-08-02 13:24:09,535 INFO [ckan.config.environment] Loading templates from /usr/lib/ckan/venv/src/ckan/ckan/templates
ckan | 2018-08-02 13:24:09,818 INFO [ckan.config.environment] Loading templates from /usr/lib/ckan/venv/src/ckan/ckan/templates
ckan | 2018-08-02 13:26:50,918 INFO [ckan.lib.base] /group/new render time 0.727 seconds
ckan | 2018-08-02 13:26:51,258 INFO [ckan.lib.base] /group/new render time 0.083 seconds
ckan | 2018-08-02 13:26:52,890 INFO [ckan.lib.base] /group/new render time 0.075 seconds
ckan | 2018-08-02 13:26:56,060 INFO [ckan.lib.base] /organization render time 0.156 seconds
ckan | 2018-08-02 13:27:01,547 INFO [ckan.lib.base] /organization render time 0.082 seconds
ckan | 2018-08-02 13:27:06,841 INFO [ckan.lib.base] /organization/stadt-dornbirn render time 0.257 seconds
ckan | Error - <type 'exceptions.KeyError'>: 'display_name'
ckan | URL: http://localhost:5000/organization/edit/stadt-dornbirn
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/weberror/errormiddleware.py', line 171 in __call__
ckan | app_iter = self.application(environ, sr_checker)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
ckan | resp = self.call_func(req, *args, **self.kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
ckan | return self.func(req, *args, **kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/fanstatic/publisher.py', line 234 in __call__
ckan | return request.get_response(self.app)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
ckan | application, catch_exc_info=False)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
ckan | app_iter = application(self.environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
ckan | resp = self.call_func(req, *args, **self.kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
ckan | return self.func(req, *args, **kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/fanstatic/injector.py', line 54 in __call__
ckan | response = request.get_response(self.app)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
ckan | application, catch_exc_info=False)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
ckan | app_iter = application(self.environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/pylons_app.py', line 265 in inner
ckan | result = application(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/beaker/middleware.py', line 73 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/beaker/middleware.py', line 156 in __call__
ckan | return self.wrap_app(environ, session_start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__
ckan | response = self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/common_middleware.py', line 30 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/common_middleware.py', line 56 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 125 in __call__
ckan | response = self.dispatch(controller, environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 324 in dispatch
ckan | return controller(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 240 in __call__
ckan | res = WSGIController.__call__(self, environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 221 in __call__
ckan | response = self._dispatch_call()
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
ckan | response = self._inspect_call(func)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
ckan | result = self._perform_call(func, args)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 60 in _perform_call
ckan | return func(**args)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/controllers/group.py', line 521 in edit
ckan | c.form = render(self._group_form(group_type), extra_vars=vars)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 125 in render
ckan | return cached_template(template_name, renderer)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/templating.py', line 249 in cached_template
ckan | return render_func()
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 162 in render_template
ckan | return render_jinja2(template_name, globs)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 94 in render_jinja2
ckan | return template.render(**extra_vars)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/jinja2/environment.py', line 989 in render
ckan | return self.environment.handle_exception(exc_info, True)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/jinja2/environment.py', line 754 in handle_exception
ckan | reraise(exc_type, exc_value, tb)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/templates/organization/new_organization_form.html', line 1 in top-level template code
ckan | {% extends "organization/snippets/organization_form.html" %}
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/templates/organization/snippets/organization_form.html', line 106 in top-level template code
ckan | {{ form.select('orgportals_secondary_portal', 'orgportals_secondary_portal', _('Choose secondary portal'), options=h.orgportals_get_all_organizations(data.name), selected=data.orgportals_secondary_portal) }}
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/helpers.py', line 356 in orgportals_get_all_organizations
ckan | organizations
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/helpers.py', line 354 in <lambda>
ckan | 'text': item['display_name']
ckan | KeyError: 'display_name'
ckan |
ckan |
ckan | CGI Variables
ckan | -------------
ckan | AUTH_TYPE: 'cookie'
ckan | CKAN_CURRENT_URL: '/organization/edit/stadt-dornbirn'
ckan | CKAN_LANG: 'en'
ckan | CKAN_LANG_IS_DEFAULT: True
ckan | CONTENT_LENGTH: '0'
ckan | HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'
ckan | HTTP_ACCEPT_ENCODING: 'gzip, deflate, br'
ckan | HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.9,de;q=0.8'
ckan | HTTP_CONNECTION: 'keep-alive'
ckan | HTTP_COOKIE: 'gsScrollPos-991=0; auth_tkt="3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode"; ckan=68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec'
ckan | HTTP_HOST: 'localhost:5000'
ckan | HTTP_REFERER: 'http://localhost:5000/organization/stadt-dornbirn'
ckan | HTTP_UPGRADE_INSECURE_REQUESTS: '1'
ckan | HTTP_USER_AGENT: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36'
ckan | PATH_INFO: '/organization/edit/stadt-dornbirn'
ckan | REMOTE_ADDR: '172.20.0.1'
ckan | REMOTE_USER: u'christophblank'
ckan | REMOTE_USER_DATA: 'userid_type=unicode'
ckan | REMOTE_USER_TOKENS: ['']
ckan | REQUEST_METHOD: 'GET'
ckan | SERVER_NAME: '0.0.0.0'
ckan | SERVER_PORT: '5000'
ckan | SERVER_PROTOCOL: 'HTTP/1.1'
ckan |
ckan |
ckan | WSGI Variables
ckan | --------------
ckan | __no_cache__: True
ckan | application: <fanstatic.publisher.Delegator object at 0x7f49a8756a50>
ckan | beaker.cache: <beaker.cache.CacheManager object at 0x7f49a8756990>
ckan | beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7f49a8756910>>
ckan | beaker.session: {'_accessed_time': 1533218389.751468, '_creation_time': 1533129546.097383}
ckan | ckan.app: 'pylons_app'
ckan | fanstatic.needed: <fanstatic.core.NeededResources object at 0x7f497beea0d0>
ckan | paste.cookies: (<SimpleCookie: auth_tkt='3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode' ckan='68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec' gsScrollPos-991='0'>, 'gsScrollPos-991=0; auth_tkt="3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode"; ckan=68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec')
ckan | paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0x7f49b0ab6210>
ckan | paste.registry: <paste.registry.Registry object at 0x7f497beea310>
ckan | paste.throw_errors: True
ckan | pylons.action_method: <bound method OrganizationController.edit of <ckan.controllers.organization.OrganizationController object at 0x7f497beeaa10>>
ckan | pylons.controller: <ckan.controllers.organization.OrganizationController object at 0x7f497beeaa10>
ckan | pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
ckan | pylons.pylons: <pylons.util.PylonsContext object at 0x7f497beea950>
ckan | pylons.routes_dict: {'action': u'edit', 'controller': u'organization', 'id': u'stadt-dornbirn'}
ckan | repoze.who.api: <repoze.who.api.API object at 0x7f4984138450>
ckan | repoze.who.identity: <repoze.who identity (hidden, dict-like) at 139953588634568>
ckan | repoze.who.logger: <logging.Logger object at 0x7f49a8756b50>
ckan | repoze.who.plugins: {'ckan.lib.authenticator:UsernamePasswordAuthenticator': <ckan.lib.authenticator.UsernamePasswordAuthenticator object at 0x7f49a8776e10>, 'friendlyform': <FriendlyFormPlugin 139954335737936>, 'auth_tkt': <CkanAuthTktCookiePlugin 139954335737744>}
ckan | routes.route: <routes.route.Route object at 0x7f49a88c9510>
ckan | routes.url: <routes.util.URLGenerator object at 0x7f497beeabd0>
ckan | webob._parsed_query_vars: (GET([]), '')
ckan | webob.adhoc_attrs: {'response': <Response at 0x7f497beeab90 200 OK>, 'language': 'en-us'}
ckan | wsgi process: 'Multithreaded'
ckan | wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7f497beeabd0>, {'action': u'edit', 'controller': u'organization', 'id': u'stadt-dornbirn'})
ckan | ------------------------------------------------------------
ckan | 2018-08-02 13:59:49,874 INFO [ckan.lib.base] /organization/edit/stadt-dornbirn render time 0.050 seconds
ckan | Error - <type 'exceptions.KeyError'>: 'display_name'
ckan | URL: http://localhost:5000/organization/edit/stadt-dornbirn
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/weberror/errormiddleware.py', line 171 in __call__
ckan | app_iter = self.application(environ, sr_checker)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
ckan | resp = self.call_func(req, *args, **self.kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
ckan | return self.func(req, *args, **kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/fanstatic/publisher.py', line 234 in __call__
ckan | return request.get_response(self.app)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
ckan | application, catch_exc_info=False)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
ckan | app_iter = application(self.environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
ckan | resp = self.call_func(req, *args, **self.kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
ckan | return self.func(req, *args, **kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/fanstatic/injector.py', line 54 in __call__
ckan | response = request.get_response(self.app)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
ckan | application, catch_exc_info=False)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
ckan | app_iter = application(self.environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/pylons_app.py', line 265 in inner
ckan | result = application(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/beaker/middleware.py', line 73 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/beaker/middleware.py', line 156 in __call__
ckan | return self.wrap_app(environ, session_start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__
ckan | response = self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/common_middleware.py', line 30 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/common_middleware.py', line 56 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 125 in __call__
ckan | response = self.dispatch(controller, environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 324 in dispatch
ckan | return controller(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 240 in __call__
ckan | res = WSGIController.__call__(self, environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 221 in __call__
ckan | response = self._dispatch_call()
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
ckan | response = self._inspect_call(func)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
ckan | result = self._perform_call(func, args)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 60 in _perform_call
ckan | return func(**args)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/controllers/group.py', line 521 in edit
ckan | c.form = render(self._group_form(group_type), extra_vars=vars)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 125 in render
ckan | return cached_template(template_name, renderer)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/templating.py', line 249 in cached_template
ckan | return render_func()
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 162 in render_template
ckan | return render_jinja2(template_name, globs)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 94 in render_jinja2
ckan | return template.render(**extra_vars)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/jinja2/environment.py', line 989 in render
ckan | return self.environment.handle_exception(exc_info, True)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/jinja2/environment.py', line 754 in handle_exception
ckan | reraise(exc_type, exc_value, tb)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/templates/organization/new_organization_form.html', line 1 in top-level template code
ckan | {% extends "organization/snippets/organization_form.html" %}
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/templates/organization/snippets/organization_form.html', line 106 in top-level template code
ckan | {{ form.select('orgportals_secondary_portal', 'orgportals_secondary_portal', _('Choose secondary portal'), options=h.orgportals_get_all_organizations(data.name), selected=data.orgportals_secondary_portal) }}
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/helpers.py', line 356 in orgportals_get_all_organizations
ckan | organizations
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/helpers.py', line 354 in <lambda>
ckan | 'text': item['display_name']
ckan | KeyError: 'display_name'
ckan |
ckan |
ckan | CGI Variables
ckan | -------------
ckan | AUTH_TYPE: 'cookie'
ckan | CKAN_CURRENT_URL: '/organization/edit/stadt-dornbirn'
ckan | CKAN_LANG: 'en'
ckan | CKAN_LANG_IS_DEFAULT: True
ckan | CONTENT_LENGTH: '0'
ckan | HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'
ckan | HTTP_ACCEPT_ENCODING: 'gzip, deflate, br'
ckan | HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.9,de;q=0.8'
ckan | HTTP_CACHE_CONTROL: 'max-age=0'
ckan | HTTP_CONNECTION: 'keep-alive'
ckan | HTTP_COOKIE: 'gsScrollPos-991=0; auth_tkt="3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode"; ckan=68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec'
ckan | HTTP_HOST: 'localhost:5000'
ckan | HTTP_REFERER: 'http://localhost:5000/organization/stadt-dornbirn'
ckan | HTTP_UPGRADE_INSECURE_REQUESTS: '1'
ckan | HTTP_USER_AGENT: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36'
ckan | PATH_INFO: '/organization/edit/stadt-dornbirn'
ckan | REMOTE_ADDR: '172.20.0.1'
ckan | REMOTE_USER: u'christophblank'
ckan | REMOTE_USER_DATA: 'userid_type=unicode'
ckan | REMOTE_USER_TOKENS: ['']
ckan | REQUEST_METHOD: 'GET'
ckan | SERVER_NAME: '0.0.0.0'
ckan | SERVER_PORT: '5000'
ckan | SERVER_PROTOCOL: 'HTTP/1.1'
ckan |
ckan |
ckan | WSGI Variables
ckan | --------------
ckan | __no_cache__: True
ckan | application: <fanstatic.publisher.Delegator object at 0x7f49a8756a50>
ckan | beaker.cache: <beaker.cache.CacheManager object at 0x7f49a8756990>
ckan | beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7f49a8756910>>
ckan | beaker.session: {'_accessed_time': 1533218392.441109, '_creation_time': 1533129546.097383}
ckan | ckan.app: 'pylons_app'
ckan | fanstatic.needed: <fanstatic.core.NeededResources object at 0x7f4984053090>
ckan | paste.cookies: (<SimpleCookie: auth_tkt='3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode' ckan='68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec' gsScrollPos-991='0'>, 'gsScrollPos-991=0; auth_tkt="3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode"; ckan=68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec')
ckan | paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0x7f49b0ab6210>
ckan | paste.registry: <paste.registry.Registry object at 0x7f497be1b050>
ckan | paste.throw_errors: True
ckan | pylons.action_method: <bound method OrganizationController.edit of <ckan.controllers.organization.OrganizationController object at 0x7f497bf42790>>
ckan | pylons.controller: <ckan.controllers.organization.OrganizationController object at 0x7f497bf42790>
ckan | pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
ckan | pylons.pylons: <pylons.util.PylonsContext object at 0x7f4984053e50>
ckan | pylons.routes_dict: {'action': u'edit', 'controller': u'organization', 'id': u'stadt-dornbirn'}
ckan | repoze.who.api: <repoze.who.api.API object at 0x7f497bf61e50>
ckan | repoze.who.identity: <repoze.who identity (hidden, dict-like) at 139953588637232>
ckan | repoze.who.logger: <logging.Logger object at 0x7f49a8756b50>
ckan | repoze.who.plugins: {'ckan.lib.authenticator:UsernamePasswordAuthenticator': <ckan.lib.authenticator.UsernamePasswordAuthenticator object at 0x7f49a8776e10>, 'friendlyform': <FriendlyFormPlugin 139954335737936>, 'auth_tkt': <CkanAuthTktCookiePlugin 139954335737744>}
ckan | routes.route: <routes.route.Route object at 0x7f49a88c9510>
ckan | routes.url: <routes.util.URLGenerator object at 0x7f4984053490>
ckan | webob._parsed_query_vars: (GET([]), '')
ckan | webob.adhoc_attrs: {'response': <Response at 0x7f4984053b90 200 OK>, 'language': 'en-us'}
ckan | wsgi process: 'Multithreaded'
ckan | wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7f4984053490>, {'action': u'edit', 'controller': u'organization', 'id': u'stadt-dornbirn'})
ckan | ------------------------------------------------------------
ckan | 2018-08-02 13:59:52,503 INFO [ckan.lib.base] /organization/edit/stadt-dornbirn render time 0.044 seconds
ckan | Initialising DB: SUCCESS
ckan | 2018-08-02 14:03:32,942 INFO [ckan.config.environment] Loading static files from public
ckan | 2018-08-02 14:03:32,965 INFO [ckan.config.environment] Loading templates from /usr/lib/ckan/venv/src/ckan/ckan/templates
ckan | 2018-08-02 14:03:33,143 INFO [ckan.config.environment] Loading templates from /usr/lib/ckan/venv/src/ckan/ckan/templates
ckan | 2018-08-02 14:05:30,074 INFO [ckan.lib.base] /organization/edit/stadt-dornbirn render time 0.955 seconds
ckan | /usr/lib/ckan/venv/local/lib/python2.7/site-packages/sqlalchemy/orm/session.py:2181: SAWarning: Usage of the 'related attribute set' operation is not currently supported within the execution stage of the flush process. Results may not be consistent. Consider using alternative event listeners or connection-level operations instead.
ckan | % method)
ckan | 2018-08-02 14:06:20,744 INFO [ckan.lib.base] /organization/edit/stadt-dornbirn render time 0.087 seconds
ckan | 2018-08-02 14:06:21,030 INFO [ckan.lib.base] /organization/stadt-dornbirn render time 0.280 seconds
ckan | 2018-08-02 14:06:23,111 INFO [ckan.lib.base] /organization/edit/stadt-dornbirn render time 0.166 seconds
ckan | 2018-08-02 14:06:24,650 INFO [ckan.lib.base] /organization/bulk_process/stadt-dornbirn render time 0.174 seconds
ckan | 2018-08-02 14:06:26,694 INFO [ckan.lib.base] /dataset/new render time 0.192 seconds
ckan | 2018-08-02 14:06:45,514 INFO [ckan.lib.base] /dataset/new render time 0.743 seconds
ckan | 2018-08-02 14:06:45,612 INFO [ckan.lib.base] /dataset/new_resource/test render time 0.092 seconds
ckan | 2018-08-02 14:06:48,159 INFO [ckan.lib.base] /dataset/new_resource/test render time 0.088 seconds
ckan | 2018-08-02 14:06:53,050 INFO [ckan.lib.base] /dataset/new_resource/test render time 0.469 seconds
ckan | 2018-08-02 14:06:53,082 WARNI [ckan.lib.maintain] Function _resource_preview() in module ckan.controllers.package has been deprecated and will be removed in a later release of ckan. Resource preview is deprecated. Please use the new resource views
ckan | 2018-08-02 14:06:53,381 INFO [ckan.lib.base] /dataset/test render time 0.320 seconds
ckan | 2018-08-02 14:06:57,577 INFO [ckan.lib.base] /organization render time 0.121 seconds
ckan | Initialising DB: SUCCESS
ckan | 2018-08-02 14:26:34,183 INFO [ckan.config.environment] Loading static files from public
ckan | 2018-08-02 14:26:34,204 INFO [ckan.config.environment] Loading templates from /usr/lib/ckan/venv/src/ckan/ckan/templates
ckan | 2018-08-02 14:26:34,487 INFO [ckan.config.environment] Loading templates from /usr/lib/ckan/venv/src/ckan/ckan/templates
ckan | 2018-08-02 14:28:36,466 INFO [ckan.lib.base] /organization render time 0.725 seconds
ckan | 2018-08-02 14:28:42,413 INFO [ckan.lib.base] /organization/stadt-dornbirn render time 0.298 seconds
ckan | 2018-08-02 14:28:49,038 INFO [ckan.lib.base] /organization/stadt-dornbirn render time 0.132 seconds
ckan | Error - <type 'exceptions.KeyError'>: 'display_name'
ckan | URL: http://localhost:5000/organization/edit/stadt-dornbirn
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/weberror/errormiddleware.py', line 171 in __call__
ckan | app_iter = self.application(environ, sr_checker)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
ckan | resp = self.call_func(req, *args, **self.kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
ckan | return self.func(req, *args, **kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/fanstatic/publisher.py', line 234 in __call__
ckan | return request.get_response(self.app)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
ckan | application, catch_exc_info=False)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
ckan | app_iter = application(self.environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
ckan | resp = self.call_func(req, *args, **self.kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
ckan | return self.func(req, *args, **kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/fanstatic/injector.py', line 54 in __call__
ckan | response = request.get_response(self.app)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
ckan | application, catch_exc_info=False)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
ckan | app_iter = application(self.environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/pylons_app.py', line 265 in inner
ckan | result = application(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/beaker/middleware.py', line 73 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/beaker/middleware.py', line 156 in __call__
ckan | return self.wrap_app(environ, session_start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__
ckan | response = self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/common_middleware.py', line 30 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/common_middleware.py', line 56 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 125 in __call__
ckan | response = self.dispatch(controller, environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 324 in dispatch
ckan | return controller(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 240 in __call__
ckan | res = WSGIController.__call__(self, environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 221 in __call__
ckan | response = self._dispatch_call()
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
ckan | response = self._inspect_call(func)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
ckan | result = self._perform_call(func, args)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 60 in _perform_call
ckan | return func(**args)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/controllers/group.py', line 521 in edit
ckan | c.form = render(self._group_form(group_type), extra_vars=vars)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 125 in render
ckan | return cached_template(template_name, renderer)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/templating.py', line 249 in cached_template
ckan | return render_func()
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 162 in render_template
ckan | return render_jinja2(template_name, globs)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 94 in render_jinja2
ckan | return template.render(**extra_vars)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/jinja2/environment.py', line 989 in render
ckan | return self.environment.handle_exception(exc_info, True)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/jinja2/environment.py', line 754 in handle_exception
ckan | reraise(exc_type, exc_value, tb)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/templates/organization/new_organization_form.html', line 1 in top-level template code
ckan | {% extends "organization/snippets/organization_form.html" %}
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/templates/organization/snippets/organization_form.html', line 106 in top-level template code
ckan | {{ form.select('orgportals_secondary_portal', 'orgportals_secondary_portal', _('Choose secondary portal'), options=h.orgportals_get_all_organizations(data.name), selected=data.orgportals_secondary_portal) }}
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/helpers.py', line 356 in orgportals_get_all_organizations
ckan | organizations
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/helpers.py', line 354 in <lambda>
ckan | 'text': item['display_name']
ckan | KeyError: 'display_name'
ckan |
ckan |
ckan | CGI Variables
ckan | -------------
ckan | AUTH_TYPE: 'cookie'
ckan | CKAN_CURRENT_URL: '/organization/edit/stadt-dornbirn'
ckan | CKAN_LANG: 'en'
ckan | CKAN_LANG_IS_DEFAULT: True
ckan | CONTENT_LENGTH: '0'
ckan | HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'
ckan | HTTP_ACCEPT_ENCODING: 'gzip, deflate, br'
ckan | HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.9,de;q=0.8'
ckan | HTTP_CONNECTION: 'keep-alive'
ckan | HTTP_COOKIE: 'gsScrollPos-991=0; auth_tkt="3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode"; ckan=68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec'
ckan | HTTP_HOST: 'localhost:5000'
ckan | HTTP_REFERER: 'http://localhost:5000/organization/stadt-dornbirn'
ckan | HTTP_UPGRADE_INSECURE_REQUESTS: '1'
ckan | HTTP_USER_AGENT: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36'
ckan | PATH_INFO: '/organization/edit/stadt-dornbirn'
ckan | REMOTE_ADDR: '172.20.0.1'
ckan | REMOTE_USER: u'christophblank'
ckan | REMOTE_USER_DATA: 'userid_type=unicode'
ckan | REMOTE_USER_TOKENS: ['']
ckan | REQUEST_METHOD: 'GET'
ckan | SERVER_NAME: '0.0.0.0'
ckan | SERVER_PORT: '5000'
ckan | SERVER_PROTOCOL: 'HTTP/1.1'
ckan |
ckan |
ckan | WSGI Variables
ckan | --------------
ckan | __no_cache__: True
ckan | application: <fanstatic.publisher.Delegator object at 0x7fc0ef6e4a50>
ckan | beaker.cache: <beaker.cache.CacheManager object at 0x7fc0ef6e4990>
ckan | beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7fc0ef6e4910>>
ckan | beaker.session: {'_accessed_time': 1533220136.082839, '_creation_time': 1533129546.097383}
ckan | ckan.app: 'pylons_app'
ckan | fanstatic.needed: <fanstatic.core.NeededResources object at 0x7fc0c2f027d0>
ckan | paste.cookies: (<SimpleCookie: auth_tkt='3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode' ckan='68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec' gsScrollPos-991='0'>, 'gsScrollPos-991=0; auth_tkt="3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode"; ckan=68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec')
ckan | paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0x7fc0f7a43210>
ckan | paste.registry: <paste.registry.Registry object at 0x7fc0c3132090>
ckan | paste.throw_errors: True
ckan | pylons.action_method: <bound method OrganizationController.edit of <ckan.controllers.organization.OrganizationController object at 0x7fc0c3045e90>>
ckan | pylons.controller: <ckan.controllers.organization.OrganizationController object at 0x7fc0c3045e90>
ckan | pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
ckan | pylons.pylons: <pylons.util.PylonsContext object at 0x7fc0c30457d0>
ckan | pylons.routes_dict: {'action': u'edit', 'controller': u'organization', 'id': u'stadt-dornbirn'}
ckan | repoze.who.api: <repoze.who.api.API object at 0x7fc0f3142cd0>
ckan | repoze.who.identity: <repoze.who identity (hidden, dict-like) at 140465881018744>
ckan | repoze.who.logger: <logging.Logger object at 0x7fc0ef6e4b50>
ckan | repoze.who.plugins: {'ckan.lib.authenticator:UsernamePasswordAuthenticator': <ckan.lib.authenticator.UsernamePasswordAuthenticator object at 0x7fc0ef704e10>, 'friendlyform': <FriendlyFormPlugin 140466627561552>, 'auth_tkt': <CkanAuthTktCookiePlugin 140466627561360>}
ckan | routes.route: <routes.route.Route object at 0x7fc0ef856510>
ckan | routes.url: <routes.util.URLGenerator object at 0x7fc0c2f02050>
ckan | webob._parsed_query_vars: (GET([]), '')
ckan | webob.adhoc_attrs: {'response': <Response at 0x7fc0c2f02290 200 OK>, 'language': 'en-us'}
ckan | wsgi process: 'Multithreaded'
ckan | wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7fc0c2f02050>, {'action': u'edit', 'controller': u'organization', 'id': u'stadt-dornbirn'})
ckan | ------------------------------------------------------------
ckan | 2018-08-02 14:28:56,188 INFO [ckan.lib.base] /organization/edit/stadt-dornbirn render time 0.047 seconds
ckan | Error - <type 'exceptions.KeyError'>: 'display_name'
ckan | URL: http://localhost:5000/organization/edit/stadt-dornbirn
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/weberror/errormiddleware.py', line 171 in __call__
ckan | app_iter = self.application(environ, sr_checker)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
ckan | resp = self.call_func(req, *args, **self.kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
ckan | return self.func(req, *args, **kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/fanstatic/publisher.py', line 234 in __call__
ckan | return request.get_response(self.app)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
ckan | application, catch_exc_info=False)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
ckan | app_iter = application(self.environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
ckan | resp = self.call_func(req, *args, **self.kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
ckan | return self.func(req, *args, **kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/fanstatic/injector.py', line 54 in __call__
ckan | response = request.get_response(self.app)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
ckan | application, catch_exc_info=False)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
ckan | app_iter = application(self.environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/pylons_app.py', line 265 in inner
ckan | result = application(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/beaker/middleware.py', line 73 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/beaker/middleware.py', line 156 in __call__
ckan | return self.wrap_app(environ, session_start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__
ckan | response = self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/common_middleware.py', line 30 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/common_middleware.py', line 56 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 125 in __call__
ckan | response = self.dispatch(controller, environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 324 in dispatch
ckan | return controller(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 240 in __call__
ckan | res = WSGIController.__call__(self, environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 221 in __call__
ckan | response = self._dispatch_call()
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
ckan | response = self._inspect_call(func)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
ckan | result = self._perform_call(func, args)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 60 in _perform_call
ckan | return func(**args)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/controllers/group.py', line 521 in edit
ckan | c.form = render(self._group_form(group_type), extra_vars=vars)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 125 in render
ckan | return cached_template(template_name, renderer)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/templating.py', line 249 in cached_template
ckan | return render_func()
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 162 in render_template
ckan | return render_jinja2(template_name, globs)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 94 in render_jinja2
ckan | return template.render(**extra_vars)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/jinja2/environment.py', line 989 in render
ckan | return self.environment.handle_exception(exc_info, True)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/jinja2/environment.py', line 754 in handle_exception
ckan | reraise(exc_type, exc_value, tb)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/templates/organization/new_organization_form.html', line 1 in top-level template code
ckan | {% extends "organization/snippets/organization_form.html" %}
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/templates/organization/snippets/organization_form.html', line 106 in top-level template code
ckan | {{ form.select('orgportals_secondary_portal', 'orgportals_secondary_portal', _('Choose secondary portal'), options=h.orgportals_get_all_organizations(data.name), selected=data.orgportals_secondary_portal) }}
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/helpers.py', line 356 in orgportals_get_all_organizations
ckan | organizations
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/helpers.py', line 354 in <lambda>
ckan | 'text': item['display_name']
ckan | KeyError: 'display_name'
ckan |
ckan |
ckan | CGI Variables
ckan | -------------
ckan | AUTH_TYPE: 'cookie'
ckan | CKAN_CURRENT_URL: '/organization/edit/stadt-dornbirn'
ckan | CKAN_LANG: 'en'
ckan | CKAN_LANG_IS_DEFAULT: True
ckan | CONTENT_LENGTH: '0'
ckan | HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'
ckan | HTTP_ACCEPT_ENCODING: 'gzip, deflate, br'
ckan | HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.9,de;q=0.8'
ckan | HTTP_CACHE_CONTROL: 'max-age=0'
ckan | HTTP_CONNECTION: 'keep-alive'
ckan | HTTP_COOKIE: 'gsScrollPos-991=0; auth_tkt="3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode"; ckan=68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec'
ckan | HTTP_HOST: 'localhost:5000'
ckan | HTTP_REFERER: 'http://localhost:5000/organization/stadt-dornbirn'
ckan | HTTP_UPGRADE_INSECURE_REQUESTS: '1'
ckan | HTTP_USER_AGENT: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36'
ckan | PATH_INFO: '/organization/edit/stadt-dornbirn'
ckan | REMOTE_ADDR: '172.20.0.1'
ckan | REMOTE_USER: u'christophblank'
ckan | REMOTE_USER_DATA: 'userid_type=unicode'
ckan | REMOTE_USER_TOKENS: ['']
ckan | REQUEST_METHOD: 'GET'
ckan | SERVER_NAME: '0.0.0.0'
ckan | SERVER_PORT: '5000'
ckan | SERVER_PROTOCOL: 'HTTP/1.1'
ckan |
ckan |
ckan | WSGI Variables
ckan | --------------
ckan | __no_cache__: True
ckan | application: <fanstatic.publisher.Delegator object at 0x7fc0ef6e4a50>
ckan | beaker.cache: <beaker.cache.CacheManager object at 0x7fc0ef6e4990>
ckan | beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7fc0ef6e4910>>
ckan | beaker.session: {'_accessed_time': 1533220139.014468, '_creation_time': 1533129546.097383}
ckan | ckan.app: 'pylons_app'
ckan | fanstatic.needed: <fanstatic.core.NeededResources object at 0x7fc0c2e36590>
ckan | paste.cookies: (<SimpleCookie: auth_tkt='3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode' ckan='68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec' gsScrollPos-991='0'>, 'gsScrollPos-991=0; auth_tkt="3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode"; ckan=68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec')
ckan | paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0x7fc0f7a43210>
ckan | paste.registry: <paste.registry.Registry object at 0x7fc0c2e366d0>
ckan | paste.throw_errors: True
ckan | pylons.action_method: <bound method OrganizationController.edit of <ckan.controllers.organization.OrganizationController object at 0x7fc0c2e36ad0>>
ckan | pylons.controller: <ckan.controllers.organization.OrganizationController object at 0x7fc0c2e36ad0>
ckan | pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
ckan | pylons.pylons: <pylons.util.PylonsContext object at 0x7fc0c2e36150>
ckan | pylons.routes_dict: {'action': u'edit', 'controller': u'organization', 'id': u'stadt-dornbirn'}
ckan | repoze.who.api: <repoze.who.api.API object at 0x7fc0c2e1ff90>
ckan | repoze.who.identity: <repoze.who identity (hidden, dict-like) at 140465877229648>
ckan | repoze.who.logger: <logging.Logger object at 0x7fc0ef6e4b50>
ckan | repoze.who.plugins: {'ckan.lib.authenticator:UsernamePasswordAuthenticator': <ckan.lib.authenticator.UsernamePasswordAuthenticator object at 0x7fc0ef704e10>, 'friendlyform': <FriendlyFormPlugin 140466627561552>, 'auth_tkt': <CkanAuthTktCookiePlugin 140466627561360>}
ckan | routes.route: <routes.route.Route object at 0x7fc0ef856510>
ckan | routes.url: <routes.util.URLGenerator object at 0x7fc0c2e36710>
ckan | webob._parsed_query_vars: (GET([]), '')
ckan | webob.adhoc_attrs: {'response': <Response at 0x7fc0c2e36c10 200 OK>, 'language': 'en-us'}
ckan | wsgi process: 'Multithreaded'
ckan | wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7fc0c2e36710>, {'action': u'edit', 'controller': u'organization', 'id': u'stadt-dornbirn'})
ckan | ------------------------------------------------------------
ckan | 2018-08-02 14:28:59,077 INFO [ckan.lib.base] /organization/edit/stadt-dornbirn render time 0.045 seconds
ckan | Error - <type 'exceptions.KeyError'>: 'display_name'
ckan | URL: http://localhost:5000/organization/edit/stadt-dornbirn
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/weberror/errormiddleware.py', line 171 in __call__
ckan | app_iter = self.application(environ, sr_checker)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
ckan | resp = self.call_func(req, *args, **self.kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
ckan | return self.func(req, *args, **kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/fanstatic/publisher.py', line 234 in __call__
ckan | return request.get_response(self.app)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
ckan | application, catch_exc_info=False)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
ckan | app_iter = application(self.environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
ckan | resp = self.call_func(req, *args, **self.kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
ckan | return self.func(req, *args, **kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/fanstatic/injector.py', line 54 in __call__
ckan | response = request.get_response(self.app)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
ckan | application, catch_exc_info=False)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
ckan | app_iter = application(self.environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/pylons_app.py', line 265 in inner
ckan | result = application(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/beaker/middleware.py', line 73 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/beaker/middleware.py', line 156 in __call__
ckan | return self.wrap_app(environ, session_start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__
ckan | response = self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/common_middleware.py', line 30 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/common_middleware.py', line 56 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 125 in __call__
ckan | response = self.dispatch(controller, environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 324 in dispatch
ckan | return controller(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 240 in __call__
ckan | res = WSGIController.__call__(self, environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 221 in __call__
ckan | response = self._dispatch_call()
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
ckan | response = self._inspect_call(func)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
ckan | result = self._perform_call(func, args)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 60 in _perform_call
ckan | return func(**args)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/controllers/group.py', line 521 in edit
ckan | c.form = render(self._group_form(group_type), extra_vars=vars)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 125 in render
ckan | return cached_template(template_name, renderer)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/templating.py', line 249 in cached_template
ckan | return render_func()
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 162 in render_template
ckan | return render_jinja2(template_name, globs)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 94 in render_jinja2
ckan | return template.render(**extra_vars)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/jinja2/environment.py', line 989 in render
ckan | return self.environment.handle_exception(exc_info, True)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/jinja2/environment.py', line 754 in handle_exception
ckan | reraise(exc_type, exc_value, tb)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/templates/organization/new_organization_form.html', line 1 in top-level template code
ckan | {% extends "organization/snippets/organization_form.html" %}
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/templates/organization/snippets/organization_form.html', line 106 in top-level template code
ckan | {{ form.select('orgportals_secondary_portal', 'orgportals_secondary_portal', _('Choose secondary portal'), options=h.orgportals_get_all_organizations(data.name), selected=data.orgportals_secondary_portal) }}
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/helpers.py', line 356 in orgportals_get_all_organizations
ckan | organizations
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/helpers.py', line 354 in <lambda>
ckan | 'text': item['display_name']
ckan | KeyError: 'display_name'
ckan |
ckan |
ckan | CGI Variables
ckan | -------------
ckan | AUTH_TYPE: 'cookie'
ckan | CKAN_CURRENT_URL: '/organization/edit/stadt-dornbirn'
ckan | CKAN_LANG: 'en'
ckan | CKAN_LANG_IS_DEFAULT: True
ckan | CONTENT_LENGTH: '0'
ckan | HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'
ckan | HTTP_ACCEPT_ENCODING: 'gzip, deflate, br'
ckan | HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.9,de;q=0.8'
ckan | HTTP_CACHE_CONTROL: 'max-age=0'
ckan | HTTP_CONNECTION: 'keep-alive'
ckan | HTTP_COOKIE: 'gsScrollPos-991=0; auth_tkt="3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode"; ckan=68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec'
ckan | HTTP_HOST: 'localhost:5000'
ckan | HTTP_REFERER: 'http://localhost:5000/organization/stadt-dornbirn'
ckan | HTTP_UPGRADE_INSECURE_REQUESTS: '1'
ckan | HTTP_USER_AGENT: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36'
ckan | PATH_INFO: '/organization/edit/stadt-dornbirn'
ckan | REMOTE_ADDR: '172.20.0.1'
ckan | REMOTE_USER: u'christophblank'
ckan | REMOTE_USER_DATA: 'userid_type=unicode'
ckan | REMOTE_USER_TOKENS: ['']
ckan | REQUEST_METHOD: 'GET'
ckan | SERVER_NAME: '0.0.0.0'
ckan | SERVER_PORT: '5000'
ckan | SERVER_PROTOCOL: 'HTTP/1.1'
ckan |
ckan |
ckan | WSGI Variables
ckan | --------------
ckan | __no_cache__: True
ckan | application: <fanstatic.publisher.Delegator object at 0x7fc0ef6e4a50>
ckan | beaker.cache: <beaker.cache.CacheManager object at 0x7fc0ef6e4990>
ckan | beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7fc0ef6e4910>>
ckan | beaker.session: {'_accessed_time': 1533220140.118585, '_creation_time': 1533129546.097383}
ckan | ckan.app: 'pylons_app'
ckan | fanstatic.needed: <fanstatic.core.NeededResources object at 0x7fc0c2b9e950>
ckan | paste.cookies: (<SimpleCookie: auth_tkt='3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode' ckan='68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec' gsScrollPos-991='0'>, 'gsScrollPos-991=0; auth_tkt="3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode"; ckan=68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec')
ckan | paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0x7fc0f7a43210>
ckan | paste.registry: <paste.registry.Registry object at 0x7fc0c2b9ee90>
ckan | paste.throw_errors: True
ckan | pylons.action_method: <bound method OrganizationController.edit of <ckan.controllers.organization.OrganizationController object at 0x7fc0c2e134d0>>
ckan | pylons.controller: <ckan.controllers.organization.OrganizationController object at 0x7fc0c2e134d0>
ckan | pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
ckan | pylons.pylons: <pylons.util.PylonsContext object at 0x7fc0c2e28ad0>
ckan | pylons.routes_dict: {'action': u'edit', 'controller': u'organization', 'id': u'stadt-dornbirn'}
ckan | repoze.who.api: <repoze.who.api.API object at 0x7fc0c2b9ea50>
ckan | repoze.who.identity: <repoze.who identity (hidden, dict-like) at 140465880737008>
ckan | repoze.who.logger: <logging.Logger object at 0x7fc0ef6e4b50>
ckan | repoze.who.plugins: {'ckan.lib.authenticator:UsernamePasswordAuthenticator': <ckan.lib.authenticator.UsernamePasswordAuthenticator object at 0x7fc0ef704e10>, 'friendlyform': <FriendlyFormPlugin 140466627561552>, 'auth_tkt': <CkanAuthTktCookiePlugin 140466627561360>}
ckan | routes.route: <routes.route.Route object at 0x7fc0ef856510>
ckan | routes.url: <routes.util.URLGenerator object at 0x7fc0c2ea9550>
ckan | webob._parsed_query_vars: (GET([]), '')
ckan | webob.adhoc_attrs: {'response': <Response at 0x7fc0c2ea9fd0 200 OK>, 'language': 'en-us'}
ckan | wsgi process: 'Multithreaded'
ckan | wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7fc0c2ea9550>, {'action': u'edit', 'controller': u'organization', 'id': u'stadt-dornbirn'})
ckan | ------------------------------------------------------------
ckan | 2018-08-02 14:29:00,215 INFO [ckan.lib.base] /organization/edit/stadt-dornbirn render time 0.077 seconds
ckan | Traceback (most recent call last):
ckan | File "/usr/lib/ckan/venv/local/lib/python2.7/site-packages/paste/httpserver.py", line 1068, in process_request_in_thread
ckan | self.finish_request(request, client_address)
ckan | File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
ckan | self.RequestHandlerClass(request, client_address, self)
ckan | File "/usr/lib/python2.7/SocketServer.py", line 657, in __init__
ckan | self.finish()
ckan | File "/usr/lib/python2.7/SocketServer.py", line 716, in finish
ckan | self.wfile.close()
ckan | File "/usr/lib/python2.7/socket.py", line 279, in close
ckan | self.flush()
ckan | File "/usr/lib/python2.7/socket.py", line 303, in flush
ckan | self._sock.sendall(view[write_offset:write_offset+buffer_size])
ckan | error: [Errno 32] Broken pipe
ckan | Error - <type 'exceptions.KeyError'>: 'display_name'
ckan | URL: http://localhost:5000/organization/edit/stadt-dornbirn
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/weberror/errormiddleware.py', line 171 in __call__
ckan | app_iter = self.application(environ, sr_checker)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
ckan | resp = self.call_func(req, *args, **self.kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
ckan | return self.func(req, *args, **kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/fanstatic/publisher.py', line 234 in __call__
ckan | return request.get_response(self.app)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
ckan | application, catch_exc_info=False)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
ckan | app_iter = application(self.environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
ckan | resp = self.call_func(req, *args, **self.kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
ckan | return self.func(req, *args, **kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/fanstatic/injector.py', line 54 in __call__
ckan | response = request.get_response(self.app)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
ckan | application, catch_exc_info=False)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
ckan | app_iter = application(self.environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/pylons_app.py', line 265 in inner
ckan | result = application(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/beaker/middleware.py', line 73 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/beaker/middleware.py', line 156 in __call__
ckan | return self.wrap_app(environ, session_start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__
ckan | response = self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/common_middleware.py', line 30 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/common_middleware.py', line 56 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 125 in __call__
ckan | response = self.dispatch(controller, environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 324 in dispatch
ckan | return controller(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 240 in __call__
ckan | res = WSGIController.__call__(self, environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 221 in __call__
ckan | response = self._dispatch_call()
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
ckan | response = self._inspect_call(func)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
ckan | result = self._perform_call(func, args)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 60 in _perform_call
ckan | return func(**args)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/controllers/group.py', line 521 in edit
ckan | c.form = render(self._group_form(group_type), extra_vars=vars)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 125 in render
ckan | return cached_template(template_name, renderer)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/templating.py', line 249 in cached_template
ckan | return render_func()
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 162 in render_template
ckan | return render_jinja2(template_name, globs)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 94 in render_jinja2
ckan | return template.render(**extra_vars)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/jinja2/environment.py', line 989 in render
ckan | return self.environment.handle_exception(exc_info, True)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/jinja2/environment.py', line 754 in handle_exception
ckan | reraise(exc_type, exc_value, tb)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/templates/organization/new_organization_form.html', line 1 in top-level template code
ckan | {% extends "organization/snippets/organization_form.html" %}
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/templates/organization/snippets/organization_form.html', line 106 in top-level template code
ckan | {{ form.select('orgportals_secondary_portal', 'orgportals_secondary_portal', _('Choose secondary portal'), options=h.orgportals_get_all_organizations(data.name), selected=data.orgportals_secondary_portal) }}
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/helpers.py', line 356 in orgportals_get_all_organizations
ckan | organizations
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/helpers.py', line 354 in <lambda>
ckan | 'text': item['display_name']
ckan | KeyError: 'display_name'
ckan |
ckan |
ckan | CGI Variables
ckan | -------------
ckan | AUTH_TYPE: 'cookie'
ckan | CKAN_CURRENT_URL: '/organization/edit/stadt-dornbirn'
ckan | CKAN_LANG: 'en'
ckan | CKAN_LANG_IS_DEFAULT: True
ckan | CONTENT_LENGTH: '0'
ckan | HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'
ckan | HTTP_ACCEPT_ENCODING: 'gzip, deflate, br'
ckan | HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.9,de;q=0.8'
ckan | HTTP_CACHE_CONTROL: 'max-age=0'
ckan | HTTP_CONNECTION: 'keep-alive'
ckan | HTTP_COOKIE: 'gsScrollPos-991=0; auth_tkt="3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode"; ckan=68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec'
ckan | HTTP_HOST: 'localhost:5000'
ckan | HTTP_REFERER: 'http://localhost:5000/organization/stadt-dornbirn'
ckan | HTTP_UPGRADE_INSECURE_REQUESTS: '1'
ckan | HTTP_USER_AGENT: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36'
ckan | PATH_INFO: '/organization/edit/stadt-dornbirn'
ckan | REMOTE_ADDR: '172.20.0.1'
ckan | REMOTE_USER: u'christophblank'
ckan | REMOTE_USER_DATA: 'userid_type=unicode'
ckan | REMOTE_USER_TOKENS: ['']
ckan | REQUEST_METHOD: 'GET'
ckan | SERVER_NAME: '0.0.0.0'
ckan | SERVER_PORT: '5000'
ckan | SERVER_PROTOCOL: 'HTTP/1.1'
ckan |
ckan |
ckan | WSGI Variables
ckan | --------------
ckan | __no_cache__: True
ckan | application: <fanstatic.publisher.Delegator object at 0x7fc0ef6e4a50>
ckan | beaker.cache: <beaker.cache.CacheManager object at 0x7fc0ef6e4990>
ckan | beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7fc0ef6e4910>>
ckan | beaker.session: {'_accessed_time': 1533220140.283879, '_creation_time': 1533129546.097383}
ckan | ckan.app: 'pylons_app'
ckan | fanstatic.needed: <fanstatic.core.NeededResources object at 0x7fc0c2dd5d10>
ckan | paste.cookies: (<SimpleCookie: auth_tkt='3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode' ckan='68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec' gsScrollPos-991='0'>, 'gsScrollPos-991=0; auth_tkt="3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode"; ckan=68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec')
ckan | paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0x7fc0f7a43210>
ckan | paste.registry: <paste.registry.Registry object at 0x7fc0c2dd5090>
ckan | paste.throw_errors: True
ckan | pylons.action_method: <bound method OrganizationController.edit of <ckan.controllers.organization.OrganizationController object at 0x7fc0c2b775d0>>
ckan | pylons.controller: <ckan.controllers.organization.OrganizationController object at 0x7fc0c2b775d0>
ckan | pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
ckan | pylons.pylons: <pylons.util.PylonsContext object at 0x7fc0c2b77690>
ckan | pylons.routes_dict: {'action': u'edit', 'controller': u'organization', 'id': u'stadt-dornbirn'}
ckan | repoze.who.api: <repoze.who.api.API object at 0x7fc0c2dd5410>
ckan | repoze.who.identity: <repoze.who identity (hidden, dict-like) at 140465881227936>
ckan | repoze.who.logger: <logging.Logger object at 0x7fc0ef6e4b50>
ckan | repoze.who.plugins: {'ckan.lib.authenticator:UsernamePasswordAuthenticator': <ckan.lib.authenticator.UsernamePasswordAuthenticator object at 0x7fc0ef704e10>, 'friendlyform': <FriendlyFormPlugin 140466627561552>, 'auth_tkt': <CkanAuthTktCookiePlugin 140466627561360>}
ckan | routes.route: <routes.route.Route object at 0x7fc0ef856510>
ckan | routes.url: <routes.util.URLGenerator object at 0x7fc0c2dd5250>
ckan | webob._parsed_query_vars: (GET([]), '')
ckan | webob.adhoc_attrs: {'response': <Response at 0x7fc0c2dd5c10 200 OK>, 'language': 'en-us'}
ckan | wsgi process: 'Multithreaded'
ckan | wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7fc0c2dd5250>, {'action': u'edit', 'controller': u'organization', 'id': u'stadt-dornbirn'})
ckan | ------------------------------------------------------------
ckan | 2018-08-02 14:29:00,373 INFO [ckan.lib.base] /organization/edit/stadt-dornbirn render time 0.072 seconds
ckan | Traceback (most recent call last):
ckan | File "/usr/lib/ckan/venv/local/lib/python2.7/site-packages/paste/httpserver.py", line 1068, in process_request_in_thread
ckan | self.finish_request(request, client_address)
ckan | File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
ckan | self.RequestHandlerClass(request, client_address, self)
ckan | File "/usr/lib/python2.7/SocketServer.py", line 657, in __init__
ckan | self.finish()
ckan | File "/usr/lib/python2.7/SocketServer.py", line 716, in finish
ckan | self.wfile.close()
ckan | File "/usr/lib/python2.7/socket.py", line 279, in close
ckan | self.flush()
ckan | File "/usr/lib/python2.7/socket.py", line 303, in flush
ckan | self._sock.sendall(view[write_offset:write_offset+buffer_size])
ckan | error: [Errno 32] Broken pipe
ckan | Error - <type 'exceptions.KeyError'>: 'display_name'
ckan | URL: http://localhost:5000/organization/edit/stadt-dornbirn
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/weberror/errormiddleware.py', line 171 in __call__
ckan | app_iter = self.application(environ, sr_checker)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
ckan | resp = self.call_func(req, *args, **self.kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
ckan | return self.func(req, *args, **kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/fanstatic/publisher.py', line 234 in __call__
ckan | return request.get_response(self.app)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
ckan | application, catch_exc_info=False)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
ckan | app_iter = application(self.environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
ckan | resp = self.call_func(req, *args, **self.kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
ckan | return self.func(req, *args, **kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/fanstatic/injector.py', line 54 in __call__
ckan | response = request.get_response(self.app)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
ckan | application, catch_exc_info=False)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
ckan | app_iter = application(self.environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/pylons_app.py', line 265 in inner
ckan | result = application(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/beaker/middleware.py', line 73 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/beaker/middleware.py', line 156 in __call__
ckan | return self.wrap_app(environ, session_start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__
ckan | response = self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/common_middleware.py', line 30 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/common_middleware.py', line 56 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 125 in __call__
ckan | response = self.dispatch(controller, environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 324 in dispatch
ckan | return controller(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 240 in __call__
ckan | res = WSGIController.__call__(self, environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 221 in __call__
ckan | response = self._dispatch_call()
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
ckan | response = self._inspect_call(func)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
ckan | result = self._perform_call(func, args)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 60 in _perform_call
ckan | return func(**args)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/controllers/group.py', line 521 in edit
ckan | c.form = render(self._group_form(group_type), extra_vars=vars)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 125 in render
ckan | return cached_template(template_name, renderer)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/templating.py', line 249 in cached_template
ckan | return render_func()
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 162 in render_template
ckan | return render_jinja2(template_name, globs)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 94 in render_jinja2
ckan | return template.render(**extra_vars)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/jinja2/environment.py', line 989 in render
ckan | return self.environment.handle_exception(exc_info, True)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/jinja2/environment.py', line 754 in handle_exception
ckan | reraise(exc_type, exc_value, tb)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/templates/organization/new_organization_form.html', line 1 in top-level template code
ckan | {% extends "organization/snippets/organization_form.html" %}
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/templates/organization/snippets/organization_form.html', line 106 in top-level template code
ckan | {{ form.select('orgportals_secondary_portal', 'orgportals_secondary_portal', _('Choose secondary portal'), options=h.orgportals_get_all_organizations(data.name), selected=data.orgportals_secondary_portal) }}
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/helpers.py', line 356 in orgportals_get_all_organizations
ckan | organizations
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/helpers.py', line 354 in <lambda>
ckan | 'text': item['display_name']
ckan | KeyError: 'display_name'
ckan |
ckan |
ckan | CGI Variables
ckan | -------------
ckan | AUTH_TYPE: 'cookie'
ckan | CKAN_CURRENT_URL: '/organization/edit/stadt-dornbirn'
ckan | CKAN_LANG: 'en'
ckan | CKAN_LANG_IS_DEFAULT: True
ckan | CONTENT_LENGTH: '0'
ckan | HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'
ckan | HTTP_ACCEPT_ENCODING: 'gzip, deflate, br'
ckan | HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.9,de;q=0.8'
ckan | HTTP_CACHE_CONTROL: 'max-age=0'
ckan | HTTP_CONNECTION: 'keep-alive'
ckan | HTTP_COOKIE: 'gsScrollPos-991=0; auth_tkt="3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode"; ckan=68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec'
ckan | HTTP_HOST: 'localhost:5000'
ckan | HTTP_REFERER: 'http://localhost:5000/organization/stadt-dornbirn'
ckan | HTTP_UPGRADE_INSECURE_REQUESTS: '1'
ckan | HTTP_USER_AGENT: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36'
ckan | PATH_INFO: '/organization/edit/stadt-dornbirn'
ckan | REMOTE_ADDR: '172.20.0.1'
ckan | REMOTE_USER: u'christophblank'
ckan | REMOTE_USER_DATA: 'userid_type=unicode'
ckan | REMOTE_USER_TOKENS: ['']
ckan | REQUEST_METHOD: 'GET'
ckan | SERVER_NAME: '0.0.0.0'
ckan | SERVER_PORT: '5000'
ckan | SERVER_PROTOCOL: 'HTTP/1.1'
ckan |
ckan |
ckan | WSGI Variables
ckan | --------------
ckan | __no_cache__: True
ckan | application: <fanstatic.publisher.Delegator object at 0x7fc0ef6e4a50>
ckan | beaker.cache: <beaker.cache.CacheManager object at 0x7fc0ef6e4990>
ckan | beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7fc0ef6e4910>>
ckan | beaker.session: {'_accessed_time': 1533220140.44643, '_creation_time': 1533129546.097383}
ckan | ckan.app: 'pylons_app'
ckan | fanstatic.needed: <fanstatic.core.NeededResources object at 0x7fc0c2defc50>
ckan | paste.cookies: (<SimpleCookie: auth_tkt='3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode' ckan='68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec' gsScrollPos-991='0'>, 'gsScrollPos-991=0; auth_tkt="3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode"; ckan=68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec')
ckan | paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0x7fc0f7a43210>
ckan | paste.registry: <paste.registry.Registry object at 0x7fc0c2def5d0>
ckan | paste.throw_errors: True
ckan | pylons.action_method: <bound method OrganizationController.edit of <ckan.controllers.organization.OrganizationController object at 0x7fc0c2b9e5d0>>
ckan | pylons.controller: <ckan.controllers.organization.OrganizationController object at 0x7fc0c2b9e5d0>
ckan | pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
ckan | pylons.pylons: <pylons.util.PylonsContext object at 0x7fc0c2b9ee10>
ckan | pylons.routes_dict: {'action': u'edit', 'controller': u'organization', 'id': u'stadt-dornbirn'}
ckan | repoze.who.api: <repoze.who.api.API object at 0x7fc0c2def390>
ckan | repoze.who.identity: <repoze.who identity (hidden, dict-like) at 140465876567280>
ckan | repoze.who.logger: <logging.Logger object at 0x7fc0ef6e4b50>
ckan | repoze.who.plugins: {'ckan.lib.authenticator:UsernamePasswordAuthenticator': <ckan.lib.authenticator.UsernamePasswordAuthenticator object at 0x7fc0ef704e10>, 'friendlyform': <FriendlyFormPlugin 140466627561552>, 'auth_tkt': <CkanAuthTktCookiePlugin 140466627561360>}
ckan | routes.route: <routes.route.Route object at 0x7fc0ef856510>
ckan | routes.url: <routes.util.URLGenerator object at 0x7fc0c2b9ed90>
ckan | webob._parsed_query_vars: (GET([]), '')
ckan | webob.adhoc_attrs: {'response': <Response at 0x7fc0c2b9edd0 200 OK>, 'language': 'en-us'}
ckan | wsgi process: 'Multithreaded'
ckan | wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7fc0c2b9ed90>, {'action': u'edit', 'controller': u'organization', 'id': u'stadt-dornbirn'})
ckan | ------------------------------------------------------------
ckan | 2018-08-02 14:29:00,564 INFO [ckan.lib.base] /organization/edit/stadt-dornbirn render time 0.100 seconds
ckan | Traceback (most recent call last):
ckan | File "/usr/lib/ckan/venv/local/lib/python2.7/site-packages/paste/httpserver.py", line 1068, in process_request_in_thread
ckan | self.finish_request(request, client_address)
ckan | File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
ckan | self.RequestHandlerClass(request, client_address, self)
ckan | File "/usr/lib/python2.7/SocketServer.py", line 657, in __init__
ckan | self.finish()
ckan | File "/usr/lib/python2.7/SocketServer.py", line 716, in finish
ckan | self.wfile.close()
ckan | File "/usr/lib/python2.7/socket.py", line 279, in close
ckan | self.flush()
ckan | File "/usr/lib/python2.7/socket.py", line 303, in flush
ckan | self._sock.sendall(view[write_offset:write_offset+buffer_size])
ckan | error: [Errno 32] Broken pipe
ckan | Error - <type 'exceptions.KeyError'>: 'display_name'
ckan | URL: http://localhost:5000/organization/edit/stadt-dornbirn
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/weberror/errormiddleware.py', line 171 in __call__
ckan | app_iter = self.application(environ, sr_checker)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
ckan | resp = self.call_func(req, *args, **self.kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
ckan | return self.func(req, *args, **kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/fanstatic/publisher.py', line 234 in __call__
ckan | return request.get_response(self.app)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
ckan | application, catch_exc_info=False)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
ckan | app_iter = application(self.environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
ckan | resp = self.call_func(req, *args, **self.kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
ckan | return self.func(req, *args, **kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/fanstatic/injector.py', line 54 in __call__
ckan | response = request.get_response(self.app)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
ckan | application, catch_exc_info=False)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
ckan | app_iter = application(self.environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/pylons_app.py', line 265 in inner
ckan | result = application(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/beaker/middleware.py', line 73 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/beaker/middleware.py', line 156 in __call__
ckan | return self.wrap_app(environ, session_start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__
ckan | response = self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/common_middleware.py', line 30 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/common_middleware.py', line 56 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 125 in __call__
ckan | response = self.dispatch(controller, environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 324 in dispatch
ckan | return controller(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 240 in __call__
ckan | res = WSGIController.__call__(self, environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 221 in __call__
ckan | response = self._dispatch_call()
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
ckan | response = self._inspect_call(func)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
ckan | result = self._perform_call(func, args)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 60 in _perform_call
ckan | return func(**args)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/controllers/group.py', line 521 in edit
ckan | c.form = render(self._group_form(group_type), extra_vars=vars)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 125 in render
ckan | return cached_template(template_name, renderer)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/templating.py', line 249 in cached_template
ckan | return render_func()
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 162 in render_template
ckan | return render_jinja2(template_name, globs)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 94 in render_jinja2
ckan | return template.render(**extra_vars)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/jinja2/environment.py', line 989 in render
ckan | return self.environment.handle_exception(exc_info, True)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/jinja2/environment.py', line 754 in handle_exception
ckan | reraise(exc_type, exc_value, tb)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/templates/organization/new_organization_form.html', line 1 in top-level template code
ckan | {% extends "organization/snippets/organization_form.html" %}
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/templates/organization/snippets/organization_form.html', line 106 in top-level template code
ckan | {{ form.select('orgportals_secondary_portal', 'orgportals_secondary_portal', _('Choose secondary portal'), options=h.orgportals_get_all_organizations(data.name), selected=data.orgportals_secondary_portal) }}
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/helpers.py', line 356 in orgportals_get_all_organizations
ckan | organizations
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/helpers.py', line 354 in <lambda>
ckan | 'text': item['display_name']
ckan | KeyError: 'display_name'
ckan |
ckan |
ckan | CGI Variables
ckan | -------------
ckan | AUTH_TYPE: 'cookie'
ckan | CKAN_CURRENT_URL: '/organization/edit/stadt-dornbirn'
ckan | CKAN_LANG: 'en'
ckan | CKAN_LANG_IS_DEFAULT: True
ckan | CONTENT_LENGTH: '0'
ckan | HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'
ckan | HTTP_ACCEPT_ENCODING: 'gzip, deflate, br'
ckan | HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.9,de;q=0.8'
ckan | HTTP_CACHE_CONTROL: 'max-age=0'
ckan | HTTP_CONNECTION: 'keep-alive'
ckan | HTTP_COOKIE: 'gsScrollPos-991=0; auth_tkt="3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode"; ckan=68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec'
ckan | HTTP_HOST: 'localhost:5000'
ckan | HTTP_REFERER: 'http://localhost:5000/organization/stadt-dornbirn'
ckan | HTTP_UPGRADE_INSECURE_REQUESTS: '1'
ckan | HTTP_USER_AGENT: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36'
ckan | PATH_INFO: '/organization/edit/stadt-dornbirn'
ckan | REMOTE_ADDR: '172.20.0.1'
ckan | REMOTE_USER: u'christophblank'
ckan | REMOTE_USER_DATA: 'userid_type=unicode'
ckan | REMOTE_USER_TOKENS: ['']
ckan | REQUEST_METHOD: 'GET'
ckan | SERVER_NAME: '0.0.0.0'
ckan | SERVER_PORT: '5000'
ckan | SERVER_PROTOCOL: 'HTTP/1.1'
ckan |
ckan |
ckan | WSGI Variables
ckan | --------------
ckan | __no_cache__: True
ckan | application: <fanstatic.publisher.Delegator object at 0x7fc0ef6e4a50>
ckan | beaker.cache: <beaker.cache.CacheManager object at 0x7fc0ef6e4990>
ckan | beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7fc0ef6e4910>>
ckan | beaker.session: {'_accessed_time': 1533220140.612017, '_creation_time': 1533129546.097383}
ckan | ckan.app: 'pylons_app'
ckan | fanstatic.needed: <fanstatic.core.NeededResources object at 0x7fc0c2def4d0>
ckan | paste.cookies: (<SimpleCookie: auth_tkt='3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode' ckan='68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec' gsScrollPos-991='0'>, 'gsScrollPos-991=0; auth_tkt="3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode"; ckan=68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec')
ckan | paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0x7fc0f7a43210>
ckan | paste.registry: <paste.registry.Registry object at 0x7fc0c2b890d0>
ckan | paste.throw_errors: True
ckan | pylons.action_method: <bound method OrganizationController.edit of <ckan.controllers.organization.OrganizationController object at 0x7fc0c2dee550>>
ckan | pylons.controller: <ckan.controllers.organization.OrganizationController object at 0x7fc0c2dee550>
ckan | pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
ckan | pylons.pylons: <pylons.util.PylonsContext object at 0x7fc0c2deff90>
ckan | pylons.routes_dict: {'action': u'edit', 'controller': u'organization', 'id': u'stadt-dornbirn'}
ckan | repoze.who.api: <repoze.who.api.API object at 0x7fc0c2e1fd50>
ckan | repoze.who.identity: <repoze.who identity (hidden, dict-like) at 140465877187552>
ckan | repoze.who.logger: <logging.Logger object at 0x7fc0ef6e4b50>
ckan | repoze.who.plugins: {'ckan.lib.authenticator:UsernamePasswordAuthenticator': <ckan.lib.authenticator.UsernamePasswordAuthenticator object at 0x7fc0ef704e10>, 'friendlyform': <FriendlyFormPlugin 140466627561552>, 'auth_tkt': <CkanAuthTktCookiePlugin 140466627561360>}
ckan | routes.route: <routes.route.Route object at 0x7fc0ef856510>
ckan | routes.url: <routes.util.URLGenerator object at 0x7fc0c2deffd0>
ckan | webob._parsed_query_vars: (GET([]), '')
ckan | webob.adhoc_attrs: {'response': <Response at 0x7fc0c2defe10 200 OK>, 'language': 'en-us'}
ckan | wsgi process: 'Multithreaded'
ckan | wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7fc0c2deffd0>, {'action': u'edit', 'controller': u'organization', 'id': u'stadt-dornbirn'})
ckan | ------------------------------------------------------------
ckan | 2018-08-02 14:29:00,762 INFO [ckan.lib.base] /organization/edit/stadt-dornbirn render time 0.104 seconds
ckan | Traceback (most recent call last):
ckan | File "/usr/lib/ckan/venv/local/lib/python2.7/site-packages/paste/httpserver.py", line 1068, in process_request_in_thread
ckan | self.finish_request(request, client_address)
ckan | File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
ckan | self.RequestHandlerClass(request, client_address, self)
ckan | File "/usr/lib/python2.7/SocketServer.py", line 657, in __init__
ckan | self.finish()
ckan | File "/usr/lib/python2.7/SocketServer.py", line 716, in finish
ckan | self.wfile.close()
ckan | File "/usr/lib/python2.7/socket.py", line 279, in close
ckan | self.flush()
ckan | File "/usr/lib/python2.7/socket.py", line 303, in flush
ckan | self._sock.sendall(view[write_offset:write_offset+buffer_size])
ckan | error: [Errno 32] Broken pipe
ckan | Error - <type 'exceptions.KeyError'>: 'display_name'
ckan | URL: http://localhost:5000/organization/edit/stadt-dornbirn
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/weberror/errormiddleware.py', line 171 in __call__
ckan | app_iter = self.application(environ, sr_checker)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
ckan | resp = self.call_func(req, *args, **self.kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
ckan | return self.func(req, *args, **kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/fanstatic/publisher.py', line 234 in __call__
ckan | return request.get_response(self.app)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
ckan | application, catch_exc_info=False)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
ckan | app_iter = application(self.environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
ckan | resp = self.call_func(req, *args, **self.kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
ckan | return self.func(req, *args, **kwargs)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/fanstatic/injector.py', line 54 in __call__
ckan | response = request.get_response(self.app)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
ckan | application, catch_exc_info=False)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
ckan | app_iter = application(self.environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/pylons_app.py', line 265 in inner
ckan | result = application(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/beaker/middleware.py', line 73 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/beaker/middleware.py', line 156 in __call__
ckan | return self.wrap_app(environ, session_start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__
ckan | response = self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/common_middleware.py', line 30 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/config/middleware/common_middleware.py', line 56 in __call__
ckan | return self.app(environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 125 in __call__
ckan | response = self.dispatch(controller, environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 324 in dispatch
ckan | return controller(environ, start_response)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 240 in __call__
ckan | res = WSGIController.__call__(self, environ, start_response)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 221 in __call__
ckan | response = self._dispatch_call()
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
ckan | response = self._inspect_call(func)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
ckan | result = self._perform_call(func, args)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 60 in _perform_call
ckan | return func(**args)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/controllers/group.py', line 521 in edit
ckan | c.form = render(self._group_form(group_type), extra_vars=vars)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 125 in render
ckan | return cached_template(template_name, renderer)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/pylons/templating.py', line 249 in cached_template
ckan | return render_func()
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 162 in render_template
ckan | return render_jinja2(template_name, globs)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/lib/base.py', line 94 in render_jinja2
ckan | return template.render(**extra_vars)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/jinja2/environment.py', line 989 in render
ckan | return self.environment.handle_exception(exc_info, True)
ckan | File '/usr/lib/ckan/venv/local/lib/python2.7/site-packages/jinja2/environment.py', line 754 in handle_exception
ckan | reraise(exc_type, exc_value, tb)
ckan | File '/usr/lib/ckan/venv/src/ckan/ckan/templates/organization/new_organization_form.html', line 1 in top-level template code
ckan | {% extends "organization/snippets/organization_form.html" %}
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/templates/organization/snippets/organization_form.html', line 106 in top-level template code
ckan | {{ form.select('orgportals_secondary_portal', 'orgportals_secondary_portal', _('Choose secondary portal'), options=h.orgportals_get_all_organizations(data.name), selected=data.orgportals_secondary_portal) }}
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/helpers.py', line 356 in orgportals_get_all_organizations
ckan | organizations
ckan | File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/helpers.py', line 354 in <lambda>
ckan | 'text': item['display_name']
ckan | KeyError: 'display_name'
ckan |
ckan |
ckan | CGI Variables
ckan | -------------
ckan | AUTH_TYPE: 'cookie'
ckan | CKAN_CURRENT_URL: '/organization/edit/stadt-dornbirn'
ckan | CKAN_LANG: 'en'
ckan | CKAN_LANG_IS_DEFAULT: True
ckan | CONTENT_LENGTH: '0'
ckan | HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'
ckan | HTTP_ACCEPT_ENCODING: 'gzip, deflate, br'
ckan | HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.9,de;q=0.8'
ckan | HTTP_CACHE_CONTROL: 'max-age=0'
ckan | HTTP_CONNECTION: 'keep-alive'
ckan | HTTP_COOKIE: 'gsScrollPos-991=0; auth_tkt="3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode"; ckan=68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec'
ckan | HTTP_HOST: 'localhost:5000'
ckan | HTTP_REFERER: 'http://localhost:5000/organization/stadt-dornbirn'
ckan | HTTP_UPGRADE_INSECURE_REQUESTS: '1'
ckan | HTTP_USER_AGENT: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36'
ckan | PATH_INFO: '/organization/edit/stadt-dornbirn'
ckan | REMOTE_ADDR: '172.20.0.1'
ckan | REMOTE_USER: u'christophblank'
ckan | REMOTE_USER_DATA: 'userid_type=unicode'
ckan | REMOTE_USER_TOKENS: ['']
ckan | REQUEST_METHOD: 'GET'
ckan | SERVER_NAME: '0.0.0.0'
ckan | SERVER_PORT: '5000'
ckan | SERVER_PROTOCOL: 'HTTP/1.1'
ckan |
ckan |
ckan | WSGI Variables
ckan | --------------
ckan | __no_cache__: True
ckan | application: <fanstatic.publisher.Delegator object at 0x7fc0ef6e4a50>
ckan | beaker.cache: <beaker.cache.CacheManager object at 0x7fc0ef6e4990>
ckan | beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7fc0ef6e4910>>
ckan | beaker.session: {'_accessed_time': 1533220140.811483, '_creation_time': 1533129546.097383}
ckan | ckan.app: 'pylons_app'
ckan | fanstatic.needed: <fanstatic.core.NeededResources object at 0x7fc0c2a10b90>
ckan | paste.cookies: (<SimpleCookie: auth_tkt='3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode' ckan='68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec' gsScrollPos-991='0'>, 'gsScrollPos-991=0; auth_tkt="3f6176ec9f382bad9a6b050e19adf0955b61b34achristophblank!userid_type=unicode"; ckan=68abf544d5951d10309009a1f58544110ff32e81722fd3b221884ca4a7a08d8cbeb751ec')
ckan | paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0x7fc0f7a43210>
ckan | paste.registry: <paste.registry.Registry object at 0x7fc0c2a108d0>
ckan | paste.throw_errors: True
ckan | pylons.action_method: <bound method OrganizationController.edit of <ckan.controllers.organization.OrganizationController object at 0x7fc0c29ae110>>
ckan | pylons.controller: <ckan.controllers.organization.OrganizationController object at 0x7fc0c29ae110>
ckan | pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
ckan | pylons.pylons: <pylons.util.PylonsContext object at 0x7fc0c29ae050>
ckan | pylons.routes_dict: {'action': u'edit', 'controller': u'organization', 'id': u'stadt-dornbirn'}
ckan | repoze.who.api: <repoze.who.api.API object at 0x7fc0c2a106d0>
ckan | repoze.who.identity: <repoze.who identity (hidden, dict-like) at 140465876086024>
ckan | repoze.who.logger: <logging.Logger object at 0x7fc0ef6e4b50>
ckan | repoze.who.plugins: {'ckan.lib.authenticator:UsernamePasswordAuthenticator': <ckan.lib.authenticator.UsernamePasswordAuthenticator object at 0x7fc0ef704e10>, 'friendlyform': <FriendlyFormPlugin 140466627561552>, 'auth_tkt': <CkanAuthTktCookiePlugin 140466627561360>}
ckan | routes.route: <routes.route.Route object at 0x7fc0ef856510>
ckan | routes.url: <routes.util.URLGenerator object at 0x7fc0c2a10d50>
ckan | webob._parsed_query_vars: (GET([]), '')
ckan | webob.adhoc_attrs: {'response': <Response at 0x7fc0c2a10cd0 200 OK>, 'language': 'en-us'}
ckan | wsgi process: 'Multithreaded'
ckan | wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7fc0c2a10d50>, {'action': u'edit', 'controller': u'organization', 'id': u'stadt-dornbirn'})
ckan | ------------------------------------------------------------
ckan | 2018-08-02 14:29:00,883 INFO [ckan.lib.base] /organization/edit/stadt-dornbirn render time 0.051 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment