[viewvc-dev] sometimes query db goes wacky
Mark <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.devel |
|---|---|
| Message-ID | <[email protected]> |
Sometimes, I stop being able to query about a certain repository
beyond a certain date in the past. I get this:
An Exception Has Occurred
Python Traceback
Traceback (most recent call last):
File "/opt/viewvc-1.0.4/lib/viewvc.py", line 3665, in main
request.run_viewvc()
File "/opt/viewvc-1.0.4/lib/viewvc.py", line 388, in run_viewvc
self.view_func(self)
File "/opt/viewvc-1.0.4/lib/viewvc.py", line 3482, in view_query
commits.append(build_commit(request, files, limited_files, dir_strip))
File "/opt/viewvc-1.0.4/lib/viewvc.py", line 3308, in build_commit
file=request.server.escape(f.GetFile()),
File "/opt/viewvc-1.0.4/lib/sapi.py", line 165, in escape
return cgi.escape(s, quote)
File "/usr/lib/python2.2/cgi.py", line 1024, in escape
s = s.replace("&", "&") # Must be done first!
AttributeError: 'NoneType' object has no attribute 'replace'
Not sure how or why it happens, but if I wipe the info on the
repository out of the query db and then reload it, things are happy
again. Any hints?
--
Mark
"Blessed is he who finds happiness in his own foolishness, for he will
always be happy."
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]