This is because we're trying to snapshot a repository with >1000 (in fact currently 42566) refs. We should only snapshot the fields we need.
ShortListTooBigError: Hard limit of 1000 exceeded.
Traceback (most recent call last):
Module zope.publisher.publish, line 132, in publish
result = publication.callObject(request, obj)
Module lp.services.webapp.publication, line 463, in callObject
return mapply(ob, request.getPositionalArguments(), request)
Module zope.publisher.publish, line 107, in mapply
return debug_call(obj, args)
- __traceback_info__: <security proxied zope.browserpage.metaconfigure.SimpleViewClass from /srv/launchpad.net/production/launchpad-rev-17838/lib/lp/code/browser/../templates/gitrepository-edit.pt instance at 0x2b692907fc10>
Module zope.publisher.publish, line 113, in debug_call
return obj(*args)
Module lp.services.webapp.publisher, line 438, in __call__
self.initialize()
Module lp.app.browser.launchpadform, line 136, in initialize
self.form_result = form_action.success(data)
Module zope.formlib.form, line 620, in success
return self.success_handler(self.form, self, data)
Module lp.code.browser.gitrepository, line 356, in change_action
self.context, providing=providedBy(self.context))
Module lazr.lifecycle.snapshot, line 90, in __init__
value, ISnapshotValueFactory, default=_marker)
Module zope.component._api, line 102, in queryAdapter
return adapter_hook(interface, object, name, default)
Module zope.component.hooks, line 104, in adapter_hook
return siteinfo.adapter_hook(interface, object, name, default)
Module lp.services.webapp.snapshot, line 25, in snapshot_sql_result
value, longest_expected=100, hardlimit=HARD_LIMIT_FOR_SNAPSHOT)
Module lp.services.helpers, line 175, in shortlist
'Hard limit of %d exceeded.' % hardlimit)
ShortListTooBigError: Hard limit of 1000 exceeded.
This is because we're trying to snapshot a repository with >1000 (in fact currently 42566) refs. We should only snapshot the fields we need.
ShortListTooB igError: Hard limit of 1000 exceeded.
Traceback (most recent call last): publish, line 132, in publish callObject( request, obj) webapp. publication, line 463, in callObject getPositionalAr guments( ), request) publish, line 107, in mapply e.metaconfigure .SimpleViewClas s from /srv/launchpad. net/production/ launchpad- rev-17838/ lib/lp/ code/browser/ ../templates/ gitrepository- edit.pt instance at 0x2b692907fc10> publish, line 113, in debug_call webapp. publisher, line 438, in __call__ initialize( ) browser. launchpadform, line 136, in initialize form_result = form_action. success( data) handler( self.form, self, data) browser. gitrepository, line 356, in change_action providedBy( self.context) ) snapshot, line 90, in __init__ actory, default=_marker) _api, line 102, in queryAdapter hook(interface, object, name, default) hooks, line 104, in adapter_hook adapter_ hook(interface, object, name, default) webapp. snapshot, line 25, in snapshot_sql_result expected= 100, hardlimit= HARD_LIMIT_ FOR_SNAPSHOT) helpers, line 175, in shortlist Error: Hard limit of 1000 exceeded.
Module zope.publisher.
result = publication.
Module lp.services.
return mapply(ob, request.
Module zope.publisher.
return debug_call(obj, args)
- __traceback_info__: <security proxied zope.browserpag
Module zope.publisher.
return obj(*args)
Module lp.services.
self.
Module lp.app.
self.
Module zope.formlib.form, line 620, in success
return self.success_
Module lp.code.
self.context, providing=
Module lazr.lifecycle.
value, ISnapshotValueF
Module zope.component.
return adapter_
Module zope.component.
return siteinfo.
Module lp.services.
value, longest_
Module lp.services.
'Hard limit of %d exceeded.' % hardlimit)
ShortListTooBig