Andrew Shadura <[email protected]> schrieb am Mi., 19. Juli 2017 um 18:59 Uhr:
> On 19 July 2017 at 18:48, Dominik Ruf <[email protected]> wrote: > > Okay thanks. I'll look into it. > > Can you tell me a bit more about this? > > Is evolve enabled? > > How did you get to this page? > > Well, I didn't, Google or some other bot did :) The URL is in the > parameters somewhere. > > Evolve is enabled, and there are obsolete changesets in > kallithea-incoming. I'm receiving error reports for this and other > changesets once a couple of hours. > Okay, I see. I think this happens when opening the files pages for a obsolete revision. The question now is to what revision should we jump from a obsolete revision? Or should we include all the obsolete revisons when clicking next? What do you think? Can you check, if removing .filtered('visible') in hg/repository.py#MercurialRepository._get_all_revisions() solves this problem? > > > Andrew Shadura <[email protected]> schrieb am Mi., 19. Juli 2017 um > 11:20 > > Uhr: > >> > >> Hi, > >> > >> Just that you know, there seems to be an unhandled condition in your fix > >> to the obsoletion code. > >> > >> -- > >> Cheers, > >> Andrew > >> > >> > >> > >> ---------- Forwarded message ---------- > >> From: Kallithea Errors <[email protected]> > >> To: [email protected] > >> Cc: > >> Bcc: > >> Date: Wed, 19 Jul 2017 10:56:36 +0200 > >> Subject: WebApp Error: ValueError: > >> '12d262c861ecacc5cf381198e923ab71b70046eb' is not in list > >> TRACEBACK: > >> Traceback (most recent call last): > >> File > >> "/home/hg/.local/lib/python2.7/site-packages/tg/appwrappers/session.py", > >> line 71, in __call__ > >> response = self.next_handler(controller, environ, context) > >> File > >> "/home/hg/.local/lib/python2.7/site-packages/tg/appwrappers/i18n.py", > line > >> 71, in __call__ > >> return self.next_handler(controller, environ, context) > >> File "/home/hg/.local/lib/python2.7/site-packages/tg/wsgiapp.py", line > >> 285, in _dispatch > >> return controller(environ, context) > >> File "/home/hg/kallithea-current-live-instance/kallithea/lib/base.py", > >> line 547, in __call__ > >> return super(BaseController, self).__call__(environ, context) > >> File > >> > "/home/hg/.local/lib/python2.7/site-packages/tg/controllers/dispatcher.py", > >> line 119, in __call__ > >> response = self._perform_call(context) > >> File > >> > "/home/hg/.local/lib/python2.7/site-packages/tg/controllers/dispatcher.py", > >> line 108, in _perform_call > >> r = self._call(action, params, remainder=remainder, context=context) > >> File > >> > "/home/hg/.local/lib/python2.7/site-packages/tg/controllers/decoratedcontroller.py", > >> line 119, in _call > >> output = controller_caller(context_config, > bound_controller_callable, > >> remainder, params) > >> File "/home/hg/.local/lib/python2.7/site-packages/tg/decorators.py", > >> line 44, in _decorated_controller_caller > >> return application_controller_caller(tg_config, controller, > remainder, > >> params) > >> File > >> > "/home/hg/.local/lib/python2.7/site-packages/tg/configuration/app_config.py", > >> line 127, in call_controller > >> return controller(*remainder, **params) > >> File "<decorator-gen-34>", line 2, in index > >> > >> File "/home/hg/kallithea-current-live-instance/kallithea/lib/auth.py", > >> line 807, in __wrapper > >> return func(*fargs, **fkwargs) > >> File "<decorator-gen-33>", line 2, in index > >> > >> File "/home/hg/kallithea-current-live-instance/kallithea/lib/auth.py", > >> line 852, in __wrapper > >> return func(*fargs, **fkwargs) > >> File > >> > "/home/hg/kallithea-current-live-instance/kallithea/controllers/files.py", > >> line 145, in index > >> prev_rev = > >> c.db_repo_scm_instance.get_changeset(cur_rev).prev(c.branch) > >> File > >> > "/home/hg/kallithea-current-live-instance/kallithea/lib/vcs/backends/hg/changeset.py", > >> line 192, in prev > >> prev_ = cs.repository.revisions.index(cs.raw_id) - 1 > >> ValueError: '12d262c861ecacc5cf381198e923ab71b70046eb' is not in list > >> > >> > >> ENVIRON: > >> HTTP_ACCEPT: '*/*' > >> HTTP_ACCEPT_ENCODING: 'deflate, gzip' > >> HTTP_HOST: 'kallithea-scm.org' > >> HTTP_USER_AGENT: 'Mozilla/5.0 (compatible; AhrefsBot/5.2; > >> +http://ahrefs.com/robot/)' > >> HTTP_X_HOST: 'kallithea-scm.org' > >> PATH_INFO: > >> > '/kallithea-incoming/files/12d262c861ecacc5cf381198e923ab71b70046eb/kallithea/lib/dbmigrate/migrate/versioning/templates/manage.py_tmpl' > >> QUERY_STRING: '' > >> REMOTE_ADDR: '217.182.132.56' > >> REQUEST_METHOD: 'GET' > >> SCRIPT_NAME: '/repos' > >> SERVER_NAME: 'localhost' > >> SERVER_PORT: '5000' > >> SERVER_PROTOCOL: 'HTTP/1.0' > >> SERVER_SOFTWARE: 'waitress' > >> > >> > >> WSGI: > >> beaker.cache: <beaker.cache.CacheManager object at > 0x7fec00a467d0> > >> beaker.get_session: <bound method > >> SessionApplicationWrapper._get_session of > >> <tg.appwrappers.session.SessionApplicationWrapper object at > 0x7fec00a46750>> > >> beaker.session: {'_accessed_time': 1500454594.713223, > >> '_creation_time': 1500454594.713223} > >> paste.registry: <tg.support.registry.Registry object at > >> 0x7febee885e50> > >> pylons.controller: <kallithea.controllers.root.RootController > >> object at 0x7febfd2d2750> > >> pylons.pylons: <tg.wsgiapp.RequestLocals object at > 0x7febee340f50> > >> pylons.routes_dict: {'action': u'index', 'controller': u'files', > >> 'revision': u'12d262c861ecacc5cf381198e923ab71b70046eb', 'f_path': > >> u'kallithea/lib/dbmigrate/migrate/versioning/templates/manage.py_tmpl', > >> 'repo_name': u'kallithea-incoming'} > >> routes.route: <routes.route.Route object at 0x7febfd2782d0> > >> routes.url: <routes.util.URLGenerator object at 0x7febedbe8d90> > >> tg.locals: <tg.wsgiapp.RequestLocals object at 0x7febee340f50> > >> tg.routes_dict: {'action': u'index', 'controller': u'files', > >> 'revision': u'12d262c861ecacc5cf381198e923ab71b70046eb', 'f_path': > >> u'kallithea/lib/dbmigrate/migrate/versioning/templates/manage.py_tmpl', > >> 'repo_name': u'kallithea-incoming'} > >> webob._parsed_query_vars: (GET([]), '') > >> webob.adhoc_attrs: {'authuser': <AuthUser('id:1[default] > >> auth:True')>, 'ip_addr': '217.182.132.56', 'user': > <AuthUser('id:1[default] > >> auth:True')>, 'routes_local': {'redirect': <function redirect at > >> 0x7fec03554cf8>, 'mapper': <routes.mapper.Mapper object at > 0x7febfd2e6350>, > >> 'host': 'kallithea-scm.org', 'protocol': 'https'}} > >> wsgi._org_proto: 'http' > >> wsgi.errors: <open file '<stderr>', mode 'w' at 0x7fec087fd1e0> > >> wsgi.file_wrapper: <class > >> 'waitress.buffers.ReadOnlyFileBasedBuffer'> > >> wsgi.input: <_io.BytesIO object at 0x7febe4465bf0> > >> wsgi.multiprocess: False > >> wsgi.multithread: True > >> wsgi.run_once: False > >> wsgi.url_scheme: 'https' > >> wsgi.version: (1, 0) > >> wsgiorg.routing_args: (<routes.util.URLGenerator object at > >> 0x7febedbe8d90>, {'action': u'index', 'controller': u'files', > 'revision': > >> u'12d262c861ecacc5cf381198e923ab71b70046eb', 'f_path': > >> u'kallithea/lib/dbmigrate/migrate/versioning/templates/manage.py_tmpl', > >> 'repo_name': u'kallithea-incoming'}) > >> > >> > >> REQUEST: > >> <Request at 0x7febef72dcd0 GET > >> https://kallithea-scm.org/repos/error/document> > > > > -- > Cheers, > Andrew >
_______________________________________________ kallithea-general mailing list [email protected] https://lists.sfconservancy.org/mailman/listinfo/kallithea-general
