Modify ↓
Opened 17 years ago
Closed 3 years ago
#2010 closed enhancement (wontfix)
p4 maxscanrows limit is set, tracp4 should not exit with a stack trace
Reported by: | Owned by: | Lewis Baker | |
---|---|---|---|
Priority: | normal | Component: | PerforcePlugin |
Severity: | normal | Keywords: | tracp4, maxscanrows |
Cc: | Trac Release: | 0.10 |
Description
Hi,
I installed trac and tracp4. However, we have 'p4 maxscanrows' limit set in our company. So whenever I access trac, it fails with the following traceback:
Traceback (most recent call last): File "/var/lib/python-support/python2.5/trac/web/main.py", line 387, in dispatch_request dispatcher.dispatch(req) File "/var/lib/python-support/python2.5/trac/web/main.py", line 191, in dispatch chosen_handler = self._pre_process_request(req, chosen_handler) File "/var/lib/python-support/python2.5/trac/web/main.py", line 263, in _pre_process_request chosen_handler = f.pre_process_request(req, chosen_handler) File "/var/lib/python-support/python2.5/trac/versioncontrol/api.py", line 73, in pre_process_request self.get_repository(req.authname) # triggers a sync if applicable File "/var/lib/python-support/python2.5/trac/versioncontrol/api.py", line 101, in get_repository repos = self._connector.get_repository(rtype, rdir, authname) File "build/bdist.linux-i686/egg/p4trac/api.py", line 163, in get_repository self.log) File "build/bdist.linux-i686/egg/p4trac/api.py", line 168, in __init__ CachedRepository.__init__(self, db, repos, authz, log) File "/var/lib/python-support/python2.5/trac/versioncontrol/cache.py", line 34, in __init__ self.sync() File "build/bdist.linux-i686/egg/p4trac/api.py", line 277, in sync self.updateCache(fromChange=youngestStored+1) File "build/bdist.linux-i686/egg/p4trac/api.py", line 239, in updateCache raise PerforceError(output.errors) PerforceError: Too many rows scanned (over 5000000); see 'p4 help maxscanrows'.
I think tracp4 should catch this error and go on. Aside, in the ini file, the path i've given shouldn't actually give this error.
Please reply if you need any more details or if I should be more clear.
-vikas
Attachments (0)
Note: See
TracTickets for help on using
tickets.
Plugin is deprecated.