Project

General

Profile

Actions

Bug #5656

open

Error for branch permission page

Added by Sebastian Elsner almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
30.03.2021
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

Even tho we don't use it, I found that going to the branch permission page in the community edition installation excepts:

2021-03-30 13:35:42.406 [838916] INFO  [rhodecode.lib.auth] user <AuthUser('id:3[sebels] ip:10.30.11.110 auth:True')> authent
icating with:RHODECODE_AUTH IS authenticated on func RepoBranchesView:branches
2021-03-30 13:35:45.064 [838916] ERROR [rhodecode.config.middleware] error occurred handling this request for path: /libpython/settings/branch_permissions
Traceback (most recent call last):
  File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/tweens.py", line 41, in excview_tween
    response = handler(request)
  File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/router.py", line 148, in handle_request
    registry, request, context, context_iface, view_name
  File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/view.py", line 667, in _call_view
    response = view_callable(context, request)
  File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/config/views.py", line 188, in attr_view
    return view(context, request)
  File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/config/views.py", line 214, in predicate_wrapper
    return view(context, request)
  File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/viewderivers.py", line 460, in rendered_view
    request, result, view_inst, context
  File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/renderers.py", line 451, in render_view
    return self.render_to_response(response, system, request=request)
  File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/renderers.py", line 474, in render_to_response
    result = self.render(value, system_values, request=request)
  File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/renderers.py", line 470, in render
    result = renderer(value, system_values)
  File "/opt/rhodecode/store/kvmn8s8gcbj3a79vw6nclj9p47aql7zy-python2.7-pyramid-mako-1.1.0/lib/python2.7/site-packages/pyramid_mako/__init__.py", line 156, in __call__
    reraise(MakoRenderingException(errtext), None, exc_info[2])
  File "/opt/rhodecode/store/kvmn8s8gcbj3a79vw6nclj9p47aql7zy-python2.7-pyramid-mako-1.1.0/lib/python2.7/site-packages/pyramid_mako/__init__.py", line 148, in __call__
    result = template.render_unicode(**system)
  File "/opt/rhodecode/store/9g17akjjvw6s5yv8nnhpv5s9nk06hbjq-python2.7-mako-1.1.0/lib/python2.7/site-packages/mako/template.py", line 482, in render_unicode
    self, self.callable_, args, data, as_unicode=True
  File "/opt/rhodecode/store/9g17akjjvw6s5yv8nnhpv5s9nk06hbjq-python2.7-mako-1.1.0/lib/python2.7/site-packages/mako/runtime.py", line 883, in _render
    **_kwargs_for_callable(callable_, data)
  File "/opt/rhodecode/store/9g17akjjvw6s5yv8nnhpv5s9nk06hbjq-python2.7-mako-1.1.0/lib/python2.7/site-packages/mako/runtime.py", line 920, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "/opt/rhodecode/store/9g17akjjvw6s5yv8nnhpv5s9nk06hbjq-python2.7-mako-1.1.0/lib/python2.7/site-packages/mako/runtime.py", line 947, in _exec_template
    callable_(context, *args, **kwargs)
  File "_base_root_mako", line 114, in render_body
  File "_base_base_mako", line 64, in render_body
  File "rhodecode_templates_admin_repos_repo_edit_mako", line 52, in render_main
  File "/opt/rhodecode/store/k2anfrqzq1h27a5l60j3hi9314d1q24k-python2.7-rhodecode-enterprise-ce-4.24.1/lib/python2.7/site-packages/rhodecode/lib/utils2.py", line 753, in __getattr__
    self.__class__, attr))
MakoRenderingException: 

Traceback (most recent call last):
  File "/opt/rhodecode/store/kvmn8s8gcbj3a79vw6nclj9p47aql7zy-python2.7-pyramid-mako-1.1.0/lib/python2.7/site-packages/pyramid_mako/__init__.py", line 148, in __call__
    result = template.render_unicode(**system)
  File "/opt/rhodecode/store/9g17akjjvw6s5yv8nnhpv5s9nk06hbjq-python2.7-mako-1.1.0/lib/python2.7/site-packages/mako/template.py", line 482, in render_unicode
    self, self.callable_, args, data, as_unicode=True
  File "/opt/rhodecode/store/9g17akjjvw6s5yv8nnhpv5s9nk06hbjq-python2.7-mako-1.1.0/lib/python2.7/site-packages/mako/runtime.py", line 883, in _render
    **_kwargs_for_callable(callable_, data)
  File "/opt/rhodecode/store/9g17akjjvw6s5yv8nnhpv5s9nk06hbjq-python2.7-mako-1.1.0/lib/python2.7/site-packages/mako/runtime.py", line 920, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "/opt/rhodecode/store/9g17akjjvw6s5yv8nnhpv5s9nk06hbjq-python2.7-mako-1.1.0/lib/python2.7/site-packages/mako/runtime.py", line 947, in _exec_template
    callable_(context, *args, **kwargs)
  File "/opt/rhodecode/store/k2anfrqzq1h27a5l60j3hi9314d1q24k-python2.7-rhodecode-enterprise-ce-4.24.1/lib/python2.7/site-packages/rhodecode/templates/base/root.mako", line 160, in render_body
    ${next.body()}
  File "/opt/rhodecode/store/k2anfrqzq1h27a5l60j3hi9314d1q24k-python2.7-rhodecode-enterprise-ce-4.24.1/lib/python2.7/site-packages/rhodecode/templates/base/base.mako", line 39, in render_body
    ${next.main()}
  File "/opt/rhodecode/store/k2anfrqzq1h27a5l60j3hi9314d1q24k-python2.7-rhodecode-enterprise-ce-4.24.1/lib/python2.7/site-packages/rhodecode/templates/admin/repos/repo_edit.mako", line 41, in render_main
    <li class="${h.is_active('settings', c.active)}">
  File "/opt/rhodecode/store/k2anfrqzq1h27a5l60j3hi9314d1q24k-python2.7-rhodecode-enterprise-ce-4.24.1/lib/python2.7/site-packages/rhodecode/lib/utils2.py", line 753, in __getattr__
    self.__class__, attr))
AttributeError: <class 'rhodecode.apps._base.TemplateArgs'> object has no attribute active

Actions #1

Updated by Redmine Integration almost 3 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF