[viewvc-users] svn query not working
DEV Bornali <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <7BA20F0488D26E4CB6B33E6E69332CA9019A86B91204@COREXC01.corp.rta.nsw.gov.au> |
Hi,
I am using Python2.7 on windows server 2008 (64 bit) and apache web server 2.2
I've installed viewvc and it seems to be working correctly (i can see the files, and even do a diff) except for one thing: the 'Query Revision history'.
For that I have followed the instruction in <VIEWVC_INSTALLATION_DIRECTORY>\INSTALL under "SQL CHECKIN DATABASE" for SVN (the db got created in mysql and publishing svn commits to db was successful)
have this in viewvc.conf:
enabled = 1
host = TMB-S6-BuildSrv
port = 3306
database_name = ViewVC
user = root
passwd = mypasswd
readonly_user =
readonly_passwd =
row_limit = 1000
Once i click on the link of 'query revision History', I am able to enter the query details, but see the following
Python Traceback
Traceback (most recent call last):
File "D:\viewvc-1.0.12\lib\viewvc.py", line 3761, in main
request.run_viewvc()
File "D:\viewvc-1.0.12\lib\viewvc.py", line 399, in run_viewvc
self.view_func(self)
File "D:\viewvc-1.0.12\lib\viewvc.py", line 3480, in view_query
db = cvsdb.ConnectDatabaseReadOnly(request.cfg)
File "D:\viewvc-1.0.12\lib\cvsdb.py", line 690, in ConnectDatabaseReadOnly
return ConnectDatabase(cfg, 1)
File "D:\viewvc-1.0.12\lib\cvsdb.py", line 686, in ConnectDatabase
db.Connect()
File "D:\viewvc-1.0.12\lib\cvsdb.py", line 47, in Connect
self._host, self._port, self._user, self._passwd, self._database)
File "D:\viewvc-1.0.12\lib\dbi.py", line 63, in connect
return MySQLdb.connect(host=host, port=port, user=user, passwd=passwd, db=db)
File "C:\Python27\lib\site-packages\MySQLdb\__init__.py", line 81, in Connect
return Connection(*args, **kwargs)
File "C:\Python27\lib\site-packages\MySQLdb\connections.py", line 187, in __init__
super(Connection, self).__init__(*args, **kwargs2)
OperationalError: (1045, "Access denied for user 'ODBC'@'TMB-S6-BuildSrv'<mailto:'ODBC'@'TMB-S6-BuildSrv'> (using password: NO)")
While the error.log of apache has the following
C:\Program Files (x86)\Apache Software Foundation\Apache2.2\logs
[Fri Apr 08 15:58:20 2011] [error] [client 166.66.66.64 (20025)The given path contained wildcard characters: access to /*docroot*/styles.css failed, referer: http://166.66.66.66:88/
[Fri Apr 08 15:58:20 2011] [error] [client 166.66.66.64 (20025)The given path contained wildcard characters: access to /*docroot*/images/logo.png failed, referer: http://166.66.66.66:88/
[Fri Apr 08 15:58:20 2011] [error] [client 166.66.66.64 (20025)The given path contained wildcard characters: access to /*docroot*/images/dir.png failed, referer: http://166.66.66.66:88/
[Fri Apr 08 15:58:20 2011] [error] [client 166.66.66.64 File does not exist: C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
[Fri Apr 08 15:58:24 2011] [error] [client 166.66.66.64 (20025)The given path contained wildcard characters: access to /*docroot*/images/feed-icon-16x16.jpg failed, referer: http://166.66.66.66:88/viewvc.cgi/ashkel/
[Fri Apr 08 15:58:24 2011] [error] [client 166.66.66.64 (20025)The given path contained wildcard characters: access to /*docroot*/images/up.png failed, referer: http://166.66.66.66:88/viewvc.cgi/ashkel/
[Fri Apr 08 15:58:24 2011] [error] [client 166.66.66.64 File does not exist: C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
[Fri Apr 08 15:58:26 2011] [error] [client 166.66.66.64 File does not exist: C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
[Fri Apr 08 15:58:30 2011] [error] [client 166.66.66.64 File does not exist: C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
and this is the content of access.log of apache
163.189.18.126 - - [08/Apr/2011:16:21:07 +1000] "GET /viewvc.cgi/ashkel/head/?view=query&dir=&file=&file_match=exact&who=standishr&who_match=exact&querysort=date&hours=2&date=week&mindate=&maxdate=&limit_changes=100 HTTP/1.1" 200 1629
Can you please tell me what I might be doing wrong?
thank you,
BD
Before printing, please consider the environment.
IMPORTANT NOTICE: This e-mail and any attachment to it are intended only to be read or used by the named addressee. It is confidential and may contain legally privileged information. No confidentiality or privilege is waived or lost by any mistaken transmission to you. The RTA is not responsible for any unauthorised alterations to this e-mail or attachment to it. Views expressed in this message are those of the individual sender, and are not necessarily the views of the RTA. If you receive this e-mail in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient.
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2717993
To unsubscribe from this discussion, e-mail: [[email protected]].