
#14874: Trac: TypeError: can't compare datetime.datetime to str -------------------------------------+------------------------------------- Reporter: sjakobi | Owner: hvr Type: bug | Status: new Priority: normal | Milestone: Component: Trac & Git | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by sjakobi): The following workaround was suggested in https://trac.edgewall.org/ticket/12029#comment:14:
Trac doesn't expect NULL in changetime column, which is lead by issue in first version of sourceforge2trac.py.
Please update changetime column with value of time column for records which have NULL in the changetime column. {{{#!sql UPDATE ticket SET changetime = time WHERE changetime IS NULL }}}
-- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14874#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler