#7295 closed defect (invalid)
Custom Query crashes with Postgres setup
Reported by: | Owned by: | Matthew Good | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | report system | Version: | 0.12dev |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Every time I click on Custom Query I get the following server error (from my apache error log):
I'm using a postgres:// database so why is it looking for the MySQLd module?
[Mon Jun 02 14:36:23 2008] [error] [client 192.168.1.210] Traceback (most recent call last):, referer: http://trac.test.com/report/1 [Mon Jun 02 14:36:23 2008] [error] [client 192.168.1.210] File "/usr/local/viewvc/bin/cgi/query.cgi", line 53, in ?, referer: http://trac.test.com/report/1 [Mon Jun 02 14:36:23 2008] [error] [client 192.168.1.210] import query, referer: http://trac.test.com/report/1 [Mon Jun 02 14:36:23 2008] [error] [client 192.168.1.210] File "/usr/local/viewvc-1.0.4/lib/query.py", line 26, in ?, referer: http://trac.test.com/report/1 [Mon Jun 02 14:36:23 2008] [error] [client 192.168.1.210] import cvsdb, referer: http://trac.test.com/report/1 [Mon Jun 02 14:36:23 2008] [error] [client 192.168.1.210] File "/usr/local/viewvc-1.0.4/lib/cvsdb.py", line 20, in ?, referer: http://trac.test.com/report/1 [Mon Jun 02 14:36:23 2008] [error] [client 192.168.1.210] import dbi, referer: http://trac.test.com/report/1 [Mon Jun 02 14:36:23 2008] [error] [client 192.168.1.210] File "/usr/local/viewvc-1.0.4/lib/dbi.py", line 18, in ?, referer: http://trac.test.com/report/1 [Mon Jun 02 14:36:23 2008] [error] [client 192.168.1.210] import MySQLdb, referer: http://trac.test.com/report/1 [Mon Jun 02 14:36:23 2008] [error] [client 192.168.1.210] ImportError: No module named MySQLdb, referer: http://trac.test.com/report/1 [Mon Jun 02 14:36:23 2008] [error] [client 192.168.1.210] Premature end of script headers: query.cgi, referer: http://trac.test.com/report/1
Attachments (0)
Change History (3)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
One more time:
[Mon Jun 02 14:31:56 2008] [error] [client 68.179.122.210] import cvsdb, referer: http://trac.gandinnovations.com/report/15?action=edit [Mon Jun 02 14:31:56 2008] [error] [client 68.179.122.210] File "/usr/local/viewvc-1.0.4/lib/cvsdb.py", line 20, in ?, referer: http://trac.gandinnovations.com/report/15?action=edit [Mon Jun 02 14:31:56 2008] [error] [client 68.179.122.210] import dbi, referer: http://trac.gandinnovations.com/report/15?action=edit [Mon Jun 02 14:31:56 2008] [error] [client 68.179.122.210] File "/usr/local/viewvc-1.0.4/lib/dbi.py", line 18, in ?, referer: http://trac.gandinnovations.com/report/15?action=edit [Mon Jun 02 14:31:56 2008] [error] [client 68.179.122.210] import MySQLdb, referer: http://trac.gandinnovations.com/report/15?action=edit [Mon Jun 02 14:31:56 2008] [error] [client 68.179.122.210] ImportError: No module named MySQLdb, referer: http://trac.gandinnovations.com/report/15?action=edit [Mon Jun 02 14:31:56 2008] [error] [client 68.179.122.210] Premature end of script headers: query.cgi, referer: http://trac.gandinnovations.com/report/15?action=edit [Mon Jun 02 14:36:23 2008] [error] [client 68.179.122.210] Traceback (most recent call last):, referer: http://trac.gandinnovations.com/report/1 [Mon Jun 02 14:36:23 2008] [error] [client 68.179.122.210] File "/usr/local/viewvc/bin/cgi/query.cgi", line 53, in ?, referer: http://trac.gandinnovations.com/report/1 [Mon Jun 02 14:36:23 2008] [error] [client 68.179.122.210] import query, referer: http://trac.gandinnovations.com/report/1 [Mon Jun 02 14:36:23 2008] [error] [client 68.179.122.210] File "/usr/local/viewvc-1.0.4/lib/query.py", line 26, in ?, referer: http://trac.gandinnovations.com/report/1 [Mon Jun 02 14:36:23 2008] [error] [client 68.179.122.210] import cvsdb, referer: http://trac.gandinnovations.com/report/1 [Mon Jun 02 14:36:23 2008] [error] [client 68.179.122.210] File "/usr/local/viewvc-1.0.4/lib/cvsdb.py", line 20, in ?, referer: http://trac.gandinnovations.com/report/1 [Mon Jun 02 14:36:23 2008] [error] [client 68.179.122.210] import dbi, referer: http://trac.gandinnovations.com/report/1 [Mon Jun 02 14:36:23 2008] [error] [client 68.179.122.210] File "/usr/local/viewvc-1.0.4/lib/dbi.py", line 18, in ?, referer: http://trac.gandinnovations.com/report/1 [Mon Jun 02 14:36:23 2008] [error] [client 68.179.122.210] import MySQLdb, referer: http://trac.gandinnovations.com/report/1 [Mon Jun 02 14:36:23 2008] [error] [client 68.179.122.210] ImportError: No module named MySQLdb, referer: http://trac.gandinnovations.com/report/1 [Mon Jun 02 14:36:23 2008] [error] [client 68.179.122.210] Premature end of script headers: query.cgi, referer: http://trac.gandinnovations.com/report/1
comment:3 by , 16 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
This traceback is from viewvc and not Trac.
Sorry for the bad formatting, hope this fixes it: