RhodeCode - issues: Issueshttps://issues.rhodecode.com/https://issues.rhodecode.com/favicon.ico?16960560042016-09-09T11:51:31ZRhodeCode - issues
Redmine RhodeCode CE/EE - Bug #4223 (Resolved): [git, tags] annotated tags not appearing in UIhttps://issues.rhodecode.com/issues/42232016-09-09T11:51:31ZLisa Quatmannlisa@rhodecode.com
<p>When I have an annotated tag in a git repo, and I push this tag, I do not see it listed in the changelog, the repo summary, the repo tag summary, or the commit detail page.</p>
<p>As reported in the community slack: <a href="https://rhodecode-community.slack.com/archives/general/p1473412004000013" class="external">https://rhodecode-community.slack.com/archives/general/p1473412004000013</a></p>
RhodeCode CE/EE - Bug #4184 (Resolved): fix content INT overflow bughttps://issues.rhodecode.com/issues/41842016-08-19T20:05:13ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>based on this report: <a href="https://code.rhodecode.com/rhodecode-enterprise-ce/diff/rhodecode/public/js/rhodecode/i18n/zh.js?diff2=73776efe8f2c558703bbccf91f023ee2736689b4&diff1=f6e3b63a41d7c40145251f71624e28e3682ae067&context=27670116110564327424&diff=diff&ignorews=1" class="external">https://code.rhodecode.com/rhodecode-enterprise-ce/diff/rhodecode/public/js/rhodecode/i18n/zh.js?diff2=73776efe8f2c558703bbccf91f023ee2736689b4&diff1=f6e3b63a41d7c40145251f71624e28e3682ae067&context=27670116110564327424&diff=diff&ignorews=1</a></p>
RhodeCode CE/EE - Bug #4173 (Resolved): [ce, ee] mysql recycle pool timeout not workinghttps://issues.rhodecode.com/issues/41732016-08-12T16:41:27ZDaniel Ddaniel@rhodecode.com
<p>Replication:</p>
<ul>
<li>new config using mysql database</li>
<li>set mysql's wait_timeout to 6</li>
<li><code>threads = 1</code> in ini</li>
<li><code>sqlalchemy.db1.pool_recycle = 3</code> in ini</li>
<li>git push a repo (no changes need, just a push)</li>
<li>wait 7 seconds</li>
<li>git push again</li>
<li>get - <code>OperationalError: (OperationalError) (2006, 'MySQL server has gone away)</code></li>
</ul>
<p>This will also break subsequent requests with <code>StatementError: Can't reconnect until invalid transaction is rolled back</code></p>
RhodeCode CE/EE - Bug #4166 (Resolved): [ce] Rhodecode crashing after MySQL errorhttps://issues.rhodecode.com/issues/41662016-08-11T13:39:00ZMihai Nica
<p>Rhodecode Enterprise crashes with a MySQL error after a while.<br>
Already checked the pool_recycle, and it's set.<br>
Celery is not enabled.</p>
<p>Here is the information in the error log:</p>
<pre><code>2016-08-11 08:48:37.672 ERROR [rhodecode.lib.caches] Failed to commit on cache key update
Traceback (most recent call last):
File "/opt/rhodecode/store/0lg6aqzs7b4bs1x12s8i6ib5hqa285rj-python2.7-rhodecode-enterprise-ce-4.2.1/lib/python2.7/site-packages/rhodecode/lib/caches.py", line 216, in __exit__
Session().commit()
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 788, in commit
self.transaction.commit()
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 384, in commit
self._prepare_impl()
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 364, in _prepare_impl
self.session.flush()
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 1985, in flush
self._flush(objects)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 2103, in _flush
transaction.rollback(_capture_exception=True)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 60, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 2067, in _flush
flush_context.execute()
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/unitofwork.py", line 372, in execute
rec.execute(self)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/unitofwork.py", line 526, in execute
uow
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/persistence.py", line 65, in save_obj
mapper, table, insert)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/persistence.py", line 602, in _emit_insert_statements
execute(statement, params)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 841, in execute
return meth(self, multiparams, params)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/sql/elements.py", line 322, in _execute_on_connection
return connection._execute_clauseelement(self, multiparams, params)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 938, in _execute_clauseelement
compiled_sql, distilled_params
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1005, in _execute_context
None, None)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1271, in _handle_dbapi_exception
exc_info
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 199, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 999, in _execute_context
conn = self._revalidate_connection()
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 354, in _revalidate_connection
"Can't reconnect until invalid "
StatementError: Can't reconnect until invalid transaction is rolled back (original cause: InvalidRequestError: Can't reconnect until invalid transaction is rolled back) u'INSERT INTO cache_invalidation (cache_key, cache_args, cache_active) VALUES (%s, %s, %s)' [{'cache_active': True, 'cache_args': u'wsys/linux-tools/backup', 'cache_key': u'vcs-14268wsys/linux-tools/backup'}]
2016-08-11 08:48:38.000 ERROR [rhodecode.config.middleware] failed to fetch settings
Traceback (most recent call last):
File "/opt/rhodecode/store/0lg6aqzs7b4bs1x12s8i6ib5hqa285rj-python2.7-rhodecode-enterprise-ce-4.2.1/lib/python2.7/site-packages/rhodecode/config/middleware.py", line 174, in error_handler
rc_config = SettingsModel().get_all_settings()
File "/opt/rhodecode/store/0lg6aqzs7b4bs1x12s8i6ib5hqa285rj-python2.7-rhodecode-enterprise-ce-4.2.1/lib/python2.7/site-packages/rhodecode/model/settings.py", line 234, in get_all_settings
return _compute()
File "/opt/rhodecode/store/0lg6aqzs7b4bs1x12s8i6ib5hqa285rj-python2.7-rhodecode-enterprise-ce-4.2.1/lib/python2.7/site-packages/rhodecode/model/settings.py", line 217, in _compute
for result in q
File "/opt/rhodecode/store/0lg6aqzs7b4bs1x12s8i6ib5hqa285rj-python2.7-rhodecode-enterprise-ce-4.2.1/lib/python2.7/site-packages/rhodecode/lib/caching_query.py", line 105, in __iter__
return Query.__iter__(self)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2441, in __iter__
return self._execute_and_instances(context)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2454, in _execute_and_instances
close_with_result=True)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2445, in _connection_from_session
**kw)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 880, in connection
execution_options=execution_options)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 885, in _connection_for_bind
engine, execution_options)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 326, in _connection_for_bind
conn = bind.contextual_connect()
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1910, in contextual_connect
self.pool.connect(),
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/pool.py", line 338, in connect
return _ConnectionFairy._checkout(self)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/pool.py", line 645, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/pool.py", line 442, in checkout
dbapi_connection = rec.get_connection()
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/pool.py", line 506, in get_connection
self.connection = self.__connect()
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/pool.py", line 539, in __connect
connection = self.__pool._creator()
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 96, in connect
connection_invalidated=invalidated
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 199, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 90, in connect
return dialect.connect(*cargs, **cparams)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 377, in connect
return self.dbapi.connect(*cargs, **cparams)
File "/opt/rhodecode/store/70w1dh4xc8q6m8avi9d90c5qn614cbaz-python2.7-MySQL-python-1.2.5/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect
return Connection(*args, **kwargs)
File "/opt/rhodecode/store/70w1dh4xc8q6m8avi9d90c5qn614cbaz-python2.7-MySQL-python-1.2.5/lib/python2.7/site-packages/MySQLdb/connections.py", line 193, in __init__
super(Connection, self).__init__(*args, **kwargs2)
</code></pre>
<p>We are running:</p>
<pre><code>rhodecode@vcs:~$ rccontrol status
- NAME: community-1
- STATUS: RUNNING
- TYPE: Community
- VERSION: 4.2.1
- VCS: vcsserver-1
- URL: http://0.0.0.0:5000
- NAME: vcsserver-1
- STATUS: RUNNING
- TYPE: VCSServer
- VERSION: 4.2.1
- URL: http://127.0.0.1:10001
</code></pre>
<p>And MySQL 5.5 on Ubuntu Linux 14.04.</p>
RhodeCode CE/EE - Bug #4092 (Feedback): [ce, ee] Redmine/JIRA integrations - smart commitshttps://issues.rhodecode.com/issues/40922016-07-15T12:29:44ZDaniel Ddaniel@rhodecode.com
<p>For the redmine case there are 5 states for a ticket:</p>
<ul>
<li>new</li>
<li>in progress</li>
<li>resolved</li>
<li>feedback</li>
<li>closed'</li>
</ul>
<p>Commit messages should be able to auto close/resolve tickets using keywords such as <code>fixes #42</code></p>
<p>The thing to think about is that the user may want 'fixes #20' to set the redmine issue to any of 'resolved', 'feedback' or 'closed' - this should be set in the integration options.</p>
<p>Allowing custom multiple regex => state mappers per integration is the most powerful but might be overkill- making standard keywords might be better eg:</p>
<p>fixes => resolved<br>
closes => closed</p>
<p>Then again this might be no good for international users.</p>
RhodeCode CE/EE - Bug #4091 (Resolved): [ce, ee] Redmine integration blocks for 30 seconds if red...https://issues.rhodecode.com/issues/40912016-07-15T08:59:15ZDaniel Ddaniel@rhodecode.com
<p>This is a problem when not running celery - ie. sync mode, should lower the timeout to something smaller.</p>
RhodeCode CE/EE - Bug #4065 (Resolved): [ux, login] 404 on login after comment attempthttps://issues.rhodecode.com/issues/40652016-06-30T16:50:34ZLisa Quatmannlisa@rhodecode.com
<p>When I'm not logged in and attempt to comment on a line in a commit from the commit page, where the comment field would be is replaced by "You need to be logged in to comment. Login now". When I click the "Login now" link, I am directed to a 404 which says "No such commit exists for this repository".</p>
<p>I should be directed to the login page, with a redirect to the line I wanted to comment on after I log in.</p>
<p>"Login now" is producing this url:<br>
<a href="http://dev-instance:5000/codysrepo/changeset/login_home?came_from=/codysrepo/changeset/5f9bc38085e8511830562edace00904669035195" class="external">http://dev-instance:5000/codysrepo/changeset/login_home?came_from=/codysrepo/changeset/5f9bc38085e8511830562edace00904669035195</a></p>
RhodeCode CE/EE - Bug #4036 (Resolved): encrypted clone_uri can throw unicodeerror after key changehttps://issues.rhodecode.com/issues/40362016-06-21T11:50:06ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Someone upgraded from EE to CE and go this exception:</p>
<pre><code>INFO [rhodecode.lib.auth] user <AuthUser('id:4[***] ip:*** auth:True')> authenticating with:RHODECODE_AUTH IS authenticated on func SummaryController:index
Error - <type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xa6 in position 0: ordinal not in range(128)
URL: ***
File '/opt/rhodecode/store/l6qpjdhxh6gkgmplvx2qdpswhj5ksy97-python2.7-WebError-0.10.3/lib/python2.7/site-packages/weberror/errormiddleware.py', line 162 in __call__
app_iter = self.application(environ, sr_checker)
File '/opt/rhodecode/store/i1ax7221bg9k9c9fd3pv3mrlnsvxc11f-python2.7-Routes-1.13/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__
response = self.app(environ, start_response)
File '/opt/rhodecode/store/mii099lqnw6anfhgcrb78x7ybvggs7g5-python2.7-Pylons-1.0.1-patch1/lib/python2.7/site-packages/pylons/wsgiapp.py', line 103 in __call__
response = self.dispatch(controller, environ, start_response)
File '/opt/rhodecode/store/mii099lqnw6anfhgcrb78x7ybvggs7g5-python2.7-Pylons-1.0.1-patch1/lib/python2.7/site-packages/pylons/wsgiapp.py', line 313 in dispatch
return controller(environ, start_response)
File '/opt/rhodecode/store/j5s9ifd76mf9ix7dbnwz0ldlyr2cvs25-python2.7-rhodecode-enterprise-ce-4.1.1/lib/python2.7/site-packages/rhodecode/lib/base.py', line 461 in __call__
return WSGIController.__call__(self, environ, start_response)
File '/opt/rhodecode/store/mii099lqnw6anfhgcrb78x7ybvggs7g5-python2.7-Pylons-1.0.1-patch1/lib/python2.7/site-packages/pylons/controllers/core.py', line 214 in __call__
response = self._dispatch_call()
File '/opt/rhodecode/store/mii099lqnw6anfhgcrb78x7ybvggs7g5-python2.7-Pylons-1.0.1-patch1/lib/python2.7/site-packages/pylons/controllers/core.py', line 164 in _dispatch_call
response = self._inspect_call(func)
File '/opt/rhodecode/store/mii099lqnw6anfhgcrb78x7ybvggs7g5-python2.7-Pylons-1.0.1-patch1/lib/python2.7/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
result = self._perform_call(func, args)
File '/opt/rhodecode/store/mii099lqnw6anfhgcrb78x7ybvggs7g5-python2.7-Pylons-1.0.1-patch1/lib/python2.7/site-packages/pylons/controllers/core.py', line 57 in _perform_call
return func(**args)
File '/opt/rhodecode/store/j5s9ifd76mf9ix7dbnwz0ldlyr2cvs25-python2.7-rhodecode-enterprise-ce-4.1.1/lib/python2.7/site-packages/rhodecode/lib/auth.py', line 1896 in local_wrapper
return wrapper(func, *args, **kwds)
File '/opt/rhodecode/store/j5s9ifd76mf9ix7dbnwz0ldlyr2cvs25-python2.7-rhodecode-enterprise-ce-4.1.1/lib/python2.7/site-packages/rhodecode/lib/auth.py', line 1219 in __wrapper
return func(*fargs, **fkwargs)
File '/opt/rhodecode/store/j5s9ifd76mf9ix7dbnwz0ldlyr2cvs25-python2.7-rhodecode-enterprise-ce-4.1.1/lib/python2.7/site-packages/rhodecode/lib/auth.py', line 1896 in local_wrapper
return wrapper(func, *args, **kwds)
File '/opt/rhodecode/store/j5s9ifd76mf9ix7dbnwz0ldlyr2cvs25-python2.7-rhodecode-enterprise-ce-4.1.1/lib/python2.7/site-packages/rhodecode/lib/auth.py', line 1329 in __wrapper
return func(*fargs, **fkwargs)
File '/opt/rhodecode/store/j5s9ifd76mf9ix7dbnwz0ldlyr2cvs25-python2.7-rhodecode-enterprise-ce-4.1.1/lib/python2.7/site-packages/rhodecode/controllers/summary.py', line 175 in index
return render('summary/summary.html')
File '/opt/rhodecode/store/mii099lqnw6anfhgcrb78x7ybvggs7g5-python2.7-Pylons-1.0.1-patch1/lib/python2.7/site-packages/pylons/templating.py', line 244 in render_mako
cache_type=cache_type, cache_expire=cache_expire)
File '/opt/rhodecode/store/mii099lqnw6anfhgcrb78x7ybvggs7g5-python2.7-Pylons-1.0.1-patch1/lib/python2.7/site-packages/pylons/templating.py', line 219 in cached_template
return render_func()
File '/opt/rhodecode/store/mii099lqnw6anfhgcrb78x7ybvggs7g5-python2.7-Pylons-1.0.1-patch1/lib/python2.7/site-packages/pylons/templating.py', line 241 in render_template
return literal(template.render_unicode(**globs))
File '/opt/rhodecode/store/ddcvr7xma53gx5qv7b5h6lsvqcbhm6xx-python2.7-Mako-1.0.1/lib/python2.7/site-packages/mako/template.py', line 452 in render_unicode
as_unicode=True)
File '/opt/rhodecode/store/ddcvr7xma53gx5qv7b5h6lsvqcbhm6xx-python2.7-Mako-1.0.1/lib/python2.7/site-packages/mako/runtime.py', line 803 in _render
**_kwargs_for_callable(callable_, data))
File '/opt/rhodecode/store/ddcvr7xma53gx5qv7b5h6lsvqcbhm6xx-python2.7-Mako-1.0.1/lib/python2.7/site-packages/mako/runtime.py', line 835 in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File '/opt/rhodecode/store/ddcvr7xma53gx5qv7b5h6lsvqcbhm6xx-python2.7-Mako-1.0.1/lib/python2.7/site-packages/mako/runtime.py', line 855 in _exec_template
_render_error(template, context, compat.exception_as())
File '/opt/rhodecode/store/ddcvr7xma53gx5qv7b5h6lsvqcbhm6xx-python2.7-Mako-1.0.1/lib/python2.7/site-packages/mako/runtime.py', line 864 in _render_error
result = template.error_handler(context, error)
File '/opt/rhodecode/store/ddcvr7xma53gx5qv7b5h6lsvqcbhm6xx-python2.7-Mako-1.0.1/lib/python2.7/site-packages/mako/runtime.py', line 853 in _exec_template
callable_(context, *args, **kwargs)
File '/home/***/.rccontrol/community-1/data/templates/base/root.html.py', line 58 in render_body
__M_writer(escape(next.body()))
File '/home/***/.rccontrol/community-1/data/templates/base/base.html.py', line 56 in render_body
__M_writer(escape(next.main()))
File '/home/***/.rccontrol/community-1/data/templates/summary/base.html.py', line 49 in render_main
__M_writer(escape(next.main()))
File '/home/***/.rccontrol/community-1/data/templates/summary/summary.html.py', line 53 in render_main
__M_writer(escape(self.repo_page_title(c.rhodecode_db_repo)))
File '/home/***/.rccontrol/community-1/data/templates/base/base.html.py', line 408 in render_repo_page_title
__M_writer(escape(h.url(str(h.hide_credentials(repo_instance.clone_uri)))))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xa6 in position 0: ordinal not in range(128)
</code></pre>
<p>I think becuase of ecnryption key changed the clone_uri have some odd characters and call for str() crashes.</p>
RhodeCode Appenlight - Bug #3991 (Resolved): report logs need upper marginhttps://issues.rhodecode.com/issues/39912016-06-07T12:01:45ZLisa Quatmannlisa@rhodecode.com
<p>See attached; this text needs some padding around it.</p>
RhodeCode Appenlight - Bug #3989 (Resolved): even up report spacinghttps://issues.rhodecode.com/issues/39892016-06-07T12:00:03ZLisa Quatmannlisa@rhodecode.com
<p>See attached; note that the headers are closer to the report stats than they are to each other. Could use a little straightening out.</p>
RhodeCode CE/EE - Bug #3971 (Resolved): [ce, vcs] Merge requests/Pull requests failing due to reb...https://issues.rhodecode.com/issues/39712016-06-02T12:22:19ZDaniel Ddaniel@rhodecode.com
<p>There is a problem with pull requests that sometimes say they are okay for merging but fail once the pull request is completed and the merge/rebase actually takes place.</p>
<p>I can't manage to reproduce this locally, and the problem seems intermittent. Apparently after trying a few times the merge may go through, which might point to a caching problem.</p>
<p>It seems the <em>real</em> merge is failing because it tries to create a new head in the repo, or 'no rebase in progress': </p>
<p><a href="https://ae.rhodecode.com/ui/report/593/17604" class="external">https://ae.rhodecode.com/ui/report/593/17604</a></p>
<pre><code> File rhodecode/controllers/pullrequests.py, line 659 in show
c.pull_request)
File rhodecode/model/pull_request.py, line 871 in merge_status
resp = self._try_merge(pull_request)
File rhodecode/model/pull_request.py, line 920 in _try_merge
pull_request, target_vcs, target_ref)
File rhodecode/model/pull_request.py, line 949 in _refresh_merge_state
workspace_id, dry_run=True)
File rhodecode/lib/vcs/backends/base.py, line 410 in merge
source_ref, message, user_name, user_email, dry_run=dry_run)
user_email user@email.com
message sample_message
source_ref
0 u'book'
1 u'elasticsearch-indexer'
2 u'072565c887d78ce373e6673a8568f7fe720abc4b'
shadow_repository_path /home/rhodecode/rhodecode/repositories/.__shadow_rhodecode-tools-ce_pr-2254
user_name user name
File rhodecode/lib/vcs/backends/hg/repository.py, line 686 in _merge_repo
log.exception('Failure when doing local merge on hg shadow repo')
shadow_repo <MercurialRepository at /home/rhodecode/rhodecode/repositories/.__shadow_rhodecode-tools-ce_pr-2254>
merge_failure_reason 0
e RepositoryError('no rebase in progress',)
</code></pre>
<p><a href="https://ae.rhodecode.com/ui/logs?resource=9&request_id=d40cf9ced8cb4b7ba620e2fc20f9d58a" class="external">https://ae.rhodecode.com/ui/logs?resource=9&request_id=d40cf9ced8cb4b7ba620e2fc20f9d58a</a></p>
<pre><code> Failure when doing local push on hg shadow repo
Traceback (most recent call last):
File "/nix/store/d7nhcy7xnmmisn6ck0sh5r874g9bdq8d-python2.7-rhodecode-enterprise-ce-4.1.0+20160601x133047xebb9963becd3/lib/python2.7/site-packages/rhodecode/lib/vcs/backends/hg/repository.py", line 711, in _merge_repo
enable_hooks=True)
File "/nix/store/d7nhcy7xnmmisn6ck0sh5r874g9bdq8d-python2.7-rhodecode-enterprise-ce-4.1.0+20160601x133047xebb9963becd3/lib/python2.7/site-packages/rhodecode/lib/vcs/backends/hg/repository.py", line 578, in _local_push
push_branches=push_branches)
File "/nix/store/d7nhcy7xnmmisn6ck0sh5r874g9bdq8d-python2.7-rhodecode-enterprise-ce-4.1.0+20160601x133047xebb9963becd3/lib/python2.7/site-packages/rhodecode/lib/vcs/client_http.py", line 102, in f
return self._call(name, *args, **kwargs)
File "/nix/store/d7nhcy7xnmmisn6ck0sh5r874g9bdq8d-python2.7-rhodecode-enterprise-ce-4.1.0+20160601x133047xebb9963becd3/lib/python2.7/site-packages/rhodecode/lib/vcs/client_http.py", line 120, in _call_with_logging
return RemoteRepo._call(self, name, *args, **kwargs)
File "/nix/store/d7nhcy7xnmmisn6ck0sh5r874g9bdq8d-python2.7-rhodecode-enterprise-ce-4.1.0+20160601x133047xebb9963becd3/lib/python2.7/site-packages/rhodecode/lib/vcs/exceptions.py", line 182, in wrapper
raise _EXCEPTION_MAP[kind](*e.args)
RepositoryError: push creates new remote head aee444655256!
</code></pre> RhodeCode CE/EE - Bug #3555 (Resolved): Then disabled repo location change the panel should expli...https://issues.rhodecode.com/issues/35552016-04-22T14:04:01ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>inside .ini file do <code>allow_repo_location_change = false</code></p>
<p>Then go to admin > settings > vcs</p>
<p>This would show you an empty <code>Main Storage Location</code> panel.</p>
<p>We should explicitly state that the repository location change is disabled.</p>
RhodeCode CE/EE - Bug #3549 (Resolved): [4.0.0 regression], file source links use last commit id ...https://issues.rhodecode.com/issues/35492016-04-21T13:20:01ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Case:</p>
<p>You're browsing a file tree at tag v2.2.8 - commit id XXX</p>
<p>When entering particular file (lets say setup.py), the links and headers are based on the last commit (YYY) of file instead of the XXX.</p>
<p>This causes few problems:</p>
<ul>
<li>the commit info suddenly changes when moving from tree view, to file view, since all info is taken from YYY</li>
<li>references suddenly change, so you're puzzled why the tag reference is suddenly missing, again since references are calculated from YYY</li>
<li>links like raw, annotate etc uses the last commit id (YYY), and clicking on them actually can show you totally different things since YYY can be a different branch last edit.</li>
</ul>
<p>We should always use XXX since this is the file tree you're browsing AT, and all things should be poiting to this commit.</p>
<p>I would also add additional link to what's the last commit of file, after XXX that will show YYY, so one can tell if actual XXX commit is one that changed file setup.py</p>
RhodeCode CE/EE - Bug #3357 (Resolved): switch to sometimes fails to load files metadatahttps://issues.rhodecode.com/issues/33572016-03-21T23:38:59ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Go to files view, clear cache. Run switch to to a tag, or different branch observe that loading files-metadata is stuck at "loading..."</p>
RhodeCode CE/EE - Bug #2264 (Resolved): New user password change doesn't actually require a passw...https://issues.rhodecode.com/issues/22642015-07-27T17:22:56ZGreg Gauthiergreg@rhodecode.com
<p>When creating a new user, if you select "password change" checkbox to force a password change on the first login, the user will be prompted appropriately, but he doesn't actually have to supply a different password. It can be the exact same password he first logged on with. </p>
<p>In fact, if you go to @_admin/my_account/password@ after logging in, and execute a change of password, you can put the same password in all three fields, and it will be successful. Its as though we're not doing any checking at all. </p>
<p>Some thoughts I have:</p>
<ol>
<li><p>If we're going to include a "force change" for new users, it should actually <em>force</em> a change, and not allow me to simply use the same password over again.</p></li>
<li><p>For password changes on a logged in user:<br>
a. If we don't care that it's the same password, then we should simply offer a field for the new password, because the old one doesn't really matter.<br>
b. If we DO care that it's the same, then we should be checking, just like on new user logins. </p></li>
</ol>
<p>What do you guys think?</p>