Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log in as admin user throws error #37

Open
mheadd opened this issue Oct 5, 2015 · 22 comments
Open

Log in as admin user throws error #37

mheadd opened this issue Oct 5, 2015 · 22 comments

Comments

@mheadd
Copy link

mheadd commented Oct 5, 2015

Using ckan-multisite from master on fresh Ubuntu 14.04

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS"
  • Creating a new site and ensure new environment started.
  • Site appears normal in browser.
  • In the multisite admin, reset the admin password for the new environment.
  • In browser, attempt to log in using admin username and password.
  • Internal server error occurs.

screen shot 2015-10-05 at 2 51 40 pm

I've consistently recreated this several times in a row.

This behavior seems different then when I've tested ckan-multisite previously. Not sure what I am doing wrong, or if something else has changed.

@JackMc
Copy link
Member

JackMc commented Oct 6, 2015

Can you post the config.py file?

@mheadd
Copy link
Author

mheadd commented Oct 6, 2015

# The base hostname of your site, e.x. datacats.com
HOSTNAME = 'opendata.training'
# This is generated by the script which installs ckan-multisite. If you are
# manually installing this, you should definitely change this from its
# (rather weak) development value.
# If you're running from run.sh - ignore this option.
SECRET_KEY = 'yAQvlx/IyFkKRpwYZpECWoq6txIK'
# This is generated again by the script and is a hash of the admin password.
# use manage.sh changepw.
ADMIN_PW= '$5$rounds=535000$7pYirda.4aTYnWqF$h12fR80WQW.Ig8z3VsXwudwEG8wmVsz2BYT3Ujcb622'
# The name of the environment to use for multisite.
# This must be created using the `datacats` command line tool prior to usage of this
# application
MAIN_ENV_NAME = 'multisite'
# The datacats directory. This probably shouldn't change but
# is in config to future-proof from new versions of datacats.
DATACATS_DIRECTORY = expanduser('~/.datacats')
# The URI for the backend (either RabbitMQ or Redis) for Celeryd.
# We recommend redis.
CELERY_BACKEND_URL = 'redis://localhost:6379/0'
# An address to listen on
ADDRESS = '0.0.0.0'
PORT = 5000
# True if the server should run in debugging mode (give tracebacks, etc).
# THIS MUST BE FALSE ON A PRODUCTION SERVER
DEBUG = True
# This says that we should generate the default nginx configuration.
GENERATE_NGINX_DEFAULT = False

@JackMc
Copy link
Member

JackMc commented Oct 6, 2015

Thanks, Mark. I'm going to try this on my VM today.

@mheadd
Copy link
Author

mheadd commented Oct 6, 2015

Thanks! I'll keep plugging away as well and report anything relevant I find.

@JackMc
Copy link
Member

JackMc commented Oct 13, 2015

I cannot reproduce this on a blank Ubuntu 14.04 VM.

@JackMc
Copy link
Member

JackMc commented Oct 13, 2015

I'm going to try it on a AWS instance tomorrow.

@mheadd
Copy link
Author

mheadd commented Oct 29, 2015

This is the exact sequence of steps that I'm using on a fresh Ubuntu instance.

~$ sudo aptitude update
~$ sudo apt-get install git
~$ git clone https://github.com/datacats/ckan-multisite.git
~$ cd ckan-multisite/
~$ ./run.sh 
~$ exit
~$ ./run.sh 

Instance details:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS"

@JackMc
Copy link
Member

JackMc commented Nov 3, 2015

@mheadd I'm able to reproduce this on my AWS instance. The issue here seems to be that there is an old version of SQLAlchemy baked into some datacats images. Looking now.

@waldoj
Copy link
Contributor

waldoj commented Nov 19, 2015

I can replicate this, too.

@waldoj
Copy link
Contributor

waldoj commented Nov 19, 2015

Here's what the Docker container has to say upon receiving a request that generates that 500 error.

[Thu Nov 19 00:23:02.661272 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] Error - <type 'exceptions.AttributeError'>: 'Query' object has no attribute 'select_entity_from'
[Thu Nov 19 00:23:02.663636 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] URL: http://wisconsin.opengovdata.net/
[Thu Nov 19 00:23:02.663649 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/weberror/errormiddleware.py', line 162 in __call__
[Thu Nov 19 00:23:02.663652 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   app_iter = self.application(environ, sr_checker)
[Thu Nov 19 00:23:02.663653 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
[Thu Nov 19 00:23:02.663655 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   resp = self.call_func(req, *args, **self.kwargs)
[Thu Nov 19 00:23:02.663657 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
[Thu Nov 19 00:23:02.663658 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   return self.func(req, *args, **kwargs)
[Thu Nov 19 00:23:02.663659 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/fanstatic/publisher.py', line 234 in __call__
[Thu Nov 19 00:23:02.663661 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   return request.get_response(self.app)
[Thu Nov 19 00:23:02.663662 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
[Thu Nov 19 00:23:02.663663 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   application, catch_exc_info=False)
[Thu Nov 19 00:23:02.663665 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
[Thu Nov 19 00:23:02.663666 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   app_iter = application(self.environ, start_response)
[Thu Nov 19 00:23:02.663667 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
[Thu Nov 19 00:23:02.663668 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   resp = self.call_func(req, *args, **self.kwargs)
[Thu Nov 19 00:23:02.663669 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
[Thu Nov 19 00:23:02.663671 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   return self.func(req, *args, **kwargs)
[Thu Nov 19 00:23:02.663672 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/fanstatic/injector.py', line 54 in __call__
[Thu Nov 19 00:23:02.663673 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   response = request.get_response(self.app)
[Thu Nov 19 00:23:02.663674 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
[Thu Nov 19 00:23:02.663676 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   application, catch_exc_info=False)
[Thu Nov 19 00:23:02.663677 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
[Thu Nov 19 00:23:02.663678 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   app_iter = application(self.environ, start_response)
[Thu Nov 19 00:23:02.663679 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/beaker/middleware.py', line 73 in __call__
[Thu Nov 19 00:23:02.663681 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   return self.app(environ, start_response)
[Thu Nov 19 00:23:02.663682 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/beaker/middleware.py', line 155 in __call__
[Thu Nov 19 00:23:02.663683 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   return self.wrap_app(environ, session_start_response)
[Thu Nov 19 00:23:02.663684 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__
[Thu Nov 19 00:23:02.663687 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   response = self.app(environ, start_response)
[Thu Nov 19 00:23:02.663689 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/pylons/wsgiapp.py', line 125 in __call__
[Thu Nov 19 00:23:02.663690 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   response = self.dispatch(controller, environ, start_response)
[Thu Nov 19 00:23:02.663692 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/pylons/wsgiapp.py', line 324 in dispatch
[Thu Nov 19 00:23:02.663693 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   return controller(environ, start_response)
[Thu Nov 19 00:23:02.663694 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/lib/base.py', line 338 in __call__
[Thu Nov 19 00:23:02.663696 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   res = WSGIController.__call__(self, environ, start_response)
[Thu Nov 19 00:23:02.663697 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/pylons/controllers/core.py', line 221 in __call__
[Thu Nov 19 00:23:02.663698 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   response = self._dispatch_call()
[Thu Nov 19 00:23:02.663699 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
[Thu Nov 19 00:23:02.663701 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   response = self._inspect_call(func)
[Thu Nov 19 00:23:02.663702 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
[Thu Nov 19 00:23:02.663703 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   result = self._perform_call(func, args)
[Thu Nov 19 00:23:02.663704 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/pylons/controllers/core.py', line 60 in _perform_call
[Thu Nov 19 00:23:02.663706 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   return func(**args)
[Thu Nov 19 00:23:02.663707 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/controllers/home.py', line 182 in index
[Thu Nov 19 00:23:02.663708 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   return base.render('home/index.html', cache_force=True)
[Thu Nov 19 00:23:02.663723 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/lib/base.py', line 217 in render
[Thu Nov 19 00:23:02.663724 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   loader_class=loader_class)
[Thu Nov 19 00:23:02.663726 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/pylons/templating.py', line 249 in cached_template
[Thu Nov 19 00:23:02.663732 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   return render_func()
[Thu Nov 19 00:23:02.663734 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/lib/base.py', line 155 in render_template
[Thu Nov 19 00:23:02.663735 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   return render_jinja2(template_name, globs)
[Thu Nov 19 00:23:02.663737 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/lib/base.py', line 104 in render_jinja2
[Thu Nov 19 00:23:02.663738 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   return template.render(**extra_vars)
[Thu Nov 19 00:23:02.663739 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/jinja2/environment.py', line 894 in render
[Thu Nov 19 00:23:02.663740 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   return self.environment.handle_exception(exc_info, True)
[Thu Nov 19 00:23:02.663742 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/templates/home/index.html', line 2 in top-level template code
[Thu Nov 19 00:23:02.663743 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   {% set homepage_style = ( g.homepage_style or '1' ) %}
[Thu Nov 19 00:23:02.663744 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/templates/page.html', line 1 in top-level template code
[Thu Nov 19 00:23:02.663746 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   {% extends "base.html" %}
[Thu Nov 19 00:23:02.663747 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/templates/base.html', line 103 in top-level template code
[Thu Nov 19 00:23:02.663748 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   {%- block page %}{% endblock -%}
[Thu Nov 19 00:23:02.663749 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/templates/page.html', line 14 in block "page"
[Thu Nov 19 00:23:02.663751 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   {%- block header %}
[Thu Nov 19 00:23:02.663752 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/templates/page.html', line 15 in block "header"
[Thu Nov 19 00:23:02.663753 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   {% include "header.html" %}
[Thu Nov 19 00:23:02.663754 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/templates/header.html', line 1 in top-level template code
[Thu Nov 19 00:23:02.663756 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   {% block header_wrapper %}
[Thu Nov 19 00:23:02.663757 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/templates/header.html', line 2 in block "header_wrapper"
[Thu Nov 19 00:23:02.663758 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   {% block header_account %}
[Thu Nov 19 00:23:02.663759 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/templates/header.html', line 5 in block "header_account"
[Thu Nov 19 00:23:02.663761 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   {% block header_account_container_content %}
[Thu Nov 19 00:23:02.663762 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/templates/header.html', line 9 in block "header_account_container_content"
[Thu Nov 19 00:23:02.663763 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   {% block header_account_logged %}
[Thu Nov 19 00:23:02.663765 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/templates/header.html', line 23 in block "header_account_logged"
[Thu Nov 19 00:23:02.663767 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   {% set new_activities = h.new_activities() %}
[Thu Nov 19 00:23:02.663769 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/lib/helpers.py', line 1855 in new_activities
[Thu Nov 19 00:23:02.663770 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   return action({}, {})
[Thu Nov 19 00:23:02.663771 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/logic/__init__.py', line 424 in wrapped
[Thu Nov 19 00:23:02.663773 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   result = _action(context, data_dict, **kw)
[Thu Nov 19 00:23:02.663774 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/logic/action/get.py', line 3259 in dashboard_new_activities_count
[Thu Nov 19 00:23:02.663775 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   context, data_dict)
[Thu Nov 19 00:23:02.663776 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/logic/__init__.py', line 424 in wrapped
[Thu Nov 19 00:23:02.663778 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   result = _action(context, data_dict, **kw)
[Thu Nov 19 00:23:02.663779 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/logic/__init__.py', line 510 in wrapper
[Thu Nov 19 00:23:02.663780 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   return action(context, data_dict)
[Thu Nov 19 00:23:02.663781 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/logic/action/get.py', line 3190 in dashboard_activity_list
[Thu Nov 19 00:23:02.663783 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   limit=limit, offset=offset)
[Thu Nov 19 00:23:02.663784 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/model/activity.py', line 298 in dashboard_activity_list
[Thu Nov 19 00:23:02.663785 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   q = _dashboard_activity_query(user_id, limit + offset)
[Thu Nov 19 00:23:02.663786 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/model/activity.py', line 283 in _dashboard_activity_query
[Thu Nov 19 00:23:02.663788 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   q1 = _user_activity_query(user_id, limit)
[Thu Nov 19 00:23:02.663789 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/model/activity.py', line 126 in _user_activity_query
[Thu Nov 19 00:23:02.663790 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   return _activities_union_all(q1, q2)
[Thu Nov 19 00:23:02.663791 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/model/activity.py', line 96 in _activities_union_all
[Thu Nov 19 00:23:02.663793 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   return model.Session.query(model.Activity).select_entity_from(
[Thu Nov 19 00:23:02.663794 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] AttributeError: 'Query' object has no attribute 'select_entity_from'
[Thu Nov 19 00:23:02.663795 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] 
[Thu Nov 19 00:23:02.663796 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] 
[Thu Nov 19 00:23:02.663797 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] CGI Variables
[Thu Nov 19 00:23:02.663798 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] -------------
[Thu Nov 19 00:23:02.663800 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   AUTH_TYPE: 'cookie'
[Thu Nov 19 00:23:02.663801 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   CKAN_CURRENT_URL: '/'
[Thu Nov 19 00:23:02.663802 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   CKAN_LANG: 'en'
[Thu Nov 19 00:23:02.663804 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   CKAN_LANG_IS_DEFAULT: True
[Thu Nov 19 00:23:02.663805 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   CKAN_PAGE_CACHABLE: True
[Thu Nov 19 00:23:02.663806 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   CONTENT_TYPE: '; charset=utf-8'
[Thu Nov 19 00:23:02.663808 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   CONTEXT_DOCUMENT_ROOT: '/var/www'
[Thu Nov 19 00:23:02.663809 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   DOCUMENT_ROOT: '/var/www'
[Thu Nov 19 00:23:02.663810 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   GATEWAY_INTERFACE: 'CGI/1.1'
[Thu Nov 19 00:23:02.663811 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
[Thu Nov 19 00:23:02.663812 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   HTTP_ACCEPT_ENCODING: 'gzip, deflate, sdch'
[Thu Nov 19 00:23:02.663814 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.8'
[Thu Nov 19 00:23:02.663815 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   HTTP_CACHE_CONTROL: 'max-age=0'
[Thu Nov 19 00:23:02.663816 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   HTTP_CONNECTION: 'close'
[Thu Nov 19 00:23:02.663818 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   HTTP_COOKIE: 'gsScrollPos=; auth_tkt="aeb122311f670b631baa1993a1761577564d129dadmin!userid_type:unicode"; auth_tkt="aeb122311f670b631baa1993a1761577564d129dadmin!userid_type:unicode"'
[Thu Nov 19 00:23:02.663819 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   HTTP_HOST: 'wisconsin.opengovdata.net'
[Thu Nov 19 00:23:02.663820 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   HTTP_UPGRADE_INSECURE_REQUESTS: '1'
[Thu Nov 19 00:23:02.663822 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   HTTP_USER_AGENT: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36'
[Thu Nov 19 00:23:02.663823 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   HTTP_VIA: '1.1 cache_server:3128 (squid/2.6.STABLE21)'
[Thu Nov 19 00:23:02.663825 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   HTTP_X_FORWARDED_FOR: '172.16.221.217, 64.94.31.206'
[Thu Nov 19 00:23:02.663826 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   HTTP_X_FORWARDED_PROTO: 'http'
[Thu Nov 19 00:23:02.663827 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   HTTP_X_REAL_IP: '64.94.31.206'
[Thu Nov 19 00:23:02.663828 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   PATH_INFO: '/'
[Thu Nov 19 00:23:02.663829 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   PATH_TRANSLATED: '/etc/ckan/apache.wsgi/'
[Thu Nov 19 00:23:02.663831 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   REMOTE_ADDR: '172.17.0.1'
[Thu Nov 19 00:23:02.663832 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   REMOTE_PORT: '42589'
[Thu Nov 19 00:23:02.663833 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   REMOTE_USER: u'admin'
[Thu Nov 19 00:23:02.663834 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   REMOTE_USER_DATA: 'userid_type:unicode'
[Thu Nov 19 00:23:02.663835 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   REMOTE_USER_TOKENS: ['']
[Thu Nov 19 00:23:02.663841 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   REQUEST_METHOD: 'GET'
[Thu Nov 19 00:23:02.663842 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   REQUEST_SCHEME: 'http'
[Thu Nov 19 00:23:02.663843 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   REQUEST_URI: '/'
[Thu Nov 19 00:23:02.663844 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   SCRIPT_FILENAME: '/etc/ckan/apache.wsgi'
[Thu Nov 19 00:23:02.663846 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   SERVER_ADDR: '172.17.0.5'
[Thu Nov 19 00:23:02.663847 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   SERVER_ADMIN: '[no address given]'
[Thu Nov 19 00:23:02.663848 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   SERVER_NAME: 'wisconsin.opengovdata.net'
[Thu Nov 19 00:23:02.663849 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   SERVER_PORT: '80'
[Thu Nov 19 00:23:02.663851 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   SERVER_PROTOCOL: 'HTTP/1.0'
[Thu Nov 19 00:23:02.663852 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   SERVER_SIGNATURE: '<address>Apache/2.4.7 (Ubuntu) Server at wisconsin.opengovdata.net Port 80</address>\\n'
[Thu Nov 19 00:23:02.663853 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   SERVER_SOFTWARE: 'Apache/2.4.7 (Ubuntu)'
[Thu Nov 19 00:23:02.663855 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] 
[Thu Nov 19 00:23:02.663856 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] 
[Thu Nov 19 00:23:02.663857 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] WSGI Variables
[Thu Nov 19 00:23:02.663858 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] --------------
[Thu Nov 19 00:23:02.663859 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   application: <fanstatic.publisher.Delegator object at 0x7f874c9d7910>
[Thu Nov 19 00:23:02.663860 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   beaker.cache: <beaker.cache.CacheManager object at 0x7f874c9d7b10>
[Thu Nov 19 00:23:02.663862 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7f874c9d7ed0>>
[Thu Nov 19 00:23:02.663863 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   beaker.session: {'_accessed_time': 1447892582.661711, '_creation_time': 1447892582.661711}
[Thu Nov 19 00:23:02.663865 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   fanstatic.needed: <fanstatic.core.NeededResources object at 0x7f87474b34d0>
[Thu Nov 19 00:23:02.663866 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   mod_wsgi.application_group: 'ckan|'
[Thu Nov 19 00:23:02.663867 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   mod_wsgi.callable_object: 'application'
[Thu Nov 19 00:23:02.663869 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   mod_wsgi.enable_sendfile: '0'
[Thu Nov 19 00:23:02.663870 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   mod_wsgi.handler_script: ''
[Thu Nov 19 00:23:02.663871 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   mod_wsgi.input_chunked: '0'
[Thu Nov 19 00:23:02.663872 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   mod_wsgi.listener_host: ''
[Thu Nov 19 00:23:02.663873 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   mod_wsgi.listener_port: '5000'
[Thu Nov 19 00:23:02.663874 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   mod_wsgi.process_group: 'ckan_default'
[Thu Nov 19 00:23:02.663876 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   mod_wsgi.queue_start: '1447892582638331'
[Thu Nov 19 00:23:02.663877 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   mod_wsgi.request_handler: 'wsgi-script'
[Thu Nov 19 00:23:02.663879 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   mod_wsgi.script_reloading: '1'
[Thu Nov 19 00:23:02.663880 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   mod_wsgi.version: (3, 4)
[Thu Nov 19 00:23:02.663882 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   paste.cookies: (<SimpleCookie: auth_tkt='aeb122311f670b631baa1993a1761577564d129dadmin!userid_type:unicode' gsScrollPos=''>, 'gsScrollPos=; auth_tkt="aeb122311f670b631baa1993a1761577564d129dadmin!userid_type:unicode"; auth_tkt="aeb122311f670b631baa1993a1761577564d129dadmin!userid_type:unicode"')
[Thu Nov 19 00:23:02.663884 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   paste.registry: <paste.registry.Registry object at 0x7f87474b32d0>
[Thu Nov 19 00:23:02.663886 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   paste.throw_errors: True
[Thu Nov 19 00:23:02.663887 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   pylons.action_method: <bound method HomeController.index of <ckan.controllers.home.HomeController object at 0x7f87474b3890>>
[Thu Nov 19 00:23:02.663889 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   pylons.controller: <ckan.controllers.home.HomeController object at 0x7f87474b3890>
[Thu Nov 19 00:23:02.663890 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
[Thu Nov 19 00:23:02.663891 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   pylons.pylons: <pylons.util.PylonsContext object at 0x7f87474b37d0>
[Thu Nov 19 00:23:02.663892 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   pylons.routes_dict: {'action': u'index', 'controller': u'home'}
[Thu Nov 19 00:23:02.663894 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   repoze.who.api: <repoze.who.api.API object at 0x7f87474b3310>
[Thu Nov 19 00:23:02.663895 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   repoze.who.identity: <repoze.who identity (hidden, dict-like) at 140218994198336>
[Thu Nov 19 00:23:02.663896 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   repoze.who.logger: <logging.Logger object at 0x7f874c9d7b50>
[Thu Nov 19 00:23:02.663898 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   repoze.who.plugins: {'ckan.lib.authenticator:UsernamePasswordAuthenticator': <ckan.lib.authenticator.UsernamePasswordAuthenticator object at 0x7f874c9d7650>, 'friendlyform': <FriendlyFormPlugin 140219074769616>, 'auth_tkt': <CkanAuthTktCookiePlugin 140219074770640>}
[Thu Nov 19 00:23:02.663900 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   routes.cached_hostinfo: {'host': 'wisconsin.opengovdata.net', 'protocol': 'http'}
[Thu Nov 19 00:23:02.663901 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   routes.route: <routes.route.Route object at 0x7f874c72b390>
[Thu Nov 19 00:23:02.663902 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   routes.url: <routes.util.URLGenerator object at 0x7f87474b3650>
[Thu Nov 19 00:23:02.663903 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   webob._parsed_query_vars: (GET([]), '')
[Thu Nov 19 00:23:02.663905 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   webob.adhoc_attrs: {'response': <Response at 0x7f87474b35d0 200 OK>, 'language': 'en-us'}
[Thu Nov 19 00:23:02.663906 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   wsgi process: 'Multi process AND threads (?)'
[Thu Nov 19 00:23:02.663907 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   wsgi.file_wrapper: <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f87474a8eb8>
[Thu Nov 19 00:23:02.663909 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7f87474b3650>, {'action': u'index', 'controller': u'home'})
[Thu Nov 19 00:23:02.663911 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] ------------------------------------------------------------
[Thu Nov 19 00:23:02.674036 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] mod_wsgi (pid=15): Exception occurred processing WSGI script '/etc/ckan/apache.wsgi'.
[Thu Nov 19 00:23:02.674066 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] Traceback (most recent call last):
[Thu Nov 19 00:23:02.674080 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/paste/cascade.py", line 130, in __call__
[Thu Nov 19 00:23:02.674113 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     return self.apps[-1](environ, start_response)
[Thu Nov 19 00:23:02.674122 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/config/middleware.py", line 226, in __call__
[Thu Nov 19 00:23:02.674139 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     return self.app(environ, start_response)
[Thu Nov 19 00:23:02.674146 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/paste/registry.py", line 379, in __call__
[Thu Nov 19 00:23:02.674173 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     app_iter = self.application(environ, start_response)
[Thu Nov 19 00:23:02.674180 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/repoze/who/middleware.py", line 87, in __call__
[Thu Nov 19 00:23:02.674198 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     app_iter = app(environ, wrapper.wrap_start_response)
[Thu Nov 19 00:23:02.674205 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/pylons/middleware.py", line 214, in __call__
[Thu Nov 19 00:23:02.674220 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     self.app, new_environ, catch_exc_info=True)
[Thu Nov 19 00:23:02.674232 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/pylons/util.py", line 94, in call_wsgi_application
[Thu Nov 19 00:23:02.674247 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     app_iter = application(environ, start_response)
[Thu Nov 19 00:23:02.674254 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/weberror/errormiddleware.py", line 156, in __call__
[Thu Nov 19 00:23:02.674269 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     return self.application(environ, start_response)
[Thu Nov 19 00:23:02.674275 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/webob/dec.py", line 147, in __call__
[Thu Nov 19 00:23:02.674290 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     resp = self.call_func(req, *args, **self.kwargs)
[Thu Nov 19 00:23:02.674296 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/webob/dec.py", line 208, in call_func
[Thu Nov 19 00:23:02.674310 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     return self.func(req, *args, **kwargs)
[Thu Nov 19 00:23:02.674316 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/fanstatic/publisher.py", line 234, in __call__
[Thu Nov 19 00:23:02.674331 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     return request.get_response(self.app)
[Thu Nov 19 00:23:02.674337 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/webob/request.py", line 1053, in get_response
[Thu Nov 19 00:23:02.674352 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     application, catch_exc_info=False)
[Thu Nov 19 00:23:02.674358 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/webob/request.py", line 1022, in call_application
[Thu Nov 19 00:23:02.674372 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     app_iter = application(self.environ, start_response)
[Thu Nov 19 00:23:02.674378 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/webob/dec.py", line 147, in __call__
[Thu Nov 19 00:23:02.674392 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     resp = self.call_func(req, *args, **self.kwargs)
[Thu Nov 19 00:23:02.674398 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/webob/dec.py", line 208, in call_func
[Thu Nov 19 00:23:02.674411 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     return self.func(req, *args, **kwargs)
[Thu Nov 19 00:23:02.674417 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/fanstatic/injector.py", line 54, in __call__
[Thu Nov 19 00:23:02.674431 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     response = request.get_response(self.app)
[Thu Nov 19 00:23:02.674438 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/webob/request.py", line 1053, in get_response
[Thu Nov 19 00:23:02.674451 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     application, catch_exc_info=False)
[Thu Nov 19 00:23:02.674457 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/webob/request.py", line 1022, in call_application
[Thu Nov 19 00:23:02.674471 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     app_iter = application(self.environ, start_response)
[Thu Nov 19 00:23:02.674477 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/beaker/middleware.py", line 73, in __call__
[Thu Nov 19 00:23:02.674492 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     return self.app(environ, start_response)
[Thu Nov 19 00:23:02.674498 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/beaker/middleware.py", line 155, in __call__
[Thu Nov 19 00:23:02.674512 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     return self.wrap_app(environ, session_start_response)
[Thu Nov 19 00:23:02.674518 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/routes/middleware.py", line 131, in __call__
[Thu Nov 19 00:23:02.674532 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     response = self.app(environ, start_response)
[Thu Nov 19 00:23:02.674538 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/pylons/wsgiapp.py", line 125, in __call__
[Thu Nov 19 00:23:02.674552 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     response = self.dispatch(controller, environ, start_response)
[Thu Nov 19 00:23:02.674559 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/pylons/wsgiapp.py", line 324, in dispatch
[Thu Nov 19 00:23:02.674572 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     return controller(environ, start_response)
[Thu Nov 19 00:23:02.674578 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/lib/base.py", line 338, in __call__
[Thu Nov 19 00:23:02.674591 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     res = WSGIController.__call__(self, environ, start_response)
[Thu Nov 19 00:23:02.674597 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/pylons/controllers/core.py", line 221, in __call__
[Thu Nov 19 00:23:02.674612 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     response = self._dispatch_call()
[Thu Nov 19 00:23:02.674618 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/pylons/controllers/core.py", line 172, in _dispatch_call
[Thu Nov 19 00:23:02.674631 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     response = self._inspect_call(func)
[Thu Nov 19 00:23:02.674638 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/pylons/controllers/core.py", line 107, in _inspect_call
[Thu Nov 19 00:23:02.674651 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     result = self._perform_call(func, args)
[Thu Nov 19 00:23:02.674657 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/pylons/controllers/core.py", line 60, in _perform_call
[Thu Nov 19 00:23:02.674671 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     return func(**args)
[Thu Nov 19 00:23:02.674677 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/controllers/error.py", line 40, in document
[Thu Nov 19 00:23:02.674700 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     return render('error_document_template.html')
[Thu Nov 19 00:23:02.674706 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/lib/base.py", line 217, in render
[Thu Nov 19 00:23:02.674719 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     loader_class=loader_class)
[Thu Nov 19 00:23:02.674725 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/pylons/templating.py", line 249, in cached_template
[Thu Nov 19 00:23:02.674739 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     return render_func()
[Thu Nov 19 00:23:02.674745 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/lib/base.py", line 155, in render_template
[Thu Nov 19 00:23:02.674757 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     return render_jinja2(template_name, globs)
[Thu Nov 19 00:23:02.674763 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/lib/base.py", line 104, in render_jinja2
[Thu Nov 19 00:23:02.674775 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     return template.render(**extra_vars)
[Thu Nov 19 00:23:02.674781 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/usr/lib/ckan/lib/python2.7/site-packages/jinja2/environment.py", line 894, in render
[Thu Nov 19 00:23:02.674795 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     return self.environment.handle_exception(exc_info, True)
[Thu Nov 19 00:23:02.674802 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/templates/error_document_template.html", line 1, in top-level template code
[Thu Nov 19 00:23:02.674814 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     {% extends "page.html" %}
[Thu Nov 19 00:23:02.674821 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/templates/page.html", line 1, in top-level template code
[Thu Nov 19 00:23:02.674833 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     {% extends "base.html" %}
[Thu Nov 19 00:23:02.674839 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/templates/base.html", line 103, in top-level template code
[Thu Nov 19 00:23:02.674851 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     {%- block page %}{% endblock -%}
[Thu Nov 19 00:23:02.674857 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/templates/page.html", line 14, in block "page"
[Thu Nov 19 00:23:02.674869 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     {%- block header %}
[Thu Nov 19 00:23:02.674874 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/templates/page.html", line 15, in block "header"
[Thu Nov 19 00:23:02.674886 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     {% include "header.html" %}
[Thu Nov 19 00:23:02.674892 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/templates/header.html", line 1, in top-level template code
[Thu Nov 19 00:23:02.674904 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     {% block header_wrapper %}
[Thu Nov 19 00:23:02.674910 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/templates/header.html", line 2, in block "header_wrapper"
[Thu Nov 19 00:23:02.674933 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     {% block header_account %}
[Thu Nov 19 00:23:02.674942 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/templates/header.html", line 5, in block "header_account"
[Thu Nov 19 00:23:02.674956 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     {% block header_account_container_content %}
[Thu Nov 19 00:23:02.674962 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/templates/header.html", line 9, in block "header_account_container_content"
[Thu Nov 19 00:23:02.674975 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     {% block header_account_logged %}
[Thu Nov 19 00:23:02.674981 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/templates/header.html", line 23, in block "header_account_logged"
[Thu Nov 19 00:23:02.674993 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     {% set new_activities = h.new_activities() %}
[Thu Nov 19 00:23:02.674999 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/lib/helpers.py", line 1855, in new_activities
[Thu Nov 19 00:23:02.675021 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     return action({}, {})
[Thu Nov 19 00:23:02.675027 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/logic/__init__.py", line 424, in wrapped
[Thu Nov 19 00:23:02.675040 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     result = _action(context, data_dict, **kw)
[Thu Nov 19 00:23:02.675046 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/logic/action/get.py", line 3259, in dashboard_new_activities_count
[Thu Nov 19 00:23:02.675059 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     context, data_dict)
[Thu Nov 19 00:23:02.675065 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/logic/__init__.py", line 424, in wrapped
[Thu Nov 19 00:23:02.675077 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     result = _action(context, data_dict, **kw)
[Thu Nov 19 00:23:02.675083 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/logic/__init__.py", line 510, in wrapper
[Thu Nov 19 00:23:02.675095 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     return action(context, data_dict)
[Thu Nov 19 00:23:02.675101 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/logic/action/get.py", line 3190, in dashboard_activity_list
[Thu Nov 19 00:23:02.675113 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     limit=limit, offset=offset)
[Thu Nov 19 00:23:02.675119 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/model/activity.py", line 298, in dashboard_activity_list
[Thu Nov 19 00:23:02.675132 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     q = _dashboard_activity_query(user_id, limit + offset)
[Thu Nov 19 00:23:02.675138 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/model/activity.py", line 283, in _dashboard_activity_query
[Thu Nov 19 00:23:02.675150 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     q1 = _user_activity_query(user_id, limit)
[Thu Nov 19 00:23:02.675156 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/model/activity.py", line 126, in _user_activity_query
[Thu Nov 19 00:23:02.675168 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     return _activities_union_all(q1, q2)
[Thu Nov 19 00:23:02.675174 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]   File "/project/ckan/ckan/model/activity.py", line 96, in _activities_union_all
[Thu Nov 19 00:23:02.675185 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]     return model.Session.query(model.Activity).select_entity_from(
[Thu Nov 19 00:23:02.675199 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] AttributeError: 'Query' object has no attribute 'select_entity_from'

@JackMc
Copy link
Member

JackMc commented Nov 19, 2015

Hi Waldo,

Can you run a datacats pull to make sure that you are running the latest images?

Sent from my iPhone

On Nov 18, 2015, at 7:26 PM, Waldo Jaquith [email protected] wrote:

Here's what the Docker container has to say upon receiving a request that generates that 500 error.

[Thu Nov 19 00:23:02.661272 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] Error - <type 'exceptions.AttributeError'>: 'Query' object has no attribute 'select_entity_from'
[Thu Nov 19 00:23:02.663636 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] URL: http://wisconsin.opengovdata.net/
[Thu Nov 19 00:23:02.663649 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/weberror/errormiddleware.py', line 162 in call
[Thu Nov 19 00:23:02.663652 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] app_iter = self.application(environ, sr_checker)
[Thu Nov 19 00:23:02.663653 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/webob/dec.py', line 147 in call
[Thu Nov 19 00:23:02.663655 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] resp = self.call_func(req, _args, *_self.kwargs)
[Thu Nov 19 00:23:02.663657 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
[Thu Nov 19 00:23:02.663658 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return self.func(req, _args, *_kwargs)
[Thu Nov 19 00:23:02.663659 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/fanstatic/publisher.py', line 234 in call
[Thu Nov 19 00:23:02.663661 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return request.get_response(self.app)
[Thu Nov 19 00:23:02.663662 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
[Thu Nov 19 00:23:02.663663 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] application, catch_exc_info=False)
[Thu Nov 19 00:23:02.663665 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
[Thu Nov 19 00:23:02.663666 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] app_iter = application(self.environ, start_response)
[Thu Nov 19 00:23:02.663667 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/webob/dec.py', line 147 in call
[Thu Nov 19 00:23:02.663668 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] resp = self.call_func(req, _args, *_self.kwargs)
[Thu Nov 19 00:23:02.663669 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
[Thu Nov 19 00:23:02.663671 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return self.func(req, _args, *_kwargs)
[Thu Nov 19 00:23:02.663672 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/fanstatic/injector.py', line 54 in call
[Thu Nov 19 00:23:02.663673 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] response = request.get_response(self.app)
[Thu Nov 19 00:23:02.663674 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
[Thu Nov 19 00:23:02.663676 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] application, catch_exc_info=False)
[Thu Nov 19 00:23:02.663677 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
[Thu Nov 19 00:23:02.663678 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] app_iter = application(self.environ, start_response)
[Thu Nov 19 00:23:02.663679 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/beaker/middleware.py', line 73 in call
[Thu Nov 19 00:23:02.663681 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return self.app(environ, start_response)
[Thu Nov 19 00:23:02.663682 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/beaker/middleware.py', line 155 in call
[Thu Nov 19 00:23:02.663683 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return self.wrap_app(environ, session_start_response)
[Thu Nov 19 00:23:02.663684 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/routes/middleware.py', line 131 in call
[Thu Nov 19 00:23:02.663687 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] response = self.app(environ, start_response)
[Thu Nov 19 00:23:02.663689 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/pylons/wsgiapp.py', line 125 in call
[Thu Nov 19 00:23:02.663690 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] response = self.dispatch(controller, environ, start_response)
[Thu Nov 19 00:23:02.663692 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/pylons/wsgiapp.py', line 324 in dispatch
[Thu Nov 19 00:23:02.663693 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return controller(environ, start_response)
[Thu Nov 19 00:23:02.663694 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/lib/base.py', line 338 in call
[Thu Nov 19 00:23:02.663696 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] res = WSGIController.call(self, environ, start_response)
[Thu Nov 19 00:23:02.663697 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/pylons/controllers/core.py', line 221 in call
[Thu Nov 19 00:23:02.663698 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] response = self._dispatch_call()
[Thu Nov 19 00:23:02.663699 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
[Thu Nov 19 00:23:02.663701 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] response = self._inspect_call(func)
[Thu Nov 19 00:23:02.663702 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
[Thu Nov 19 00:23:02.663703 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] result = self._perform_call(func, args)
[Thu Nov 19 00:23:02.663704 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/pylons/controllers/core.py', line 60 in _perform_call
[Thu Nov 19 00:23:02.663706 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return func(**args)
[Thu Nov 19 00:23:02.663707 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/controllers/home.py', line 182 in index
[Thu Nov 19 00:23:02.663708 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return base.render('home/index.html', cache_force=True)
[Thu Nov 19 00:23:02.663723 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/lib/base.py', line 217 in render
[Thu Nov 19 00:23:02.663724 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] loader_class=loader_class)
[Thu Nov 19 00:23:02.663726 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/pylons/templating.py', line 249 in cached_template
[Thu Nov 19 00:23:02.663732 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return render_func()
[Thu Nov 19 00:23:02.663734 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/lib/base.py', line 155 in render_template
[Thu Nov 19 00:23:02.663735 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return render_jinja2(template_name, globs)
[Thu Nov 19 00:23:02.663737 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/lib/base.py', line 104 in render_jinja2
[Thu Nov 19 00:23:02.663738 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return template.render(**extra_vars)
[Thu Nov 19 00:23:02.663739 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/usr/lib/ckan/lib/python2.7/site-packages/jinja2/environment.py', line 894 in render
[Thu Nov 19 00:23:02.663740 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return self.environment.handle_exception(exc_info, True)
[Thu Nov 19 00:23:02.663742 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/templates/home/index.html', line 2 in top-level template code
[Thu Nov 19 00:23:02.663743 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] {% set homepage_style = ( g.homepage_style or '1' ) %}
[Thu Nov 19 00:23:02.663744 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/templates/page.html', line 1 in top-level template code
[Thu Nov 19 00:23:02.663746 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] {% extends "base.html" %}
[Thu Nov 19 00:23:02.663747 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/templates/base.html', line 103 in top-level template code
[Thu Nov 19 00:23:02.663748 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] {%- block page %}{% endblock -%}
[Thu Nov 19 00:23:02.663749 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/templates/page.html', line 14 in block "page"
[Thu Nov 19 00:23:02.663751 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] {%- block header %}
[Thu Nov 19 00:23:02.663752 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/templates/page.html', line 15 in block "header"
[Thu Nov 19 00:23:02.663753 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] {% include "header.html" %}
[Thu Nov 19 00:23:02.663754 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/templates/header.html', line 1 in top-level template code
[Thu Nov 19 00:23:02.663756 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] {% block header_wrapper %}
[Thu Nov 19 00:23:02.663757 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/templates/header.html', line 2 in block "header_wrapper"
[Thu Nov 19 00:23:02.663758 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] {% block header_account %}
[Thu Nov 19 00:23:02.663759 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/templates/header.html', line 5 in block "header_account"
[Thu Nov 19 00:23:02.663761 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] {% block header_account_container_content %}
[Thu Nov 19 00:23:02.663762 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/templates/header.html', line 9 in block "header_account_container_content"
[Thu Nov 19 00:23:02.663763 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] {% block header_account_logged %}
[Thu Nov 19 00:23:02.663765 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/templates/header.html', line 23 in block "header_account_logged"
[Thu Nov 19 00:23:02.663767 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] {% set new_activities = h.new_activities() %}
[Thu Nov 19 00:23:02.663769 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/lib/helpers.py', line 1855 in new_activities
[Thu Nov 19 00:23:02.663770 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return action({}, {})
[Thu Nov 19 00:23:02.663771 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/logic/init.py', line 424 in wrapped
[Thu Nov 19 00:23:02.663773 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] result = _action(context, data_dict, **kw)
[Thu Nov 19 00:23:02.663774 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/logic/action/get.py', line 3259 in dashboard_new_activities_count
[Thu Nov 19 00:23:02.663775 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] context, data_dict)
[Thu Nov 19 00:23:02.663776 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/logic/init.py', line 424 in wrapped
[Thu Nov 19 00:23:02.663778 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] result = _action(context, data_dict, **kw)
[Thu Nov 19 00:23:02.663779 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/logic/init.py', line 510 in wrapper
[Thu Nov 19 00:23:02.663780 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return action(context, data_dict)
[Thu Nov 19 00:23:02.663781 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/logic/action/get.py', line 3190 in dashboard_activity_list
[Thu Nov 19 00:23:02.663783 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] limit=limit, offset=offset)
[Thu Nov 19 00:23:02.663784 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/model/activity.py', line 298 in dashboard_activity_list
[Thu Nov 19 00:23:02.663785 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] q = _dashboard_activity_query(user_id, limit + offset)
[Thu Nov 19 00:23:02.663786 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/model/activity.py', line 283 in _dashboard_activity_query
[Thu Nov 19 00:23:02.663788 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] q1 = _user_activity_query(user_id, limit)
[Thu Nov 19 00:23:02.663789 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/model/activity.py', line 126 in _user_activity_query
[Thu Nov 19 00:23:02.663790 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return activities_union_all(q1, q2)
[Thu Nov 19 00:23:02.663791 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File '/project/ckan/ckan/model/activity.py', line 96 in activities_union_all
[Thu Nov 19 00:23:02.663793 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return model.Session.query(model.Activity).select_entity_from(
[Thu Nov 19 00:23:02.663794 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] AttributeError: 'Query' object has no attribute 'select_entity_from'
[Thu Nov 19 00:23:02.663795 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]
[Thu Nov 19 00:23:02.663796 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]
[Thu Nov 19 00:23:02.663797 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] CGI Variables
[Thu Nov 19 00:23:02.663798 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] -------------
[Thu Nov 19 00:23:02.663800 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] AUTH_TYPE: 'cookie'
[Thu Nov 19 00:23:02.663801 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] CKAN_CURRENT_URL: '/'
[Thu Nov 19 00:23:02.663802 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] CKAN_LANG: 'en'
[Thu Nov 19 00:23:02.663804 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] CKAN_LANG_IS_DEFAULT: True
[Thu Nov 19 00:23:02.663805 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] CKAN_PAGE_CACHABLE: True
[Thu Nov 19 00:23:02.663806 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] CONTENT_TYPE: '; charset=utf-8'
[Thu Nov 19 00:23:02.663808 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] CONTEXT_DOCUMENT_ROOT: '/var/www'
[Thu Nov 19 00:23:02.663809 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] DOCUMENT_ROOT: '/var/www'
[Thu Nov 19 00:23:02.663810 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] GATEWAY_INTERFACE: 'CGI/1.1'
[Thu Nov 19 00:23:02.663811 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,
/
;q=0.8'
[Thu Nov 19 00:23:02.663812 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] HTTP_ACCEPT_ENCODING: 'gzip, deflate, sdch'
[Thu Nov 19 00:23:02.663814 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.8'
[Thu Nov 19 00:23:02.663815 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] HTTP_CACHE_CONTROL: 'max-age=0'
[Thu Nov 19 00:23:02.663816 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] HTTP_CONNECTION: 'close'
[Thu Nov 19 00:23:02.663818 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] HTTP_COOKIE: 'gsScrollPos=; auth_tkt="aeb122311f670b631baa1993a1761577564d129dadmin!userid_type:unicode"; auth_tkt="aeb122311f670b631baa1993a1761577564d129dadmin!userid_type:unicode"'
[Thu Nov 19 00:23:02.663819 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] HTTP_HOST: 'wisconsin.opengovdata.net'
[Thu Nov 19 00:23:02.663820 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] HTTP_UPGRADE_INSECURE_REQUESTS: '1'
[Thu Nov 19 00:23:02.663822 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] HTTP_USER_AGENT: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36'
[Thu Nov 19 00:23:02.663823 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] HTTP_VIA: '1.1 cache_server:3128 (squid/2.6.STABLE21)'
[Thu Nov 19 00:23:02.663825 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] HTTP_X_FORWARDED_FOR: '172.16.221.217, 64.94.31.206'
[Thu Nov 19 00:23:02.663826 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] HTTP_X_FORWARDED_PROTO: 'http'
[Thu Nov 19 00:23:02.663827 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] HTTP_X_REAL_IP: '64.94.31.206'
[Thu Nov 19 00:23:02.663828 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] PATH_INFO: '/'
[Thu Nov 19 00:23:02.663829 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] PATH_TRANSLATED: '/etc/ckan/apache.wsgi/'
[Thu Nov 19 00:23:02.663831 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] REMOTE_ADDR: '172.17.0.1'
[Thu Nov 19 00:23:02.663832 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] REMOTE_PORT: '42589'
[Thu Nov 19 00:23:02.663833 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] REMOTE_USER: u'admin'
[Thu Nov 19 00:23:02.663834 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] REMOTE_USER_DATA: 'userid_type:unicode'
[Thu Nov 19 00:23:02.663835 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] REMOTE_USER_TOKENS: ['']
[Thu Nov 19 00:23:02.663841 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] REQUEST_METHOD: 'GET'
[Thu Nov 19 00:23:02.663842 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] REQUEST_SCHEME: 'http'
[Thu Nov 19 00:23:02.663843 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] REQUEST_URI: '/'
[Thu Nov 19 00:23:02.663844 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] SCRIPT_FILENAME: '/etc/ckan/apache.wsgi'
[Thu Nov 19 00:23:02.663846 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] SERVER_ADDR: '172.17.0.5'
[Thu Nov 19 00:23:02.663847 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] SERVER_ADMIN: '[no address given]'
[Thu Nov 19 00:23:02.663848 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] SERVER_NAME: 'wisconsin.opengovdata.net'
[Thu Nov 19 00:23:02.663849 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] SERVER_PORT: '80'
[Thu Nov 19 00:23:02.663851 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] SERVER_PROTOCOL: 'HTTP/1.0'
[Thu Nov 19 00:23:02.663852 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] SERVER_SIGNATURE: '

Apache/2.4.7 (Ubuntu) Server at wisconsin.opengovdata.net Port 80\n'
[Thu Nov 19 00:23:02.663853 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] SERVER_SOFTWARE: 'Apache/2.4.7 (Ubuntu)'
[Thu Nov 19 00:23:02.663855 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]
[Thu Nov 19 00:23:02.663856 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754]
[Thu Nov 19 00:23:02.663857 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] WSGI Variables
[Thu Nov 19 00:23:02.663858 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] --------------
[Thu Nov 19 00:23:02.663859 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] application: <fanstatic.publisher.Delegator object at 0x7f874c9d7910>
[Thu Nov 19 00:23:02.663860 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] beaker.cache: <beaker.cache.CacheManager object at 0x7f874c9d7b10>
[Thu Nov 19 00:23:02.663862 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7f874c9d7ed0>>
[Thu Nov 19 00:23:02.663863 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] beaker.session: {'_accessed_time': 1447892582.661711, '_creation_time': 1447892582.661711}
[Thu Nov 19 00:23:02.663865 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] fanstatic.needed: <fanstatic.core.NeededResources object at 0x7f87474b34d0>
[Thu Nov 19 00:23:02.663866 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] mod_wsgi.application_group: 'ckan|'
[Thu Nov 19 00:23:02.663867 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] mod_wsgi.callable_object: 'application'
[Thu Nov 19 00:23:02.663869 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] mod_wsgi.enable_sendfile: '0'
[Thu Nov 19 00:23:02.663870 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] mod_wsgi.handler_script: ''
[Thu Nov 19 00:23:02.663871 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] mod_wsgi.input_chunked: '0'
[Thu Nov 19 00:23:02.663872 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] mod_wsgi.listener_host: ''
[Thu Nov 19 00:23:02.663873 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] mod_wsgi.listener_port: '5000'
[Thu Nov 19 00:23:02.663874 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] mod_wsgi.process_group: 'ckan_default'
[Thu Nov 19 00:23:02.663876 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] mod_wsgi.queue_start: '1447892582638331'
[Thu Nov 19 00:23:02.663877 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] mod_wsgi.request_handler: 'wsgi-script'
[Thu Nov 19 00:23:02.663879 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] mod_wsgi.script_reloading: '1'
[Thu Nov 19 00:23:02.663880 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] mod_wsgi.version: (3, 4)
[Thu Nov 19 00:23:02.663882 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] paste.cookies: (<SimpleCookie: auth_tkt='aeb122311f670b631baa1993a1761577564d129dadmin!userid_type:unicode' gsScrollPos=''>, 'gsScrollPos=; auth_tkt="aeb122311f670b631baa1993a1761577564d129dadmin!userid_type:unicode"; auth_tkt="aeb122311f670b631baa1993a1761577564d129dadmin!userid_type:unicode"')
[Thu Nov 19 00:23:02.663884 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] paste.registry: <paste.registry.Registry object at 0x7f87474b32d0>
[Thu Nov 19 00:23:02.663886 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] paste.throw_errors: True
[Thu Nov 19 00:23:02.663887 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] pylons.action_method: <bound method HomeController.index of <ckan.controllers.home.HomeController object at 0x7f87474b3890>>
[Thu Nov 19 00:23:02.663889 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] pylons.controller: <ckan.controllers.home.HomeController object at 0x7f87474b3890>
[Thu Nov 19 00:23:02.663890 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
[Thu Nov 19 00:23:02.663891 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] pylons.pylons: <pylons.util.PylonsContext object at 0x7f87474b37d0>
[Thu Nov 19 00:23:02.663892 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] pylons.routes_dict: {'action': u'index', 'controller': u'home'}
[Thu Nov 19 00:23:02.663894 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] repoze.who.api: <repoze.who.api.API object at 0x7f87474b3310>
[Thu Nov 19 00:23:02.663895 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] repoze.who.identity: <repoze.who identity (hidden, dict-like) at 140218994198336>
[Thu Nov 19 00:23:02.663896 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] repoze.who.logger: <logging.Logger object at 0x7f874c9d7b50>
[Thu Nov 19 00:23:02.663898 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] repoze.who.plugins: {'ckan.lib.authenticator:UsernamePasswordAuthenticator': <ckan.lib.authenticator.UsernamePasswordAuthenticator object at 0x7f874c9d7650>, 'friendlyform': <FriendlyFormPlugin 140219074769616>, 'auth_tkt': <CkanAuthTktCookiePlugin 140219074770640>}
[Thu Nov 19 00:23:02.663900 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] routes.cached_hostinfo: {'host': 'wisconsin.opengovdata.net', 'protocol': 'http'}
[Thu Nov 19 00:23:02.663901 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] routes.route: <routes.route.Route object at 0x7f874c72b390>
[Thu Nov 19 00:23:02.663902 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] routes.url: <routes.util.URLGenerator object at 0x7f87474b3650>
[Thu Nov 19 00:23:02.663903 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] webob._parsed_query_vars: (GET([]), '')
[Thu Nov 19 00:23:02.663905 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] webob.adhoc_attrs: {'response': <Response at 0x7f87474b35d0 200 OK>, 'language': 'en-us'}
[Thu Nov 19 00:23:02.663906 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] wsgi process: 'Multi process AND threads (?)'
[Thu Nov 19 00:23:02.663907 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] wsgi.file_wrapper: <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f87474a8eb8>
[Thu Nov 19 00:23:02.663909 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7f87474b3650>, {'action': u'index', 'controller': u'home'})
[Thu Nov 19 00:23:02.663911 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] ------------------------------------------------------------
[Thu Nov 19 00:23:02.674036 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] mod_wsgi (pid=15): Exception occurred processing WSGI script '/etc/ckan/apache.wsgi'.
[Thu Nov 19 00:23:02.674066 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] Traceback (most recent call last):
[Thu Nov 19 00:23:02.674080 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/paste/cascade.py", line 130, in call
[Thu Nov 19 00:23:02.674113 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return self.apps[-1](environ, start_response)
[Thu Nov 19 00:23:02.674122 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/config/middleware.py", line 226, in call
[Thu Nov 19 00:23:02.674139 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return self.app(environ, start_response)
[Thu Nov 19 00:23:02.674146 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/paste/registry.py", line 379, in call
[Thu Nov 19 00:23:02.674173 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] app_iter = self.application(environ, start_response)
[Thu Nov 19 00:23:02.674180 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/repoze/who/middleware.py", line 87, in call
[Thu Nov 19 00:23:02.674198 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] app_iter = app(environ, wrapper.wrap_start_response)
[Thu Nov 19 00:23:02.674205 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/pylons/middleware.py", line 214, in call
[Thu Nov 19 00:23:02.674220 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] self.app, new_environ, catch_exc_info=True)
[Thu Nov 19 00:23:02.674232 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/pylons/util.py", line 94, in call_wsgi_application
[Thu Nov 19 00:23:02.674247 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] app_iter = application(environ, start_response)
[Thu Nov 19 00:23:02.674254 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/weberror/errormiddleware.py", line 156, in call
[Thu Nov 19 00:23:02.674269 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return self.application(environ, start_response)
[Thu Nov 19 00:23:02.674275 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/webob/dec.py", line 147, in call
[Thu Nov 19 00:23:02.674290 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] resp = self.call_func(req, _args, *_self.kwargs)
[Thu Nov 19 00:23:02.674296 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/webob/dec.py", line 208, in call_func
[Thu Nov 19 00:23:02.674310 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return self.func(req, _args, *_kwargs)
[Thu Nov 19 00:23:02.674316 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/fanstatic/publisher.py", line 234, in call
[Thu Nov 19 00:23:02.674331 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return request.get_response(self.app)
[Thu Nov 19 00:23:02.674337 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/webob/request.py", line 1053, in get_response
[Thu Nov 19 00:23:02.674352 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] application, catch_exc_info=False)
[Thu Nov 19 00:23:02.674358 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/webob/request.py", line 1022, in call_application
[Thu Nov 19 00:23:02.674372 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] app_iter = application(self.environ, start_response)
[Thu Nov 19 00:23:02.674378 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/webob/dec.py", line 147, in call
[Thu Nov 19 00:23:02.674392 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] resp = self.call_func(req, _args, *_self.kwargs)
[Thu Nov 19 00:23:02.674398 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/webob/dec.py", line 208, in call_func
[Thu Nov 19 00:23:02.674411 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return self.func(req, _args, *_kwargs)
[Thu Nov 19 00:23:02.674417 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/fanstatic/injector.py", line 54, in call
[Thu Nov 19 00:23:02.674431 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] response = request.get_response(self.app)
[Thu Nov 19 00:23:02.674438 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/webob/request.py", line 1053, in get_response
[Thu Nov 19 00:23:02.674451 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] application, catch_exc_info=False)
[Thu Nov 19 00:23:02.674457 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/webob/request.py", line 1022, in call_application
[Thu Nov 19 00:23:02.674471 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] app_iter = application(self.environ, start_response)
[Thu Nov 19 00:23:02.674477 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/beaker/middleware.py", line 73, in call
[Thu Nov 19 00:23:02.674492 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return self.app(environ, start_response)
[Thu Nov 19 00:23:02.674498 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/beaker/middleware.py", line 155, in call
[Thu Nov 19 00:23:02.674512 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return self.wrap_app(environ, session_start_response)
[Thu Nov 19 00:23:02.674518 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/routes/middleware.py", line 131, in call
[Thu Nov 19 00:23:02.674532 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] response = self.app(environ, start_response)
[Thu Nov 19 00:23:02.674538 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/pylons/wsgiapp.py", line 125, in call
[Thu Nov 19 00:23:02.674552 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] response = self.dispatch(controller, environ, start_response)
[Thu Nov 19 00:23:02.674559 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/pylons/wsgiapp.py", line 324, in dispatch
[Thu Nov 19 00:23:02.674572 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return controller(environ, start_response)
[Thu Nov 19 00:23:02.674578 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/lib/base.py", line 338, in call
[Thu Nov 19 00:23:02.674591 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] res = WSGIController.call(self, environ, start_response)
[Thu Nov 19 00:23:02.674597 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/pylons/controllers/core.py", line 221, in call
[Thu Nov 19 00:23:02.674612 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] response = self._dispatch_call()
[Thu Nov 19 00:23:02.674618 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/pylons/controllers/core.py", line 172, in _dispatch_call
[Thu Nov 19 00:23:02.674631 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] response = self._inspect_call(func)
[Thu Nov 19 00:23:02.674638 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/pylons/controllers/core.py", line 107, in _inspect_call
[Thu Nov 19 00:23:02.674651 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] result = self._perform_call(func, args)
[Thu Nov 19 00:23:02.674657 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/pylons/controllers/core.py", line 60, in _perform_call
[Thu Nov 19 00:23:02.674671 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return func(**args)
[Thu Nov 19 00:23:02.674677 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/controllers/error.py", line 40, in document
[Thu Nov 19 00:23:02.674700 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return render('error_document_template.html')
[Thu Nov 19 00:23:02.674706 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/lib/base.py", line 217, in render
[Thu Nov 19 00:23:02.674719 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] loader_class=loader_class)
[Thu Nov 19 00:23:02.674725 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/pylons/templating.py", line 249, in cached_template
[Thu Nov 19 00:23:02.674739 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return render_func()
[Thu Nov 19 00:23:02.674745 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/lib/base.py", line 155, in render_template
[Thu Nov 19 00:23:02.674757 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return render_jinja2(template_name, globs)
[Thu Nov 19 00:23:02.674763 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/lib/base.py", line 104, in render_jinja2
[Thu Nov 19 00:23:02.674775 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return template.render(**extra_vars)
[Thu Nov 19 00:23:02.674781 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/usr/lib/ckan/lib/python2.7/site-packages/jinja2/environment.py", line 894, in render
[Thu Nov 19 00:23:02.674795 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return self.environment.handle_exception(exc_info, True)
[Thu Nov 19 00:23:02.674802 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/templates/error_document_template.html", line 1, in top-level template code
[Thu Nov 19 00:23:02.674814 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] {% extends "page.html" %}
[Thu Nov 19 00:23:02.674821 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/templates/page.html", line 1, in top-level template code
[Thu Nov 19 00:23:02.674833 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] {% extends "base.html" %}
[Thu Nov 19 00:23:02.674839 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/templates/base.html", line 103, in top-level template code
[Thu Nov 19 00:23:02.674851 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] {%- block page %}{% endblock -%}
[Thu Nov 19 00:23:02.674857 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/templates/page.html", line 14, in block "page"
[Thu Nov 19 00:23:02.674869 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] {%- block header %}
[Thu Nov 19 00:23:02.674874 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/templates/page.html", line 15, in block "header"
[Thu Nov 19 00:23:02.674886 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] {% include "header.html" %}
[Thu Nov 19 00:23:02.674892 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/templates/header.html", line 1, in top-level template code
[Thu Nov 19 00:23:02.674904 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] {% block header_wrapper %}
[Thu Nov 19 00:23:02.674910 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/templates/header.html", line 2, in block "header_wrapper"
[Thu Nov 19 00:23:02.674933 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] {% block header_account %}
[Thu Nov 19 00:23:02.674942 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/templates/header.html", line 5, in block "header_account"
[Thu Nov 19 00:23:02.674956 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] {% block header_account_container_content %}
[Thu Nov 19 00:23:02.674962 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/templates/header.html", line 9, in block "header_account_container_content"
[Thu Nov 19 00:23:02.674975 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] {% block header_account_logged %}
[Thu Nov 19 00:23:02.674981 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/templates/header.html", line 23, in block "header_account_logged"
[Thu Nov 19 00:23:02.674993 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] {% set new_activities = h.new_activities() %}
[Thu Nov 19 00:23:02.674999 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/lib/helpers.py", line 1855, in new_activities
[Thu Nov 19 00:23:02.675021 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return action({}, {})
[Thu Nov 19 00:23:02.675027 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/logic/init.py", line 424, in wrapped
[Thu Nov 19 00:23:02.675040 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] result = _action(context, data_dict, **kw)
[Thu Nov 19 00:23:02.675046 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/logic/action/get.py", line 3259, in dashboard_new_activities_count
[Thu Nov 19 00:23:02.675059 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] context, data_dict)
[Thu Nov 19 00:23:02.675065 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/logic/init.py", line 424, in wrapped
[Thu Nov 19 00:23:02.675077 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] result = _action(context, data_dict, **kw)
[Thu Nov 19 00:23:02.675083 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/logic/init.py", line 510, in wrapper
[Thu Nov 19 00:23:02.675095 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return action(context, data_dict)
[Thu Nov 19 00:23:02.675101 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/logic/action/get.py", line 3190, in dashboard_activity_list
[Thu Nov 19 00:23:02.675113 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] limit=limit, offset=offset)
[Thu Nov 19 00:23:02.675119 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/model/activity.py", line 298, in dashboard_activity_list
[Thu Nov 19 00:23:02.675132 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] q = _dashboard_activity_query(user_id, limit + offset)
[Thu Nov 19 00:23:02.675138 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/model/activity.py", line 283, in _dashboard_activity_query
[Thu Nov 19 00:23:02.675150 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] q1 = _user_activity_query(user_id, limit)
[Thu Nov 19 00:23:02.675156 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/model/activity.py", line 126, in _user_activity_query
[Thu Nov 19 00:23:02.675168 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return _activities_union_all(q1, q2)
[Thu Nov 19 00:23:02.675174 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] File "/project/ckan/ckan/model/activity.py", line 96, in _activities_union_all
[Thu Nov 19 00:23:02.675185 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] return model.Session.query(model.Activity).select_entity_from(
[Thu Nov 19 00:23:02.675199 2015] [:error] [pid 15:tid 140219478353664] [remote 172.17.0.1:59754] AttributeError: 'Query' object has no attribute 'select_entity_from'

Reply to this email directly or view it on GitHub.

@waldoj
Copy link
Contributor

waldoj commented Nov 19, 2015 via email

@waldoj
Copy link
Contributor

waldoj commented Nov 19, 2015

Ran datacats pull, recreated a CKAN instance, changed the password, and the bug persists.

However, here's an interesting data point. If I open the site without the same cookies (delete them, use an incognito window, a new browser, whatever), then everything's A-OK. So this seems to be a session data problem. The site only broken for the admin—nobody else.

@mheadd
Copy link
Author

mheadd commented Nov 19, 2015

I've observed that exact behavior as well.

When I log in as admin, the error appears. When I remove the cookie or view the site from an incognito window, the site looks fine.

@waldoj
Copy link
Contributor

waldoj commented Nov 19, 2015

I wondered if there was any way to be able to log in as an admin at that point, so I tried the password reset link. Upon submitting my username, I just got this:

error

@JackMc
Copy link
Member

JackMc commented Nov 19, 2015

This is related to a recurring datacats bug. We thought we had squashed it but looks like nope. DataPusher has version conflicts on 2.3 with ckanserviceprovider and SQLAlchemy.

Sent from my iPhone

On Nov 19, 2015, at 2:50 PM, Mark Headd [email protected] wrote:

I've observed that exact behavior as well.

When I log in as admin, the error appears. When I remove the cookie or view the site from an incognito window, the site looks fine.


Reply to this email directly or view it on GitHub.

@wardi
Copy link
Member

wardi commented Nov 20, 2015

Until we get the image fixed try cloning the latest version of datapusher in the source directory, then run the datacats install --clean to get the right dependencies.

@mheadd
Copy link
Author

mheadd commented Dec 22, 2015

Any update on getting the image fixed to address this?

@waldoj
Copy link
Contributor

waldoj commented Dec 23, 2015

Datacats is closing up shop, which complicates things, of course. @opendata has a small budget for CKAN Multisite improvements, so I imagine I'll need to track down a contractor to fix the underlying bug in datacats.

@mheadd
Copy link
Author

mheadd commented Dec 23, 2015

Wow. Had not heard that. That's too bad.

@wardi
Copy link
Member

wardi commented Mar 16, 2016

Does changing

create_environment(environment.name, None, '2.3',
from '2.3' to '2.4' help?

@mheadd
Copy link
Author

mheadd commented Mar 21, 2016

This did not seem to fix the issue. Or rather, it seemed to create another that prevented me from testing whether this fixed the original issue.

Stopping the process, changing the file as you suggest above, and then invoking run.sh again seems to throw some sort of error when creating a new site in the admin interface.

[2016-03-21 14:31:07,056: WARNING/Worker-1] .
[2016-03-21 14:31:07,056: WARNING/Worker-1] .
[2016-03-21 14:31:07,056: WARNING/Worker-1] .
[2016-03-21 14:31:07,057: WARNING/Worker-1] .
[2016-03-21 14:31:07,057: WARNING/Worker-1] .
[2016-03-21 14:31:07,057: WARNING/Worker-1] .
[2016-03-21 14:31:07,058: WARNING/Worker-1] .
[2016-03-21 14:31:07,058: WARNING/Worker-1] .
[2016-03-21 14:31:07,058: WARNING/Worker-1] .
[2016-03-21 14:31:07,058: WARNING/Worker-1] .
[2016-03-21 14:31:07,059: WARNING/Worker-1] .
[2016-03-21 14:31:07,060: WARNING/Worker-1] .
[2016-03-21 14:31:07,060: WARNING/Worker-1] .
[2016-03-21 14:31:07,060: WARNING/Worker-1] .
[2016-03-21 14:31:07,061: WARNING/Worker-1] .
[2016-03-21 14:31:07,061: WARNING/Worker-1] .
[2016-03-21 14:31:07,062: WARNING/Worker-1] .
[2016-03-21 14:31:07,062: WARNING/Worker-1] .
[2016-03-21 14:31:07,062: WARNING/Worker-1] .
[2016-03-21 14:31:07,063: WARNING/Worker-1] .
[2016-03-21 14:31:07,063: WARNING/Worker-1] .
[2016-03-21 14:31:07,063: WARNING/Worker-1] .
...

I had to break out of the process to kill the loop.

I tried this on an already installed instance of ckan multisite. Perhaps that was not what you meant..?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants