Error - : can't compare datetime.datetime to NoneType URL: http://127.0.0.1:5000/groupserver File '...kallithea/local/lib/python2.7/site-packages/weberror/errormiddleware.py', line 162 in __call__ app_iter = self.application(environ, sr_checker) File '...kallithea/local/lib/python2.7/site-packages/beaker/middleware.py', line 155 in __call__ return self.wrap_app(environ, session_start_response) File '...kallithea/local/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__ response = self.app(environ, start_response) File '...kallithea/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 107 in __call__ response = self.dispatch(controller, environ, start_response) File '...kallithea/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 312 in dispatch return controller(environ, start_response) File '...kallithea/local/lib/python2.7/site-packages/kallithea/lib/base.py', line 383 in __call__ return WSGIController.__call__(self, environ, start_response) File '...kallithea/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 211 in __call__ response = self._dispatch_call() File '...kallithea/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 162 in _dispatch_call response = self._inspect_call(func) File '...kallithea/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 105 in _inspect_call result = self._perform_call(func, args) File '...kallithea/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 57 in _perform_call return func(**args) File '...kallithea/local/lib/python2.7/site-packages/kallithea/controllers/admin/repo_groups.py', line 322 in show_by_name return self.show(group_name) File '', line 2 in show File '...kallithea/local/lib/python2.7/site-packages/kallithea/lib/auth.py', line 841 in __wrapper return func(*fargs, **fkwargs) File '...kallithea/local/lib/python2.7/site-packages/kallithea/controllers/admin/repo_groups.py', line 348 in show admin=False) File '...kallithea/local/lib/python2.7/site-packages/kallithea/model/repo.py', line 241 in get_repos_as_dict "last_change": last_change(repo.last_db_change), File '...kallithea/local/lib/python2.7/site-packages/kallithea/model/repo.py', line 198 in last_change return _render("last_change", last_change) File '...kallithea/local/lib/python2.7/site-packages/kallithea/model/repo.py', line 176 in _render_datatable return tmpl.render(*args, **kwargs) File '...kallithea/local/lib/python2.7/site-packages/mako/template.py', line 443 in render return runtime._render(self, self.callable_, args, data) File '...kallithea/local/lib/python2.7/site-packages/mako/runtime.py', line 803 in _render **_kwargs_for_callable(callable_, data)) File '...kallithea/local/lib/python2.7/site-packages/mako/runtime.py', line 839 in _render_context _exec_template(callable_, context, args=args, kwargs=kwargs) File '...kallithea/local/lib/python2.7/site-packages/mako/runtime.py', line 855 in _exec_template _render_error(template, context, compat.exception_as()) File '...kallithea/local/lib/python2.7/site-packages/mako/runtime.py', line 864 in _render_error result = template.error_handler(context, error) File '...kallithea/local/lib/python2.7/site-packages/mako/runtime.py', line 853 in _exec_template callable_(context, *args, **kwargs) File '...kallithea/data/templates/data_table/_dt_elements.html.py', line 400 in render_last_change __M_writer(escape(h.age(last_change))) File '...kallithea/local/lib/python2.7/site-packages/kallithea/lib/helpers.py', line 428 in age = lambda x, y=False: _age(x, y) File '...kallithea/local/lib/python2.7/site-packages/kallithea/lib/utils2.py', line 374 in age if prevdate > now: TypeError: can't compare datetime.datetime to NoneType 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-NZ,en-AU;q=0.9,en-CA;q=0.8,en-GB;q=0.7,en;q=0.6,fr-FR;q=0.4,fr-BE;q=0.3,fr-CA;q=0.2,fr;q=0.1' HTTP_CONNECTION: 'keep-alive' HTTP_COOKIE: 'kallithea=e11b242bd40a3a4cf1a91b18eb00f5d0a20c7014be1f8691929e46f3a34b5a78552f090e' HTTP_DNT: '1' HTTP_HOST: '127.0.0.1:5000' HTTP_REFERER: 'http://127.0.0.1:5000/' HTTP_USER_AGENT: 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0' PATH_INFO: '/groupserver' REMOTE_ADDR: '184.66.157.37' REQUEST_METHOD: 'GET' SERVER_NAME: 'kallithea.example.com' SERVER_PORT: '5000' SERVER_PROTOCOL: 'HTTP/1.1' SERVER_SOFTWARE: 'waitress' WSGI Variables -------------- application: beaker.get_session: > beaker.session: {'_authentication_token': '96787426991194911041020717762759415574', 'authuser': {'username': u'mpj17', 'is_authenticated': True, 'user_id': 2}, '_accessed_time': 1432224692.269934, '_creation_time': 1432166856.276336} 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'show_by_name', 'controller': u'admin/repo_groups', 'group_name': u'groupserver'} routes.route: routes.url: webob._parsed_query_vars: (GET([]), '') webob.adhoc_attrs: {'user': , 'language': 'en-us'} wsgi process: 'Multithreaded' wsgi.file_wrapper: wsgiorg.routing_args: (, {'action': u'show_by_name', 'controller': u'admin/repo_groups', 'group_name': u'groupserver'}) ------------------------------------------------------------