RhodeCode - issues: Issueshttps://issues.rhodecode.com/https://issues.rhodecode.com/favicon.ico?16960560042019-07-04T21:36:26ZRhodeCode - issues
Redmine RhodeCode CE/EE - Bug #5556 (New): After upgrade RhodeCode Enterprise, pull request via API adds ...https://issues.rhodecode.com/issues/55562019-07-04T21:36:26ZJonathan Ferreyra
<p>Hi!</p>
<p>After upgrade RhodeCode Enterprise 4.14 to 4.16.2, every time a pull request is created via API the owner of the repo is added.</p>
<p>There is no configuration or parameter to disable this behavior.</p>
<p>Is there any way to prevent the owner from being added, or is it a non-implemented feature?</p>
<p>Thanks.</p>
RhodeCode CE/EE - Bug #5550 (New): 500 Internal Server Error | The server has either erred or is ...https://issues.rhodecode.com/issues/55502019-04-18T14:21:53ZThierry Wynsdau
<p>At the origin, the user was prompted to change his password when logged in. But he is a LDAP user, so he should not be asked to change his password.<br>
so I've deleted the user. But then when I tries to logon again using his credentials, I have this "500 Internal Server Error".<br>
But the server is still running fine.</p>
RhodeCode CE/EE - Bug #5524 (New): Cannot log into RhodeCode anymorehttps://issues.rhodecode.com/issues/55242019-01-15T15:33:26ZThierry Wynsdau
<p>I try to log into Rhodes code with my admin account but it always gives me the error "The server has either erred or is incapable of performing the requested operation".<br>
I can log into the server using my user account, another admin can log in using his account too.<br>
The server is running normally.</p>
RhodeCode CE/EE - Bug #5510 (New): AssertionError: unexpected parameters: user_agent & hook_typehttps://issues.rhodecode.com/issues/55102018-11-05T13:02:17ZPeter Colledge
<p>Most vcsserver actions result in exceptions after upgrade to 4.14.0. Rolled back to 4.13.2.</p>
<p>Eg:</p>
<pre><code>Traceback (most recent call last):
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/router.py", line 276, in default_execution_policy
return router.invoke_request(request)
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/router.py", line 249, in invoke_request
response = handle_request(request)
File "/opt/rhodecode/store/cw4j97nfzhx1ldcqnpv94yllqmvmfpsh-python2.7-rhodecode-vcsserver-4.14.0/lib/python2.7/site-packages/vcsserver/tweens.py", line 45, in __call__
response = self.handler(request)
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/tweens.py", line 41, in excview_tween
response = _error_handler(request, exc)
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/tweens.py", line 12, in _error_handler
response = request.invoke_exception_view(exc_info)
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/view.py", line 744, in invoke_exception_view
request_iface=request_iface.combined,
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/view.py", line 642, in _call_view
response = view_callable(context, request)
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/viewderivers.py", line 410, in viewresult_to_response
result = view(context, request)
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/viewderivers.py", line 107, in mapped_view
return _mapped_view(context, request)
File "/opt/rhodecode/store/cw4j97nfzhx1ldcqnpv94yllqmvmfpsh-python2.7-rhodecode-vcsserver-4.14.0/lib/python2.7/site-packages/vcsserver/http_main.py", line 577, in handle_vcs_exception
raise exception
Exception: Got remote exception "AssertionError" with args "["Missing parameters: set([]), unexpected parameters: set(['user_agent', 'hook_type'])"]"
</code></pre><pre><code>Traceback (most recent call last):
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/tweens.py", line 39, in excview_tween
response = handler(request)
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/router.py", line 156, in handle_request
view_name
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/view.py", line 642, in _call_view
response = view_callable(context, request)
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/viewderivers.py", line 410, in viewresult_to_response
result = view(context, request)
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/wsgi.py", line 37, in decorator
return request.get_response(wrapped)
File "/opt/rhodecode/store/rwjyfikqcf3lbm6gppji4q36fdh83dll-python2.7-webob-1.7.4/lib/python2.7/site-packages/webob/request.py", line 1327, in send
application, catch_exc_info=False)
File "/opt/rhodecode/store/rwjyfikqcf3lbm6gppji4q36fdh83dll-python2.7-webob-1.7.4/lib/python2.7/site-packages/webob/request.py", line 1291, in call_application
app_iter = application(self.environ, start_response)
File "/opt/rhodecode/store/cw4j97nfzhx1ldcqnpv94yllqmvmfpsh-python2.7-rhodecode-vcsserver-4.14.0/lib/python2.7/site-packages/vcsserver/http_main.py", line 492, in _hg_stream
return app(environ, ResponseFilter(start_response))
File "/opt/rhodecode/store/cw4j97nfzhx1ldcqnpv94yllqmvmfpsh-python2.7-rhodecode-vcsserver-4.14.0/lib/python2.7/site-packages/vcsserver/scm_app.py", line 84, in __call__
data = gen.next()
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/hgweb/hgweb_mod.py", line 308, in run_wsgi
for r in self._runwsgi(req, res, repo):
File "/opt/rhodecode/store/cw4j97nfzhx1ldcqnpv94yllqmvmfpsh-python2.7-rhodecode-vcsserver-4.14.0/lib/python2.7/site-packages/vcsserver/scm_app.py", line 106, in _runwsgi
return super(HgWeb, self)._runwsgi(req, res, repo)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/hgweb/hgweb_mod.py", line 334, in _runwsgi
rctx, req, res, self.check_perm)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/wireprotoserver.py", line 224, in handlewsgirequest
_callhttp(repo, req, res, proto, cmd)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/wireprotoserver.py", line 439, in _callhttp
rsp = wireprotov1server.dispatch(repo, proto, cmd)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/wireprotov1server.py", line 75, in dispatch
return func(repo, proto, *args)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/wireprotov1server.py", line 593, in unbundle
proto.client())
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/exchange.py", line 2138, in unbundle
op = bundle2.processbundle(repo, cg, op=op)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/bundle2.py", line 460, in processbundle
processparts(repo, op, unbundler)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/bundle2.py", line 467, in processparts
_processpart(op, part)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/bundle2.py", line 534, in _processpart
handler(op, part)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/bundle2.py", line 1804, in handlechangegroup
expectedtotal=nbchangesets, **extrakwargs)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/bundle2.py", line 470, in _processchangegroup
ret = cg.apply(op.repo, tr, source, url, **kwargs)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/changegroup.py", line 285, in apply
throw=True, **pycompat.strkwargs(tr.hookargs))
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/localrepo.py", line 922, in hook
return hook.hook(self.ui, self, name, throw, **args)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/hook.py", line 210, in hook
res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/hook.py", line 262, in runhooks
throw)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/hook.py", line 98, in _pythonhook
r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
File "/opt/rhodecode/store/cw4j97nfzhx1ldcqnpv94yllqmvmfpsh-python2.7-rhodecode-vcsserver-4.14.0/lib/python2.7/site-packages/vcsserver/hooks.py", line 308, in pre_push
return _call_hook('pre_push', extras, HgMessageWriter(ui))
File "/opt/rhodecode/store/cw4j97nfzhx1ldcqnpv94yllqmvmfpsh-python2.7-rhodecode-vcsserver-4.14.0/lib/python2.7/site-packages/vcsserver/hooks.py", line 147, in _call_hook
_handle_exception(result)
File "/opt/rhodecode/store/cw4j97nfzhx1ldcqnpv94yllqmvmfpsh-python2.7-rhodecode-vcsserver-4.14.0/lib/python2.7/site-packages/vcsserver/hooks.py", line 130, in _handle_exception
(exception_class, result['exception_args']))
Exception: Got remote exception "AssertionError" with args "["Missing parameters: set([]), unexpected parameters: set(['user_agent', 'hook_type'])"]"
</code></pre> RhodeCode CE/EE - Bug #5410 (New): After converting to CE, we get the following error when trying...https://issues.rhodecode.com/issues/54102017-12-08T23:19:47ZBrad Silva
<p>When clicking on the name of some repos, the error: "500 Internal Server Error | The server has either erred or is incapable of performing the requested operation." is returned by the browser. In the logs, the below error occurs. We are running CE 4.9.0. </p>
<p>We can still clone the repos and do other code operations from the command line or other tools. This seems to only affect the Rhodecode Web UI (which make sense looking at the error).</p>
<p>The problem appears to be that these repos have non-ASCII characters that Rhodecode is trying to interpret as ASCII when preparing the web page for display.</p>
<p>Thanks,<br>
Brad</p>
<hr>
<p>2017-12-08 10:35:43.983 ERROR [rhodecode.config.middleware] error occurred handling this request for path: /***<strong><em>Redacted</em></strong>*********<br>
Traceback (most recent call last):<br>
File "/opt/rhodecode/store/w6kjp4h2szaa42f7yksgi3lqnpp2ax51-python2.7-pyramid-1.7.4/lib/python2.7/site-packages/pyramid/tweens.py", line 22, in excview_tween<br>
response = handler(request)<br>
File "/opt/rhodecode/store/w6kjp4h2szaa42f7yksgi3lqnpp2ax51-python2.7-pyramid-1.7.4/lib/python2.7/site-packages/pyramid/router.py", line 158, in handle_request<br>
view_name<br>
File "/opt/rhodecode/store/w6kjp4h2szaa42f7yksgi3lqnpp2ax51-python2.7-pyramid-1.7.4/lib/python2.7/site-packages/pyramid/view.py", line 547, in <u>call_view<br>
response = view_callable(context, request)<br>
File "/opt/rhodecode/store/w6kjp4h2szaa42f7yksgi3lqnpp2ax51-python2.7-pyramid-1.7.4/lib/python2.7/site-packages/pyramid/viewderivers.py", line 393, in attr_view<br>
return view(context, request)<br>
File "/opt/rhodecode/store/w6kjp4h2szaa42f7yksgi3lqnpp2ax51-python2.7-pyramid-1.7.4/lib/python2.7/site-packages/pyramid/viewderivers.py", line 371, in predicate_wrapper<br>
return view(context, request)<br>
File "/opt/rhodecode/store/w6kjp4h2szaa42f7yksgi3lqnpp2ax51-python2.7-pyramid-1.7.4/lib/python2.7/site-packages/pyramid/viewderivers.py", line 465, in rendered_view<br>
request, result, view_inst, context)<br>
File "/opt/rhodecode/store/w6kjp4h2szaa42f7yksgi3lqnpp2ax51-python2.7-pyramid-1.7.4/lib/python2.7/site-packages/pyramid/renderers.py", line 432, in render_view<br>
return self.render_to_response(response, system, request=request)<br>
File "/opt/rhodecode/store/w6kjp4h2szaa42f7yksgi3lqnpp2ax51-python2.7-pyramid-1.7.4/lib/python2.7/site-packages/pyramid/renderers.py", line 455, in render_to_response<br>
result = self.render(value, system_values, request=request)<br>
File "/opt/rhodecode/store/w6kjp4h2szaa42f7yksgi3lqnpp2ax51-python2.7-pyramid-1.7.4/lib/python2.7/site-packages/pyramid/renderers.py", line 451, in render<br>
result = renderer(value, system_values)<br>
File "/opt/rhodecode/store/i429qpprvnq5h4kfz7dq1pybqs73x68s-python2.7-pyramid-mako-1.0.2/lib/python2.7/site-packages/pyramid_mako/</u><u>init</u><u>.py", line 156, in __call</u>_<br>
reraise(MakoRenderingException(errtext), None, exc_info[2])<br>
File "/opt/rhodecode/store/i429qpprvnq5h4kfz7dq1pybqs73x68s-python2.7-pyramid-mako-1.0.2/lib/python2.7/site-packages/pyramid_mako/<strong>init</strong>.py", line 148, in <strong>call</strong><br>
result = template.render_unicode(*<em>system)<br>
File "/opt/rhodecode/store/wq83njhgkwcf0cl6623jzv69gj8v6y3i-python2.7-Mako-1.0.6/lib/python2.7/site-packages/mako/template.py", line 471, in render_unicode<br>
as_unicode=True)<br>
File "/opt/rhodecode/store/wq83njhgkwcf0cl6623jzv69gj8v6y3i-python2.7-Mako-1.0.6/lib/python2.7/site-packages/mako/runtime.py", line 838, in _render<br>
*</em><u>kwargs_for_callable(callable</u>, data))<br>
File "/opt/rhodecode/store/wq83njhgkwcf0cl6623jzv69gj8v6y3i-python2.7-Mako-1.0.6/lib/python2.7/site-packages/mako/runtime.py", line 873, in <u>render_context<br>
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)<br>
File "/opt/rhodecode/store/wq83njhgkwcf0cl6623jzv69gj8v6y3i-python2.7-Mako-1.0.6/lib/python2.7/site-packages/mako/runtime.py", line 899, in _exec_template<br>
callable</u>(context, *args, **kwargs)<br>
File "_base_root_mako", line 85, in render_body<br>
File "_base_base_mako", line 51, in render_body<br>
File "_summary_base_mako", line 112, in render_main<br>
File "rhodecode_templates_summary_summary_mako", line 52, in render_main<br>
File "_base_base_mako", line 690, in render_repo_page_title<br>
MakoRenderingException:</p>
<p>Traceback (most recent call last):<br>
File "/opt/rhodecode/store/i429qpprvnq5h4kfz7dq1pybqs73x68s-python2.7-pyramid-mako-1.0.2/lib/python2.7/site-packages/pyramid_mako/<strong>init</strong>.py", line 148, in <strong>call</strong><br>
result = template.render_unicode(*<em>system)<br>
File "/opt/rhodecode/store/wq83njhgkwcf0cl6623jzv69gj8v6y3i-python2.7-Mako-1.0.6/lib/python2.7/site-packages/mako/template.py", line 471, in render_unicode<br>
as_unicode=True)<br>
File "/opt/rhodecode/store/wq83njhgkwcf0cl6623jzv69gj8v6y3i-python2.7-Mako-1.0.6/lib/python2.7/site-packages/mako/runtime.py", line 838, in _render<br>
*</em><u>kwargs_for_callable(callable</u>, data))<br>
File "/opt/rhodecode/store/wq83njhgkwcf0cl6623jzv69gj8v6y3i-python2.7-Mako-1.0.6/lib/python2.7/site-packages/mako/runtime.py", line 873, in <u>render_context<br>
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)<br>
File "/opt/rhodecode/store/wq83njhgkwcf0cl6623jzv69gj8v6y3i-python2.7-Mako-1.0.6/lib/python2.7/site-packages/mako/runtime.py", line 899, in _exec_template<br>
callable</u>(context, *args, **kwargs)<br>
File "/opt/rhodecode/store/6b1a7rcpl0vy12imy67f8chqpm1649p3-python2.7-rhodecode-enterprise-ce-4.9.0/lib/python2.7/site-packages/rhodecode/templates/base/root.mako", line 155, in render_body<br>
${_('Please enable JavaScript to use RhodeCode Enterprise')}<br>
File "/opt/rhodecode/store/6b1a7rcpl0vy12imy67f8chqpm1649p3-python2.7-rhodecode-enterprise-ce-4.9.0/lib/python2.7/site-packages/rhodecode/templates/base/base.mako", line 21, in render_body<br>
${self.menu_bar_subnav()}<br>
File "/opt/rhodecode/store/6b1a7rcpl0vy12imy67f8chqpm1649p3-python2.7-rhodecode-enterprise-ce-4.9.0/lib/python2.7/site-packages/rhodecode/templates/summary/base.mako", line 28, in render_main<br>
${next.main()}<br>
File "/opt/rhodecode/store/6b1a7rcpl0vy12imy67f8chqpm1649p3-python2.7-rhodecode-enterprise-ce-4.9.0/lib/python2.7/site-packages/rhodecode/templates/summary/summary.mako", line 13, in render_main<br>
${self.repo_page_title(c.rhodecode_db_repo)}<br>
File "/opt/rhodecode/store/6b1a7rcpl0vy12imy67f8chqpm1649p3-python2.7-rhodecode-enterprise-ce-4.9.0/lib/python2.7/site-packages/rhodecode/templates/summary/summary.mako", line 105, in render_repo_page_title<br>
%if show_items:<br>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xae in position 1: ordinal not in range(128)</p>
RhodeCode CE/EE - Bug #5405 (New): Add repository from UI leads to HTTP/404https://issues.rhodecode.com/issues/54052017-11-28T11:34:07ZJarno Kanto
<p>When add new reposiitory from UI it shows HTTP/404 error page even repository is created as expected.</p>
<p>Installation is Rhodecode 4.10.5 with Celery, RabbitMQ and Postgres as database.<br>
Same setup with version 4.9.0 is working fine.</p>
<p>snippet from community.log:</p>
<pre><code>[28/Nov/2017:10:23:49 +0000] GNCRN <7378> 127.0.0.1 rqt:0.261262 302 234 "POST:/_admin/repos/create " usr:- "https://192.168.33.171/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36"
2017-11-28 10:23:49.283 INFO [rhodecode.lib.middleware.request_wrapper] IP: 192.168.33.1 Request to /testi3/repo_creating time: 0.105s
[28/Nov/2017:10:23:49 +0000] GNCRN <7378> 127.0.0.1 rqt:0.111062 404 2689 "GET:/testi3/repo_creating task_id=31b01c11-08f0-44ac-ae4d-6cb6fbf6002e" usr:- "https://192.168.33.171/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36"
2017-11-28 10:23:49.829 INFO [rhodecode.lib.middleware.request_wrapper] IP: 192.168.33.1 Request to /_static/rhodecode/css/style.css time: 0.412s
[28/Nov/2017:10:23:49 +0000] GNCRN <7378> 127.0.0.1 rqt:0.418931 200 - "GET:/_static/rhodecode/css/style.css " usr:- "https://192.168.33.171/testi3/repo_creating?task_id=31b01c11-08f0-44ac-ae4d-6cb6fbf6002e" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36"
2017-11-28 10:23:50.075 INFO [rhodecode.lib.middleware.request_wrapper] IP: 192.168.33.1 Request to /_static/rhodecode/images/RhodeCode_Logo_Black.png time: 0.186s
[28/Nov/2017:10:23:50 +0000] GNCRN <7378> 127.0.0.1 rqt:0.265793 200 - "GET:/_static/rhodecode/images/RhodeCode_Logo_Black.png " usr:- "https://192.168.33.171/testi3/repo_creating?task_id=31b01c11-08f0-44ac-ae4d-6cb6fbf6002e" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36"
2017-11-28 10:23:50.189 INFO [rhodecode.lib.middleware.request_wrapper] IP: 192.168.33.1 Request to /_static/rhodecode/js/scripts.js time: 0.519s
[28/Nov/2017:10:23:50 +0000] GNCRN <7377> 127.0.0.1 rqt:0.554409 200 - "GET:/_static/rhodecode/js/scripts.js " usr:- "https://192.168.33.171/testi3/repo_creating?task_id=31b01c11-08f0-44ac-ae4d-6cb6fbf6002e" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36"
</code></pre>
<p>Attached Vagrantfile and provision script for easy reproduce:<br>
1) vagrant up<br>
2) log in as admin<br>
3) Add repository -> 404</p>
RhodeCode Appenlight - Bug #5342 (New): Broken link [Applications Modify application]https://issues.rhodecode.com/issues/53422017-06-21T21:21:50ZBartłomiej Wołyńczyk
<p>Description:<br>
Link in applications setting is leading to main application page instead documentation.</p>
<p>"How to connect your application?<br>
Visit our developer documentation for step-by-step integration instructions."<br>
developer documentation ->> <a href="https://appenlight.rhodecode.com/" class="external">https://appenlight.rhodecode.com/</a><br>
instead ->> <a href="https://getappenlight.com/page/api/main.html" class="external">https://getappenlight.com/page/api/main.html</a> ??</p>
<p>Steps to reproduce:</p>
<ol>
<li>Go to Applications </li>
<li>Chosen Application -> Update</li>
<li>On Right Top there is link leading to developer documentation. </li>
</ol>
RhodeCode CE/EE - Bug #5227 (New): 400 during a svn checkout, file with special charshttps://issues.rhodecode.com/issues/52272017-02-23T15:43:57ZCarlo Truijllo
<p>Our repository is behind apache ( configured to listen in 80 for web and 8090 svn ).</p>
<p>We can't control how our customers use their repository so we can't bring any naming convention in their files.</p>
<p>A customer added two files, more or less with this label:</p>
<ul>
<li>Ricerca allo 0,75% del Pil.txt</li>
<li>L’hashtag #newHashtag non ancora.txt</li>
</ul>
<p>Every attempt to checkout this repository lead to a 400 error because RhodeCode + Apache can't handle the improperly used reserved chars.</p>
<p>In apache logs:<br>
Ricerca%20allo%200,75%%20del%20Pil.txt<br>
instead<br>
Ricerca%20allo%200,75%25%20del%20Pil.txt</p>
<p>and </p>
<p>L%E2%80%99hashtag%20#newHashtag%20non%20ancora.txt<br>
instead<br>
L%E2%80%99hashtag%20%23newHashtag%20non%20ancora.txt</p>
<p>I noticed URL come out plain and unescaped from RhodeCode ( to apache ) so I patched roughly the file :</p>
<p>/home/user/.rccontrol/community-1/profile/lib/python2.7/site-packages/rhodecode/lib/middleware/simplesvn.py</p>
<p>in this way:</p>
<pre><code>--- old_simplesvn.py 2017-02-23 15:35:26.325978696 +0100
+++ new_simplesvn.py 2017-02-23 15:30:32.629978696 +0100
@@ -20,6 +20,7 @@
import logging
from urlparse import urljoin
+from urllib import quote
import requests
from webob.exc import HTTPNotAcceptable
@@ -62,8 +63,8 @@
return response.iter_content(chunk_size=1024)
def _get_url(self, path):
- return urljoin(
- self.config.get('subversion_http_server_url', ''), path)
+ return quote(urljoin(
+ self.config.get('subversion_http_server_url', ''), path), safe="/:=~+!$,;'")
def _get_request_headers(self, environ):
headers = {}
</code></pre>
<p>I know there is a wonderful RFC with all reserved chars listed but we are installing RhodeCode in a pre-existing svn environment.</p>
<p>Is there a cleaner way to manage this situation?</p>
RhodeCode CE/EE - Bug #5218 (New): 500 when forking repository, when using special chars in passw...https://issues.rhodecode.com/issues/52182017-02-17T12:15:39ZBartłomiej Wołyńczyk
<p>When some one clone repository and in his password contains chars "]","[" urlobject throw exception .<br>
Reproduced: <br>
1) Create new repository( import from existing). With "[" or "]" in yours password<br>
example: <a href="https://wuboo:password[@internal-code.rhodecode.com/u/wuboo/rhodecode-enterprise-ce-fork-2" class="external">https://wuboo:password[@internal-code.rhodecode.com/u/wuboo/rhodecode-enterprise-ce-fork-2</a><br>
2) Open new repository <br>
3) Go to options fork. <br>
Or </p>
<pre><code>from urlobject import URLObject
URLObject('https://wuboo:password[@internal-code.rhodecode.com/u/wuboo/rhodecode-enterprise-ce-fork-2').password
</code></pre>
<p><a href="https://github.com/zacharyvoase/urlobject/issues/38" class="external">https://github.com/zacharyvoase/urlobject/issues/38</a></p>
RhodeCode CE/EE - Bug #4256 (New): [ce, ee, ux] Source code highlight colors conflict with red/gr...https://issues.rhodecode.com/issues/42562016-10-03T05:00:14ZDaniel Ddaniel@rhodecode.com
<p>The CSS for pygments uses some green and red text which conflict with green/red blocks we use in diffs - have to change these to something else. </p>
RhodeCode CE/EE - Bug #4208 (New): [ce, ee] test errors get hidden by error pagehttps://issues.rhodecode.com/issues/42082016-08-30T18:42:32ZDaniel Ddaniel@rhodecode.com
<p>When running tests the traceback is excepted away by the error handler page, this makes it difficult to debug since eg</p>
<pre><code>app.get('/page_that_errors')
</code></pre>
<p>will return a 500 error page instead of a traceback.</p>
<p>OTOH making tests always raise errors will then break the page that checks if the pretty error page is working as it should.</p>
<p>Need to add a dynamic setting, eg settings['use_error_document'] = False - that can be turned on/off at will and will disable the pretty error page handler for running tests.</p>
RhodeCode CE/EE - Bug #4154 (New): [ce, ee] user register via github captchahttps://issues.rhodecode.com/issues/41542016-08-05T22:51:47ZDaniel Ddaniel@rhodecode.com
<p>Found on code.rhodecode.com - sign up using github account - captcha is asked but not verified.</p>
RhodeCode CE/EE - Bug #4040 (New): [ce, ee] logout when logged out causes 403 Cross-site request ...https://issues.rhodecode.com/issues/40402016-06-22T21:09:03ZDaniel Ddaniel@rhodecode.com
<p>Reproduce:</p>
<ul>
<li>Login to rhodecode</li>
<li>Logout in another tab</li>
<li>Click logout in original tab</li>
</ul>
RhodeCode Appenlight - Bug #3987 (New): adjust footer so it's consistent with the website footerhttps://issues.rhodecode.com/issues/39872016-06-07T11:56:21ZLisa Quatmannlisa@rhodecode.com
<p>I adjusted the footer on the website so that the links are more evenly spaced, but we need to do this to the app itself if we want consistency. See attached.</p>
RhodeCode CE/EE - Bug #3334 (New): Attempt to edit .coveragerc through the online file editorhttps://issues.rhodecode.com/issues/33342016-03-17T13:49:13ZOliver Strobeloliver@rhodecode.com
<p>Notified me of an error in the UI and pulled this from the log:</p>
<p>2016-03-17 13:44:01.495 ERROR [rhodecode.controllers.files] Error occurred during commit<br>
Traceback (most recent call last):<br>
File "/nix/store/p67rn7vhwhrlqk7bdd5i1yrgxl2miba8-python2.7-RhodeCodeEnterprise-3.8.2/lib/python2.7/site-packages/rhodecode/controllers/files.py", line 474, in edit<br>
File "rhodecode/model/scm.py", line 669, in rhodecode.model.scm.ScmModel.update_nodes (rhodecode/model/scm.c:15935)<br>
File "rhodecode/model/scm.py", line 500, in rhodecode.model.scm.ScmModel._sanitize_path (rhodecode/model/scm.c:12863)<br>
NonRelativePathError: .coveragerc is not an relative path</p>