trac-hacks / tracstats

Project and source code statistics plugin for Trac.
http://trac-hacks.org/wiki/TracStatsPlugin
Other
20 stars 13 forks source link

Postgres problem #6

Closed kirean closed 14 years ago

kirean commented 14 years ago

Got this when trying to access the stats:

Trac detected an internal error: OperationalError: ERROR: function strftime(unknown, integer, unknown) does not exist LINE 2: select strftime('%Y-%W', time, 'unixepoch'), ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts.

System Information:

User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5

Trac: 0.11.7rc1 Python: 2.5.2 (r252:60911, Jan 24 2010, 15:24:24) [GCC 4.3.2] setuptools: 0.6c11 pyPgSQL: 2.5.1 Genshi: 0.5.1 mod_wsgi: 2.5 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL}) Pygments: 0.10 Bitten: 0.6dev-r816 RPC: 1.0.6 Subversion: 1.5.1 (r32289) jQuery: 1.4.2

mrjbq7 commented 14 years ago

This should now be fixed. Please try again.

mrjbq7 commented 14 years ago

I am closing this as fixed.