Opened 15 years ago

Closed 16 months 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



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/", line 387, in dispatch_request
  File "/var/lib/python-support/python2.5/trac/web/", line 191, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/var/lib/python-support/python2.5/trac/web/", line 263, in _pre_process_request
    chosen_handler = f.pre_process_request(req, chosen_handler)
  File "/var/lib/python-support/python2.5/trac/versioncontrol/", 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/", line 101, in get_repository
    repos = self._connector.get_repository(rtype, rdir, authname)
  File "build/bdist.linux-i686/egg/p4trac/", line 163, in get_repository
  File "build/bdist.linux-i686/egg/p4trac/", line 168, in __init__
    CachedRepository.__init__(self, db, repos, authz, log)
  File "/var/lib/python-support/python2.5/trac/versioncontrol/", line 34, in __init__
  File "build/bdist.linux-i686/egg/p4trac/", line 277, in sync
  File "build/bdist.linux-i686/egg/p4trac/", 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.


Attachments (0)

Change History (1)

comment:1 Changed 16 months ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Plugin is deprecated.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Lewis Baker.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.