Skip to content

Instantly share code, notes, and snippets.

@yanik-ai
Created August 19, 2015 07:45
Show Gist options
  • Save yanik-ai/e39b3b7ab9e006e43e83 to your computer and use it in GitHub Desktop.
Save yanik-ai/e39b3b7ab9e006e43e83 to your computer and use it in GitHub Desktop.
[Wed Aug 19 10:44:15 2015] [error] 2015-08-19 10:44:15,444 INFO [ckan.lib.base] /pages render time 0.074 seconds
[Wed Aug 19 10:44:15 2015] [error] 2015-08-19 10:44:15,519 INFO [ckan.lib.base] /api/i18n/en render time 0.001 seconds
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] Error - <type 'exceptions.UnboundLocalError'>: local variable 'lxml' referenced before assignment
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] URL: http://localhost/pages/ololo
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/lib/python2.7/site-packages/weberror/errormiddleware.py', line 162 in __call__
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] app_iter = self.application(environ, sr_checker)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] resp = self.call_func(req, *args, **self.kwargs)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] return self.func(req, *args, **kwargs)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/lib/python2.7/site-packages/fanstatic/publisher.py', line 234 in __call__
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] return request.get_response(self.app)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] application, catch_exc_info=False)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] app_iter = application(self.environ, start_response)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/lib/python2.7/site-packages/webob/dec.py', line 147 in __call__
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] resp = self.call_func(req, *args, **self.kwargs)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/lib/python2.7/site-packages/webob/dec.py', line 208 in call_func
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] return self.func(req, *args, **kwargs)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/lib/python2.7/site-packages/fanstatic/injector.py', line 54 in __call__
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] response = request.get_response(self.app)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/lib/python2.7/site-packages/webob/request.py', line 1053 in get_response
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] application, catch_exc_info=False)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/lib/python2.7/site-packages/webob/request.py', line 1022 in call_application
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] app_iter = application(self.environ, start_response)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/src/ckan/ckan/config/middleware.py', line 389 in inner
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] result = application(environ, start_response)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/lib/python2.7/site-packages/beaker/middleware.py', line 73 in __call__
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] return self.app(environ, start_response)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/lib/python2.7/site-packages/beaker/middleware.py', line 155 in __call__
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] return self.wrap_app(environ, session_start_response)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] response = self.app(environ, start_response)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/lib/python2.7/site-packages/pylons/wsgiapp.py', line 125 in __call__
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] response = self.dispatch(controller, environ, start_response)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/lib/python2.7/site-packages/pylons/wsgiapp.py', line 324 in dispatch
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] return controller(environ, start_response)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/src/ckan/ckan/lib/base.py', line 338 in __call__
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] res = WSGIController.__call__(self, environ, start_response)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/lib/python2.7/site-packages/pylons/controllers/core.py', line 221 in __call__
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] response = self._dispatch_call()
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/lib/python2.7/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] response = self._inspect_call(func)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/lib/python2.7/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] result = self._perform_call(func, args)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/lib/python2.7/site-packages/pylons/controllers/core.py', line 60 in _perform_call
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] return func(**args)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/src/ckan/ckan/src/ckanext-pages/ckanext/pages/controller.py', line 269 in pages_show
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] self._inject_views_into_page(_page)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] File '/usr/lib/ckan/default/src/ckan/ckan/src/ckanext-pages/ckanext/pages/controller.py', line 209 in _inject_views_into_page
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] lxml.etree.XMLSyntaxError,
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] UnboundLocalError: local variable 'lxml' referenced before assignment
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1]
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1]
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] CGI Variables
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] -------------
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] AUTH_TYPE: 'cookie'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] CKAN_CURRENT_URL: '/pages/ololo'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] CKAN_LANG: 'en'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] CKAN_LANG_IS_DEFAULT: True
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] CONTENT_TYPE: '; charset=utf-8'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] DOCUMENT_ROOT: '/etc/apache2/htdocs'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] GATEWAY_INTERFACE: 'CGI/1.1'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] HTTP_ACCEPT_ENCODING: 'gzip,deflate,sdch'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.8'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] HTTP_CONNECTION: 'close'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] HTTP_COOKIE: 'auth_tkt="9b890bc4cb05ac7c0bca8e3237d01ae655d33650admin!userid_type:unicode"; ckan=c091f0d1894df0e28e771566875b8e5c0b26d6ead1b5d0aaa4d344a296c63ce4effb35db'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] HTTP_HOST: 'localhost'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] HTTP_REFERER: 'http://localhost/pages'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] HTTP_USER_AGENT: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/37.0.2062.120 Chrome/37.0.2062.120 Safari/537.36'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] PATH_INFO: '/pages/ololo'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] PATH_TRANSLATED: '/etc/ckan/default/apache.wsgi/pages/ololo'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] REMOTE_ADDR: '127.0.0.1'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] REMOTE_PORT: '47557'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] REMOTE_USER: u'admin'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] REMOTE_USER_DATA: 'userid_type:unicode'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] REMOTE_USER_TOKENS: ['']
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] REQUEST_METHOD: 'GET'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] REQUEST_URI: '/pages/ololo'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] SCRIPT_FILENAME: '/etc/ckan/default/apache.wsgi'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] SERVER_ADDR: '127.0.0.1'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] SERVER_ADMIN: '[no address given]'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] SERVER_NAME: 'localhost'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] SERVER_PORT: '80'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] SERVER_PROTOCOL: 'HTTP/1.0'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] SERVER_SIGNATURE: '<address>Apache/2.2.22 (Ubuntu) Server at localhost Port 80</address>\\n'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] SERVER_SOFTWARE: 'Apache/2.2.22 (Ubuntu)'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1]
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1]
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] WSGI Variables
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] --------------
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] application: <fanstatic.publisher.Delegator object at 0x7f2496d58cd0>
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] beaker.cache: <beaker.cache.CacheManager object at 0x7f2496d58d90>
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7f2496d4e7d0>>
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] beaker.session: {'_accessed_time': 1439970257.00985, '_creation_time': 1439969590.676404}
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] fanstatic.needed: <fanstatic.core.NeededResources object at 0x7f2480b17ed0>
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] mod_wsgi.application_group: 'default.ckanhosted.com|'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] mod_wsgi.callable_object: 'application'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] mod_wsgi.handler_script: ''
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] mod_wsgi.input_chunked: '0'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] mod_wsgi.listener_host: ''
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] mod_wsgi.listener_port: '8080'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] mod_wsgi.process_group: 'ckan_default'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] mod_wsgi.request_handler: 'wsgi-script'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] mod_wsgi.script_reloading: '1'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] mod_wsgi.version: (3, 3)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] paste.cookies: (<SimpleCookie: auth_tkt='9b890bc4cb05ac7c0bca8e3237d01ae655d33650admin!userid_type:unicode' ckan='c091f0d1894df0e28e771566875b8e5c0b26d6ead1b5d0aaa4d344a296c63ce4effb35db'>, 'auth_tkt="9b890bc4cb05ac7c0bca8e3237d01ae655d33650admin!userid_type:unicode"; ckan=c091f0d1894df0e28e771566875b8e5c0b26d6ead1b5d0aaa4d344a296c63ce4effb35db')
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] paste.registry: <paste.registry.Registry object at 0x7f24881e0390>
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] paste.throw_errors: True
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] pylons.action_method: <bound method PagesController.pages_show of <ckanext.pages.controller.PagesController object at 0x7f2480b225d0>>
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] pylons.controller: <ckanext.pages.controller.PagesController object at 0x7f2480b225d0>
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] pylons.pylons: <pylons.util.PylonsContext object at 0x7f2480b22450>
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] pylons.routes_dict: {'action': u'pages_show', 'controller': u'ckanext.pages.controller:PagesController', 'page': u'/ololo'}
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] repoze.who.api: <repoze.who.api.API object at 0x7f24881e0dd0>
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] repoze.who.identity: <repoze.who identity (hidden, dict-like) at 139794877438816>
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] repoze.who.logger: <logging.Logger object at 0x7f2496d58690>
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] repoze.who.plugins: {'ckan.lib.authenticator:UsernamePasswordAuthenticator': <ckan.lib.authenticator.UsernamePasswordAuthenticator object at 0x7f2496f36250>, 'friendlyform': <FriendlyFormPlugin 139795128086416>, 'auth_tkt': <CkanAuthTktCookiePlugin 139795128083344>}
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] routes.route: <routes.route.Route object at 0x7f24974c5210>
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] routes.url: <routes.util.URLGenerator object at 0x7f2480b22b10>
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] webob._parsed_query_vars: (GET([]), '')
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] webob.adhoc_attrs: {'response': <Response at 0x7f2480b222d0 200 OK>, 'language': 'en-us'}
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] wsgi process: 'Multi process AND threads (?)'
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] wsgi.file_wrapper: <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f24880fc990>
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] wsgi.version: (1, 1)
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7f2480b22b10>, {'action': u'pages_show', 'controller': u'ckanext.pages.controller:PagesController', 'page': u'/ololo'})
[Wed Aug 19 10:44:17 2015] [error] [client 127.0.0.1] ------------------------------------------------------------
[Wed Aug 19 10:44:17 2015] [error] 2015-08-19 10:44:17,063 INFO [ckan.lib.base] /pages/ololo render time 0.052 seconds
[Wed Aug 19 10:44:17 2015] [error] 2015-08-19 10:44:17,113 INFO [ckan.lib.base] /api/i18n/en render time 0.001 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment