1. Marcin Kuzminski
  2. RhodeCode

Issues

Issue #724 resolved

WebApp Error: <type 'exceptions.TypeError'>: can't compare datetime.datetime to NoneType

Engineer Build
created an issue

After updating from 1.3.6 to 1.5.1 version with enabled option "Use lightweight dashboard" it isn't open repositories group with exception in browser "500 Internal Server Error" and such exceptions in log:

2013-01-11 14:19:53.989 INFO  [rhodecode.lib.base] IP: <my ip> User: <AuthUser('id:2:<user>|True')> accessed /repo
2013-01-11 14:19:53.989 INFO  [rhodecode.lib.auth] user <user> is authenticated and granted access to ReposGroupsController:__before__ using RegularAuth
2013-01-11 14:19:54.003 INFO  [rhodecode.lib.base] IP: <my ip> Request to /repo time: 0.068s
Error - <type 'exceptions.TypeError'>: can't compare datetime.datetime to NoneType
2013-01-11 14:19:54.340 INFO  [rhodecode.lib.base] IP: <my ip> User: <AuthUser('id:2:<user>|True')> accessed /repo
2013-01-11 14:19:54.342 INFO  [rhodecode.lib.base] IP: <my ip> Request to /repo time: 0.058s
2013-01-11 14:22:10.765 INFO  [rhodecode.lib.base] IP: <my ip> User: <AuthUser('id:2:<user>|True')> accessed /_admin/settings
2013-01-11 14:22:10.765 INFO  [rhodecode.lib.auth] user <user> is authenticated and granted access to SettingsController:__before__ using RegularAuth
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
2013-01-11 14:22:10.774 WARNI [rhodecode.lib.utils] Unable to detect git version org error was:'/bin/sh: git: command not found\n'
2013-01-11 14:22:10.900 INFO  [rhodecode.lib.base] IP: <my ip> Request to /_admin/settings time: 0.186s

If to disable this option it show me only 5 first groups of repositories ot 5 latest if to change sorting. Checked under IE9 and Chrome.

My config file is attached.

Comments (3)

  1. Engineer Build reporter

    Thank you for this command! I tried it but it wasn't help me. I have recreated data base - it help. But with disabled Use lightweight dashboard it still isn't show all groups of repositories.

  2. Log in to comment