[uWSGI] getting INI configuration from production.ini *** Starting uWSGI 2.0.6 (64bit) on [Sat Aug 30 15:25:51 2014] *** compiled with version: 4.6.3 on 30 August 2014 10:42:14 os: Linux-3.2.0-61-generic #92-Ubuntu SMP Mon Mar 31 23:47:59 UTC 2014 nodename: iontrap machine: x86_64 clock source: unix detected number of CPU cores: 4 current working directory: /home/iontrap/kallithea detected binary path: /usr/local/bin/uwsgi !!! no internal routing support, rebuild with pcre support !!! your processes number limit is 39564 your memory page size is 4096 bytes detected max file descriptor number: 1024 lock engine: pthread robust mutexes thunder lock: disabled (you can enable it with --thunder-lock) uWSGI http bound on :5001 fd 3 uwsgi socket 0 bound to UNIX address /tmp/kallithea.sock fd 6 Python version: 2.7.3 (default, Feb 27 2014, 20:09:21) [GCC 4.6.3] Set PythonHome to /home/iontrap/kallithea *** Python threads support is disabled. You can enable it with --enable-threads *** Python main interpreter initialized at 0x25fa1f0 your server socket listen backlog is limited to 100 connections your mercy for graceful operations on workers is 60 seconds mapped 363840 bytes (355 KB) for 4 cores *** Operational MODE: preforking *** Loading paste environment: config:/home/iontrap/kallithea/production.ini WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x25fa1f0 pid: 20494 (default app) *** uWSGI is running in multiple interpreter mode *** spawned uWSGI master process (pid: 20494) spawned uWSGI worker 1 (pid: 20505, cores: 1) spawned uWSGI worker 2 (pid: 20506, cores: 1) spawned uWSGI worker 3 (pid: 20507, cores: 1) spawned uWSGI worker 4 (pid: 20508, cores: 1) spawned uWSGI http 1 (pid: 20509) Error - : 'name' must be bytestring, not unicode URL: http://iontrap.phys.au.dk:5001/iontrap/address_list/changeset/790b5fb99094ad459e4e572c68a04b05a1b630bf File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/weberror/errormiddleware.py', line 162 in __call__ app_iter = self.application(environ, sr_checker) File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/beaker/middleware.py', line 155 in __call__ return self.wrap_app(environ, session_start_response) File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__ response = self.app(environ, start_response) File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 107 in __call__ response = self.dispatch(controller, environ, start_response) File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 312 in dispatch return controller(environ, start_response) File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/kallithea/lib/base.py', line 383 in __call__ return WSGIController.__call__(self, environ, start_response) File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 211 in __call__ response = self._dispatch_call() File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 162 in _dispatch_call response = self._inspect_call(func) File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 105 in _inspect_call result = self._perform_call(func, args) File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 57 in _perform_call return func(**args) File '', line 2 in index File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/kallithea/lib/auth.py', line 776 in __wrapper return func(*fargs, **fkwargs) File '', line 2 in index File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/kallithea/lib/auth.py', line 835 in __wrapper return func(*fargs, **fkwargs) File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/kallithea/controllers/changeset.py', line 325 in index return self._index(revision, method=method) File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/kallithea/controllers/changeset.py', line 313 in _index return render('changeset/changeset.html') File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/pylons/templating.py', line 243 in render_mako cache_type=cache_type, cache_expire=cache_expire) File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/pylons/templating.py', line 218 in cached_template return render_func() File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/pylons/templating.py', line 240 in render_template return literal(template.render_unicode(**globs)) File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/mako/template.py', line 452 in render_unicode as_unicode=True) File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/mako/runtime.py', line 803 in _render **_kwargs_for_callable(callable_, data)) File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/mako/runtime.py', line 835 in _render_context _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/mako/runtime.py', line 855 in _exec_template _render_error(template, context, compat.exception_as()) File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/mako/runtime.py', line 864 in _render_error result = template.error_handler(context, error) File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/mako/runtime.py', line 853 in _exec_template callable_(context, *args, **kwargs) File '/home/iontrap/kallithea/data/templates/base/root.html.py', line 44 in render_body __M_writer(escape(next.body())) File '/home/iontrap/kallithea/data/templates/base/base.html.py', line 55 in render_body __M_writer(escape(next.main())) File '/home/iontrap/kallithea/data/templates/changeset/changeset.html.py', line 114 in render_main if (len(c.changeset.affected_files) <= c.affected_files_cut_off) or c.fulldiff: File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/kallithea/lib/vcs/utils/lazy.py', line 40 in __get__ value = self._func(obj) File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/kallithea/lib/vcs/backends/git/changeset.py', line 467 in affected_files added, modified, deleted = self._changes_cache File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/kallithea/lib/vcs/utils/lazy.py', line 40 in __get__ value = self._func(obj) File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/kallithea/lib/vcs/backends/git/changeset.py', line 495 in _changes_cache changes = _r.object_store.tree_changes(oid, _r[self.raw_id].tree) File '/home/iontrap/kallithea/local/lib/python2.7/site-packages/dulwich/repo.py', line 444 in __getitem__ type(name).__name__) TypeError: 'name' must be bytestring, not unicode CGI Variables ------------- CONTENT_TYPE: '; charset="utf-8"' HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' HTTP_ACCEPT_ENCODING: 'gzip, deflate' HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.5' HTTP_CONNECTION: 'keep-alive' HTTP_COOKIE: '__utma=1.146985029.1377392676.1383326907.1388394728.22; __utma=137353512.1974064014.1405761940.1406828061.1409391530.5; __utmz=137353512.1405761940.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.2.146985029.1377392676; allow_cookies=true; kallithea=4e038ca48243f646cdaaf2aee86bd2c7f403b56c575588eaa7714f628d5e3e9fe87c2ea4; rhodecode=2382580b7fd941c986a929a88b6f0dec; _gitlab_session=a89f6c7e86737c0dbcd1815bdc071fd8; dashboard_sidebar_filter=sidebar-groups-tab; __utmc=137353512; smarter-navigation[query]=%5B%5D; smarter-navigation[url]=https%3A%2F%2Fiontrap.phys.au.dk%2Fblog%2F; request_method=GET' HTTP_HOST: 'iontrap.phys.au.dk:5001' HTTP_REFERER: 'http://iontrap.phys.au.dk:5001/iontrap/address_list' HTTP_USER_AGENT: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0' PATH_INFO: '/iontrap/address_list/changeset/790b5fb99094ad459e4e572c68a04b05a1b630bf' REMOTE_ADDR: '10.12.72.10' REMOTE_PORT: '23961' REQUEST_METHOD: 'GET' REQUEST_URI: '/iontrap/address_list/changeset/790b5fb99094ad459e4e572c68a04b05a1b630bf' SERVER_NAME: 'iontrap' SERVER_PORT: '5001' SERVER_PROTOCOL: 'HTTP/1.1' UWSGI_ROUTER: 'http' WSGI Variables -------------- application: beaker.get_session: > beaker.session: {'_authentication_token': 'be5a82a3f705042f86535b3cfc637254f17f393a', 'authuser': {'username': u'iontrap', 'is_authenticated': True, 'user_id': 2}, '_accessed_time': 1409405156.491647, '_creation_time': 1409388191.472012} paste.registry: paste.throw_errors: True pylons.action_method: > pylons.controller: pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'} pylons.pylons: pylons.routes_dict: {'action': u'index', 'controller': u'changeset', 'revision': u'790b5fb99094ad459e4e572c68a04b05a1b630bf', 'repo_name': u'iontrap/address_list'} routes.cached_hostinfo: {'host': 'iontrap.phys.au.dk:5001', 'protocol': 'http'} routes.route: routes.url: uwsgi.node: 'iontrap' uwsgi.version: '2.0.6' webob._parsed_query_vars: (GET([]), '') webob.adhoc_attrs: {'user': , 'language': 'en-us'} wsgi process: 'Multiprocess' wsgi.file_wrapper: wsgiorg.routing_args: (, {'action': u'index', 'controller': u'changeset', 'revision': u'790b5fb99094ad459e4e572c68a04b05a1b630bf', 'repo_name': u'iontrap/address_list'}) ------------------------------------------------------------ [pid: 20507|app: 0|req: 1/1] 10.12.72.10 () {38 vars in 1361 bytes} [Sat Aug 30 15:25:56 2014] GET /iontrap/address_list/changeset/790b5fb99094ad459e4e572c68a04b05a1b630bf => generated 742 bytes in 285 msecs (HTTP/1.1 500) 5 headers in 166 bytes (2 switches on core 0) [pid: 20508|app: 0|req: 1/2] 10.12.72.10 () {38 vars in 1261 bytes} [Sat Aug 30 15:25:56 2014] GET /css/contextbar.css => generated 2808 bytes in 7 msecs (HTTP/1.1 200) 7 headers in 221 bytes (1 switches on core 0) [pid: 20505|app: 0|req: 1/3] 10.12.72.10 () {38 vars in 1251 bytes} [Sat Aug 30 15:25:56 2014] GET /css/style.css => generated 24506 bytes in 38 msecs (HTTP/1.1 200) 7 headers in 225 bytes (1 switches on core 0) SIGINT/SIGQUIT received...killing workers... gateway "uWSGI http 1" has been buried (pid: 20509) worker 1 buried after 1 seconds worker 2 buried after 1 seconds worker 3 buried after 1 seconds worker 4 buried after 1 seconds goodbye to uWSGI.