RhodeCode - issues: Issueshttps://issues.rhodecode.com/https://issues.rhodecode.com/favicon.ico?16960560042016-05-23T17:22:52ZRhodeCode - issues
Redmine RhodeCode CE/EE - Bug #3956 (New): [ce] - svn commit with all 'None' properties (author, message,...https://issues.rhodecode.com/issues/39562016-05-23T17:22:52ZDaniel Ddaniel@rhodecode.com
<p>It's commit 287 in the libpri repo <code>svn checkout http://svn.asterisk.org/svn/libpri/branches/1.4 libpri</code></p>
<p>Should investigate why/how this happens.</p>
RhodeCode CE/EE - Bug #3939 (New): [ux] changelog filter blank after going back in browserhttps://issues.rhodecode.com/issues/39392016-05-18T14:50:09ZLisa Quatmannlisa@rhodecode.com
<p>When you select a filter in the changelog, view the filtered selection w/graph, and then click the back button in your browser, the filter selection will be blank.<br>
See attached.</p>
<p>I'd guess that this is pjax-related and the select2 needs to be re-initialised. </p>
RhodeCode CE/EE - Bug #3923 (New): odd exception on running internal-codehttps://issues.rhodecode.com/issues/39232016-05-11T14:51:49ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Seen it in logs:</p>
<pre><code>2016-05-11 12:50:13.045 ERROR [rhodecode.lib.hooks_daemon] Exception when handling hook <function post_push at 0x7fb56ae6b8c0>
Traceback (most recent call last):
File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/hooks_daemon.py", line 241, in _call_hook
result = hook(extras)
File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/hooks_base.py", line 178, in post_push
**extras)
File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/hooks_base.py", line 234, in __call__
return callback(**kwargs_to_pass)
File "/home/rhodecode/rhodecode/rcextensions/__init__.py", line 215, in wrapper
return func(*args, **kwargs)
File "/home/rhodecode/rhodecode/rcextensions/__init__.py", line 196, in wrapper
return func(*args, **kwargs)
File "/home/rhodecode/rhodecode/rcextensions/__init__.py", line 538, in _push_hook
extracted_commits = call(**kwargs)
File "/home/rhodecode/rhodecode/rcextensions/extract_commits.py", line 47, in run
vcs_repo = repo.scm_instance(cache=False)
File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/model/db.py", line 1920, in scm_instance
return self._get_instance(cache=bool(cache), config=config)
File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/model/db.py", line 1940, in _get_instance
vcs_alias = get_scm(repo_full_path)[0]
File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/utils/helpers.py", line 62, in get_scm
found_scms = get_scms(path)
File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/utils/helpers.py", line 60, in get_scms
return [(scm, path) for scm in get_scms_for_path(path)]
File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/utils/helpers.py", line 111, in get_scms_for_path
if backend.is_valid_repository(path):
File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/backends/git/repository.py", line 141, in is_valid_repository
GitRepository(path)
File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/backends/git/repository.py", line 70, in __init__
self._init_repo(create, src_url, update_after_clone, bare)
File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/backends/git/repository.py", line 166, in _init_repo
self._remote.assert_correct_path()
File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/client_http.py", line 102, in f
return self._call(name, *args, **kwargs)
File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/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/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/exceptions.py", line 162, in wrapper
return func(*args, **kwargs)
File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/client_http.py", line 116, in _call
return _remote_call(self.url, payload, EXCEPTIONS_MAP, self._session)
File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/client_http.py", line 157, in _remote_call
response = session.post(url, data=msgpack.packb(payload))
File "/nix/store/vgv2pincn674vwaj4d1jcizyy8hbannf-python2.7-rhodecode-enterprise-ce-4.0.0+20160511x102518x30e109dc6cc6/lib/python2.7/site-packages/rhodecode/lib/vcs/__init__.py", line 246, in post
curl.setopt(curl.URL, url)
error: cannot invoke setopt() - perform() is currently running
</code></pre> RhodeCode CE/EE - Bug #3922 (New): svn backend returns different diff to git/hg backendshttps://issues.rhodecode.com/issues/39222016-05-11T14:29:02ZDaniel Ddaniel@rhodecode.com
<p>In vcsserver calling <code>a_vcs_backend.diff(rev1='same', rev2='same', path1='samefile', path2='samefile').raw_data</code></p>
<p>returns for SVN:</p>
<pre><code>Index: samefile
===================================================================
diff --git a/samefile b/samefile
--- a/samefile\t(revision 2)
+++ b/samefile\t(revision 2)
</code></pre>
<p>and empty string for both git / hg</p>
<p>Not sure what the correct thing to do is here, empty string makes sense but maybe not when a path has been given in?</p>
RhodeCode CE/EE - Bug #3615 (New): (OperationalError) too many SQL variables on admin journal pagehttps://issues.rhodecode.com/issues/36152016-05-06T11:44:17ZDaniel Ddaniel@rhodecode.com
<p>Steps to reproduce:</p>
<ul>
<li>use sqlite database</li>
<li>add over 1000 repos</li>
<li>open /_admin/journal</li>
</ul>
<p>OperationalError: (OperationalError) too many SQL variables u'SELECT count(*) AS count_1 \nFROM (SELECT user_logs.user_log_id AS user_logs_user_log_id, user_logs.user_id AS user_logs_user_id, user_logs.username AS user_logs_username, user_logs.repository_id AS user_logs_repository_id, user_logs.repository_name AS user_logs_repository_name, user_logs.user_ip AS user_logs_user_ip, user_logs.action AS user_logs_action, user_logs.action_date AS user_logs_action_date \nFROM user_logs \nWHERE user_logs.repository_id IN (?, ?, ?, ?, ?, ?, ?......) ORDER BY user_logs.action_date DESC) AS anon_1' (1,2,....1001 ids)</p>
<pre><code>File "/Users/dan/Projects/rc/rhodecode-enterprise-ce-dan/rhodecode/controllers/journal.py", line 262, in public_journal
c.journal_pager = Page(journal, page=p, items_per_page=20)
File "/nix/store/08jg8cv3mdsjdqa367b9gmilcmif46s3-python2.7-WebHelpers-1.3/lib/python2.7/site-packages/webhelpers/paginate.py", line 413, in __init__
self.item_count = len(self.collection)
</code></pre>
<p>The problem is in <code>rhodecode.controllers.journal.JournalController:_get_journal_data()</code></p>
<p>The query it generates has an IN which can fill up to the max limit for sqlite</p>
<p>Possible solutions:</p>
<ul>
<li>use a for loop</li>
<li>rewrite query to use joins instead</li>
</ul>
<p>Current workarounds:</p>
<ul>
<li>use mysql/postgresql</li>
</ul>
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 #3441 (New): [ux] clicking on line in file view scrolls to that linehttps://issues.rhodecode.com/issues/34412016-04-05T13:35:56ZLisa Quatmannlisa@rhodecode.com
<p>If you are looking at a changeset and click on a line to select it, the line is highlighted and the location is changed to link to the line.<br>
If you are looking at a file and click a line in the same way, it does the above and scrolls to that line so that it's at the top.</p>
<p>Both of them should work the same way.<br>
If the changeset view is able to prevent scrolling, then the file view should be able to do the same.<br>
[ see <a href="https://internal-code.rhodecode.com/rhodecode-momentum/files/2aeb654e2ef689756c0b04650b94875a920f7a88/rhodecode/public/js/src/rhodecode.js#L153" class="external">https://internal-code.rhodecode.com/rhodecode-momentum/files/2aeb654e2ef689756c0b04650b94875a920f7a88/rhodecode/public/js/src/rhodecode.js#L153</a> ]</p>
RhodeCode CE/EE - Bug #3382 (New): download superrepo with subreposhttps://issues.rhodecode.com/issues/33822016-03-25T01:30:34ZMaksim Leventhalmaksim.levental@gmail.com
<p>Supposedly there's a hidden feature </p>
<p><a href="https://rhodecode.tenderapp.com/help/discussions/questions/32935-zip-download-with-subrepos" class="external">https://rhodecode.tenderapp.com/help/discussions/questions/32935-zip-download-with-subrepos</a></p>
<p>by which you can download subrepos along with superrepos in one fell swoop... but it's been disabled (according to Marcin).<br>
Marcin says it's a difficult problem (atomicity) and recommended I open this issue. For the record here are relevant excerpts from the bash script we use on my server to simulate this:</p>
<pre><code>#!/bin/bash
set -e
NIGHTLY=0
ROLLBACK=0
if [ x$1 == 'x-n' ]; then
NIGHTLY=1
fi
REPOS=`cut -d " " -f 2 < .hgsubstate | sort`
REPOS=". $REPOS"
if [ $NIGHTLY == 1 ]; then
echo "Nightly build - moving all to default tip"
hg pull
hg up -C default
for repo in $REPOS; do
hg pull -R $repo
hg up -C -R $repo default
done
if hg commit -m "Nightly temp commit"; then
echo "Did temporary commit. Will rollback when done."
ROLLBACK=1
fi
fi
if [ $ROLLBACK == 1 ]; then
echo "Rolling back temp commit..."
hg rollback
hg up -C
fi
</code></pre> 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 #3351 (New): Duplicate IP whitelist entry shows error flashhttps://issues.rhodecode.com/issues/33512016-03-21T15:54:20ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>when trying to add a new IP whitelist that is a duplicate entry, we're showing an error flash without an explanation. We should detect duplicate entries and skip those, and for sure not show error messages.</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>
RhodeCode CE/EE - Bug #3250 (New): Posting a comment message is very slow !https://issues.rhodecode.com/issues/32502016-03-08T11:25:06ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>I noticed that posting a message can take few seconds to do. We should check why and fix it :)</p>
RhodeCode CE/EE - Bug #3022 (New): SVN support with repositories groupshttps://issues.rhodecode.com/issues/30222016-01-06T14:12:06ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>WIP: it seems svn is not supporting repositories groups at the moment.</p>
<p>Will put my findings in this ticket</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>
RhodeCode CE/EE - Bug #1404 (Resolved): clone of really huge git repo (4gb) causes pyro to explodehttps://issues.rhodecode.com/issues/14042015-03-18T16:44:33ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Client output <br>
$ time git clone <a href="http://admin@rc-beta.pnl.gov/ARES/AVID" class="external">http://admin@rc-beta.pnl.gov/ARES/AVID</a><br>
Cloning into 'AVID'...<br>
error: RPC failed; result=22, HTTP code = 500<br>
fatal: The remote end hung up unexpectedly</p>
<p>real 9m26.855s<br>
user 0m0.082s<br>
sys 0m0.249s</p>
<p>Enterprise-1.log output </p>
<p>2015-03-18 08:10:51.605 DEBUG [rhodecode.lib.middleware.vcs] request path: <code>/ARES/AVID/info/refs</code> detected as HG False<br>
2015-03-18 08:10:51.605 DEBUG [rhodecode.lib.middleware.vcs] request path: <code>/ARES/AVID/info/refs</code> detected as GIT True<br>
2015-03-18 08:10:51.605 DEBUG [rhodecode.lib.middleware.vcs] content not gzipped, gzipMiddleware passing request further<br>
2015-03-18 08:10:51.641 DEBUG [rhodecode.lib.middleware.simplevcs] Extracted repo name is ARES/AVID<br>
2015-03-18 08:10:51.642 DEBUG [rhodecode.lib.utils] Checking if repo: ARES/AVID is a valid path<br>
2015-03-18 08:10:51.642 DEBUG [rhodecode.lib.vcs.client] RepoMaker call on /data/rhodecode/ARES/AVID<br>
2015-03-18 08:10:51.642 DEBUG [rhodecode.lib.vcs.client] Calling @assert_correct_path<br>
2015-03-18 08:10:51.645 DEBUG [rhodecode.lib.vcs.client] RepoMaker call on /data/rhodecode/ARES/AVID<br>
2015-03-18 08:10:51.645 DEBUG [rhodecode.lib.vcs.client] Calling @is_path_valid_repository<br>
2015-03-18 08:10:51.651 DEBUG [beaker.container] lock_creatfunc (didnt wait)<br>
2015-03-18 08:10:51.651 DEBUG [beaker.container] get_value creating new value<br>
2015-03-18 08:10:51.654 DEBUG [beaker.container] set_value stored time 1426691451.654518 expire time 10<br>
2015-03-18 08:10:51.654 DEBUG [beaker.container] released create lock<br>
2015-03-18 08:10:51.655 DEBUG [beaker.container] lock_creatfunc (didnt wait)<br>
2015-03-18 08:10:51.655 DEBUG [beaker.container] get_value creating new value<br>
2015-03-18 08:10:51.663 DEBUG [beaker.container] set_value stored time 1426691451.663413 expire time 10<br>
2015-03-18 08:10:51.663 DEBUG [beaker.container] released create lock<br>
2015-03-18 08:10:51.664 DEBUG [beaker.container] lock_createfunc (waiting)<br>
2015-03-18 08:10:51.664 DEBUG [beaker.container] lock_createfunc (waited)<br>
2015-03-18 08:10:51.664 DEBUG [beaker.container] get_value creating new value<br>
2015-03-18 08:10:51.674 DEBUG [beaker.container] set_value stored time 1426691451.674971 expire time 10<br>
2015-03-18 08:10:51.675 DEBUG [beaker.container] released create lock<br>
2015-03-18 08:10:51.675 DEBUG [rhodecode.lib.auth] checking if ip:130.20.174.26 is subnet of set(['0.0.0.0/0', '::/0'])<br>
2015-03-18 08:10:51.675 DEBUG [rhodecode.lib.auth] IP 130.20.174.26 is network 0.0.0.0/0<br>
2015-03-18 08:10:51.676 DEBUG [rhodecode.lib.auth] IP:130.20.174.26 is in range of set(['0.0.0.0/0', '::/0'])<br>
2015-03-18 08:10:51.676 INFO [rhodecode.lib.middleware.simplevcs] Access for IP:130.20.174.26 allowed<br>
2015-03-18 08:10:51.676 DEBUG [rhodecode.lib.auth] No data in that could been used to log in<br>
2015-03-18 08:10:51.677 DEBUG [rhodecode.lib.auth] Failed to load user. Fallback to default user<br>
2015-03-18 08:10:51.677 DEBUG [rhodecode.model.user] doing fill data based on: user_id:1 api_key:None username:None<br>
2015-03-18 08:10:51.677 DEBUG [rhodecode.model.user] filling user: data<br>
2015-03-18 08:10:51.728 DEBUG [rhodecode.lib.auth] Auth User is now <br>
2015-03-18 08:10:51.728 DEBUG [rhodecode.lib.auth] Checking VCS protocol permissions set(['repository.read', 'repository.admin', 'repository.write']) for user: repo:<code>ARES/AVID</code><br>
2015-03-18 08:10:51.753 DEBUG [rhodecode.lib.auth] Computing PERMISSION tree for scope {'user_group_id': -1, 'repo_id': 1, 'repo_name': u'ARES/AVID', 'repo_group_id': -1}<br>
2015-03-18 08:10:51.837 DEBUG [rhodecode.lib.auth] PERMISSION tree computed [('repositories', 1), ('user_groups', 0), ('repositories_groups', 0), ('global', 11)]<br>
2015-03-18 08:10:51.837 DEBUG [rhodecode.lib.auth] Permission to repo:<code>ARES/AVID</code> GRANTED for user: @ PermissionMiddleware<br>
2015-03-18 08:10:51.838 DEBUG [beaker.container] lock_creatfunc (didnt wait)<br>
2015-03-18 08:10:51.838 DEBUG [beaker.container] get_value creating new value<br>
2015-03-18 08:10:51.840 DEBUG [beaker.container] set_value stored time 1426691451.840897 expire time 10<br>
2015-03-18 08:10:51.841 DEBUG [beaker.container] released create lock<br>
2015-03-18 08:10:51.841 DEBUG [rhodecode.lib.middleware.simplevcs] Repository path is /data/rhodecode/ARES/AVID<br>
2015-03-18 08:10:51.841 INFO [rhodecode.lib.middleware.simplevcs] pull action on git repo "ARES/AVID" by "default" from 130.20.174.26<br>
2015-03-18 08:10:51.841 DEBUG [rhodecode.lib.hooks_daemon] Preparing callback daemon and registering hook object<br>
2015-03-18 08:10:51.843 DEBUG [rhodecode.lib.hooks_daemon] Hooks uri is: PYRO:obj_4f77b244c6a94aa5976c9870c49968e3@localhost:53401<br>
2015-03-18 08:10:51.843 DEBUG [rhodecode.lib.hooks_daemon] Running event loop of callback daemon in background thread<br>
2015-03-18 08:10:51.844 DEBUG [rhodecode.lib.middleware.simplevcs] HOOKS extras is {'hooks': ['push', 'pull'], 'locked_by': [None, None, None], 'git_update_server_info': False, 'config': '/root/.rccontrol/enterprise-1/rhodecode.ini', 'ip': '130.20.174.26', 'make_lock': None, 'action': 'pull', 'git_path': '/opt/rhodecode/store/3flkiihiiifnpgz0rajf65x407ij4vvi-python2.7-RhodeCodeEnterprise-3.1.0/bin/git', 'username': u'default', 'repository': 'ARES/AVID', 'hooks_uri': 'PYRO:obj_4f77b244c6a94aa5976c9870c49968e3@localhost:53401', 'server_url': '<a href="http://rc-beta.pnl.gov" class="external">http://rc-beta.pnl.gov</a>', 'scm': 'git'}<br>
2015-03-18 08:10:51.844 DEBUG [rhodecode.lib.middleware.utils.wsgi_app_caller_client] Forwarding WSGI request via proxy <br>
[2015-03-18 08:17:09 +0000] [10955] [CRITICAL] WORKER TIMEOUT (pid:10986)<br>
2015-03-18 08:17:09.263 DEBUG [rhodecode.lib.hooks_daemon] Waiting for background thread to finish.<br>
2015-03-18 08:17:09.275 INFO [rhodecode.lib.middleware.wrapper] IP: 130.20.174.26 Request to /ARES/AVID/info/refs time: 3600.012s<br>
[2015-03-18 08:17:09 +0000] [10986] [INFO] Worker exiting (pid: 10986)<br>
Exception TypeError: TypeError('an integer is required',) in > ignored<br>
Exception TypeError: TypeError('an integer is required',) in > ignored<br>
[2015-03-18 08:17:09 +0000] [23186] [INFO] Booting worker with pid: 23186<br>
2015-03-18 08:17:09.395 DEBUG [rhodecode.lib.middleware.utils.wsgi_app_caller_client] Got result from proxy, returning to WSGI container<br>
2015-03-18 08:17:09.396 DEBUG [rhodecode.lib.hooks_daemon] Waiting for background thread to finish.<br>
2015-03-18 08:17:09.403 INFO [rhodecode.lib.middleware.wrapper] IP: 130.20.174.26 Request to /ARES/AVID/info/refs time: 377.799s<br>
2015-03-18 08:17:09.825 DEBUG [rhodecode.lib.middleware.vcs] request path: <code>/ARES/AVID/git-upload-pack</code> detected as HG False<br>
2015-03-18 08:17:09.825 DEBUG [rhodecode.lib.middleware.vcs] request path: <code>/ARES/AVID/git-upload-pack</code> detected as GIT True<br>
2015-03-18 08:17:09.826 DEBUG [rhodecode.lib.middleware.vcs] content not gzipped, gzipMiddleware passing request further<br>
2015-03-18 08:17:09.861 DEBUG [rhodecode.lib.middleware.simplevcs] Extracted repo name is ARES/AVID<br>
2015-03-18 08:17:09.862 DEBUG [rhodecode.lib.utils] Checking if repo: ARES/AVID is a valid path<br>
2015-03-18 08:17:09.862 DEBUG [rhodecode.lib.vcs.client] RepoMaker call on /data/rhodecode/ARES/AVID<br>
2015-03-18 08:17:09.862 DEBUG [rhodecode.lib.vcs.client] Calling @assert_correct_path<br>
2015-03-18 08:17:09.865 DEBUG [rhodecode.lib.vcs.client] RepoMaker call on /data/rhodecode/ARES/AVID<br>
2015-03-18 08:17:09.866 DEBUG [rhodecode.lib.vcs.client] Calling @is_path_valid_repository<br>
2015-03-18 08:17:09.873 DEBUG [beaker.container] lock_creatfunc (didnt wait)<br>
2015-03-18 08:17:09.873 DEBUG [beaker.container] get_value creating new value<br>
2015-03-18 08:17:09.876 DEBUG [beaker.container] set_value stored time 1426691829.876274 expire time 10<br>
2015-03-18 08:17:09.876 DEBUG [beaker.container] released create lock<br>
2015-03-18 08:17:09.877 DEBUG [beaker.container] lock_creatfunc (didnt wait)<br>
2015-03-18 08:17:09.877 DEBUG [beaker.container] get_value creating new value<br>
2015-03-18 08:17:09.885 DEBUG [beaker.container] set_value stored time 1426691829.88527 expire time 10<br>
2015-03-18 08:17:09.885 DEBUG [beaker.container] released create lock<br>
2015-03-18 08:17:09.886 DEBUG [beaker.container] lock_creatfunc (didnt wait)<br>
2015-03-18 08:17:09.886 DEBUG [beaker.container] get_value creating new value<br>
2015-03-18 08:17:09.894 DEBUG [beaker.container] set_value stored time 1426691829.894015 expire time 10<br>
2015-03-18 08:17:09.894 DEBUG [beaker.container] released create lock<br>
2015-03-18 08:17:09.894 DEBUG [rhodecode.lib.auth] checking if ip:130.20.174.26 is subnet of set(['0.0.0.0/0', '::/0'])<br>
2015-03-18 08:17:09.894 DEBUG [rhodecode.lib.auth] IP 130.20.174.26 is network 0.0.0.0/0<br>
2015-03-18 08:17:09.895 DEBUG [rhodecode.lib.auth] IP:130.20.174.26 is in range of set(['0.0.0.0/0', '::/0'])<br>
2015-03-18 08:17:09.895 INFO [rhodecode.lib.middleware.simplevcs] Access for IP:130.20.174.26 allowed<br>
2015-03-18 08:17:09.896 DEBUG [rhodecode.lib.auth] No data in that could been used to log in<br>
2015-03-18 08:17:09.896 DEBUG [rhodecode.lib.auth] Failed to load user. Fallback to default user<br>
2015-03-18 08:17:09.896 DEBUG [rhodecode.model.user] doing fill data based on: user_id:1 api_key:None username:None<br>
2015-03-18 08:17:09.896 DEBUG [rhodecode.model.user] filling user: data<br>
2015-03-18 08:17:10.039 DEBUG [rhodecode.lib.auth] Auth User is now <br>
2015-03-18 08:17:10.040 DEBUG [rhodecode.lib.auth] Checking VCS protocol permissions set(['repository.read', 'repository.admin', 'repository.write']) for user: repo:<code>ARES/AVID</code><br>
2015-03-18 08:17:10.064 DEBUG [rhodecode.lib.auth] Computing PERMISSION tree for scope {'user_group_id': -1, 'repo_id': 1, 'repo_name': u'ARES/AVID', 'repo_group_id': -1}<br>
2015-03-18 08:17:10.142 DEBUG [rhodecode.lib.auth] PERMISSION tree computed [('repositories', 1), ('user_groups', 0), ('repositories_groups', 0), ('global', 11)]<br>
2015-03-18 08:17:10.142 DEBUG [rhodecode.lib.auth] Permission to repo:<code>ARES/AVID</code> GRANTED for user: @ PermissionMiddleware<br>
2015-03-18 08:17:10.143 DEBUG [beaker.container] lock_creatfunc (didnt wait)<br>
2015-03-18 08:17:10.143 DEBUG [beaker.container] get_value creating new value<br>
2015-03-18 08:17:10.146 DEBUG [beaker.container] set_value stored time 1426691830.146178 expire time 10<br>
2015-03-18 08:17:10.146 DEBUG [beaker.container] released create lock<br>
2015-03-18 08:17:10.146 DEBUG [rhodecode.lib.middleware.simplevcs] Repository path is /data/rhodecode/ARES/AVID<br>
2015-03-18 08:17:10.146 INFO [rhodecode.lib.middleware.simplevcs] pull action on git repo "ARES/AVID" by "default" from 130.20.174.26<br>
2015-03-18 08:17:10.147 DEBUG [rhodecode.lib.hooks_daemon] Preparing callback daemon and registering hook object<br>
2015-03-18 08:17:10.148 DEBUG [rhodecode.lib.hooks_daemon] Hooks uri is: PYRO:obj_7893cae0439a4a6f914402911a4e80e5@localhost:41917<br>
2015-03-18 08:17:10.148 DEBUG [rhodecode.lib.hooks_daemon] Running event loop of callback daemon in background thread<br>
2015-03-18 08:17:10.149 DEBUG [rhodecode.lib.middleware.simplevcs] HOOKS extras is {'hooks': ['push', 'pull'], 'locked_by': [None, None, None], 'git_update_server_info': False, 'config': '/root/.rccontrol/enterprise-1/rhodecode.ini', 'ip': '130.20.174.26', 'make_lock': None, 'action': 'pull', 'git_path': '/opt/rhodecode/store/3flkiihiiifnpgz0rajf65x407ij4vvi-python2.7-RhodeCodeEnterprise-3.1.0/bin/git', 'username': u'default', 'repository': 'ARES/AVID', 'hooks_uri': 'PYRO:obj_7893cae0439a4a6f914402911a4e80e5@localhost:41917', 'server_url': '<a href="http://rc-beta.pnl.gov" class="external">http://rc-beta.pnl.gov</a>', 'scm': 'git'}<br>
2015-03-18 08:17:10.149 DEBUG [rhodecode.lib.middleware.utils.wsgi_app_caller_client] Forwarding WSGI request via proxy <br>
2015-03-18 08:17:10.157 DEBUG [rhodecode.lib.hooks_daemon] Called pre_pull of Hooks object<br>
2015-03-18 08:17:10.638 DEBUG [pylons.configuration] Initializing configuration, package: 'rhodecode'<br>
2015-03-18 08:17:10.662 INFO [rhodecode.config.environment] Enabled backends: ['hg', 'git', 'svn']<br>
2015-03-18 08:17:10.669 INFO [rhodecode.model] initializing db for sqlite:////root/.rccontrol/enterprise-1/rhodecode.db<br>
2015-03-18 08:17:10.669 INFO [rhodecode.lib.auth] getting information about all available permissions<br>
2015-03-18 08:17:10.789 DEBUG [beaker.container] lock_createfunc (waiting)<br>
2015-03-18 08:17:10.789 DEBUG [beaker.container] lock_createfunc (waited)<br>
2015-03-18 08:17:10.789 DEBUG [beaker.container] get_value creating new value<br>
2015-03-18 08:17:10.792 DEBUG [beaker.container] set_value stored time 1426691830.792969 expire time 10<br>
2015-03-18 08:17:10.793 DEBUG [beaker.container] released create lock<br>
2015-03-18 08:17:10.793 DEBUG [rhodecode.lib.utils] settings ui from db: [hooks] changegroup.repo_size=python:vcsserver.hooks.repo_size<br>
2015-03-18 08:17:10.793 DEBUG [rhodecode.lib.utils] settings ui from db: [hooks] preoutgoing.pre_pull=python:vcsserver.hooks.pre_pull<br>
2015-03-18 08:17:10.793 DEBUG [rhodecode.lib.utils] settings ui from db: [hooks] outgoing.pull_logger=python:vcsserver.hooks.log_pull_action<br>
2015-03-18 08:17:10.793 DEBUG [rhodecode.lib.utils] settings ui from db: [hooks] prechangegroup.pre_push=python:vcsserver.hooks.pre_push<br>
2015-03-18 08:17:10.793 DEBUG [rhodecode.lib.utils] settings ui from db: [hooks] changegroup.push_logger=python:vcsserver.hooks.log_push_action<br>
2015-03-18 08:17:10.793 DEBUG [rhodecode.lib.utils] settings ui from db: [extensions] largefiles=<br>
2015-03-18 08:17:10.794 DEBUG [rhodecode.lib.utils] settings ui from db: [largefiles] usercache=/data/rhodecode/.cache/largefiles<br>
2015-03-18 08:17:10.794 DEBUG [rhodecode.lib.utils] settings ui from db: [vcs_svn_branch] 9aac1a38c3b8a0cdc4ae0f960a5f83332bc4fa5e=/branches/*<br>
2015-03-18 08:17:10.794 DEBUG [rhodecode.lib.utils] settings ui from db: [vcs_svn_branch] c7e6a611c87da06529fd0dd733308481d67c71a8=/trunk<br>
2015-03-18 08:17:10.794 DEBUG [rhodecode.lib.utils] settings ui from db: [vcs_svn_tag] ff89f8c714d135d865f44b90e5413b88de19a55f=/tags/*<br>
2015-03-18 08:17:10.794 DEBUG [rhodecode.lib.utils] settings ui from db: [web] push_ssl=false<br>
2015-03-18 08:17:10.794 DEBUG [rhodecode.lib.utils] settings ui from db: [web] allow_archive=gz zip bz2<br>
2015-03-18 08:17:10.794 DEBUG [rhodecode.lib.utils] settings ui from db: [web] allow_push=*<br>
2015-03-18 08:17:10.794 DEBUG [rhodecode.lib.utils] settings ui from db: [web] baseurl=/<br>
2015-03-18 08:17:10.794 DEBUG [rhodecode.lib.utils] settings ui from db: [paths] /=/data/rhodecode<br>
2015-03-18 08:17:10.794 DEBUG [rhodecode.lib.utils] settings ui from db: [phases] publish=true<br>
2015-03-18 08:17:10.795 DEBUG [beaker.container] lock_createfunc (waiting)<br>
2015-03-18 08:17:10.795 DEBUG [beaker.container] lock_createfunc (waited)<br>
2015-03-18 08:17:10.795 DEBUG [beaker.container] get_value creating new value<br>
2015-03-18 08:17:10.799 DEBUG [beaker.container] set_value stored time 1426691830.799373 expire time 10<br>
2015-03-18 08:17:10.799 DEBUG [beaker.container] released create lock<br>
2015-03-18 08:17:10.803 INFO [rhodecode.model.scm] scanning for repositories in /data/rhodecode<br>
2015-03-18 08:17:10.804 DEBUG [rhodecode.lib.utils] settings ui from db: [hooks] changegroup.repo_size=python:vcsserver.hooks.repo_size<br>
2015-03-18 08:17:10.804 DEBUG [rhodecode.lib.utils] settings ui from db: [hooks] preoutgoing.pre_pull=python:vcsserver.hooks.pre_pull<br>
2015-03-18 08:17:10.804 DEBUG [rhodecode.lib.utils] settings ui from db: [hooks] outgoing.pull_logger=python:vcsserver.hooks.log_pull_action<br>
2015-03-18 08:17:10.804 DEBUG [rhodecode.lib.utils] settings ui from db: [hooks] prechangegroup.pre_push=python:vcsserver.hooks.pre_push<br>
2015-03-18 08:17:10.805 DEBUG [rhodecode.lib.utils] settings ui from db: [hooks] changegroup.push_logger=python:vcsserver.hooks.log_push_action<br>
2015-03-18 08:17:10.805 DEBUG [rhodecode.lib.utils] settings ui from db: [extensions] largefiles=<br>
2015-03-18 08:17:10.805 DEBUG [rhodecode.lib.utils] settings ui from db: [largefiles] usercache=/data/rhodecode/.cache/largefiles<br>
2015-03-18 08:17:10.805 DEBUG [rhodecode.lib.utils] settings ui from db: [vcs_svn_branch] 9aac1a38c3b8a0cdc4ae0f960a5f83332bc4fa5e=/branches/*<br>
2015-03-18 08:17:10.805 DEBUG [rhodecode.lib.utils] settings ui from db: [vcs_svn_branch] c7e6a611c87da06529fd0dd733308481d67c71a8=/trunk<br>
2015-03-18 08:17:10.805 DEBUG [rhodecode.lib.utils] settings ui from db: [vcs_svn_tag] ff89f8c714d135d865f44b90e5413b88de19a55f=/tags/*<br>
2015-03-18 08:17:10.805 DEBUG [rhodecode.lib.utils] settings ui from db: [web] push_ssl=false<br>
2015-03-18 08:17:10.805 DEBUG [rhodecode.lib.utils] settings ui from db: [web] allow_archive=gz zip bz2<br>
2015-03-18 08:17:10.805 DEBUG [rhodecode.lib.utils] settings ui from db: [web] allow_push=*<br>
2015-03-18 08:17:10.805 DEBUG [rhodecode.lib.utils] settings ui from db: [web] baseurl=/<br>
2015-03-18 08:17:10.806 DEBUG [rhodecode.lib.utils] settings ui from db: [paths] /=/data/rhodecode<br>
2015-03-18 08:17:10.806 DEBUG [rhodecode.lib.utils] settings ui from db: [phases] publish=true<br>
2015-03-18 08:17:10.807 DEBUG [rhodecode.lib.utils] now scanning in /data/rhodecode location recursive:True...<br>
2015-03-18 08:17:10.819 DEBUG [rhodecode.lib.vcs.client] RepoMaker call on /data/rhodecode/ARES<br>
2015-03-18 08:17:10.819 DEBUG [rhodecode.lib.vcs.client] Calling @assert_correct_path<br>
2015-03-18 08:19:19.359 DEBUG [rhodecode.lib.hooks_daemon] Called post_pull of Hooks object<br>
2015-03-18 08:19:19.396 INFO [rhodecode.lib.utils] Logging action:pull on ARES/AVID by user: ip:130.20.174.26<br>
2015-03-18 08:20:18.423 DEBUG [rhodecode.lib.hooks_daemon] Waiting for background thread to finish.<br>
2015-03-18 08:20:18.431 ERROR [rhodecode.lib.middleware.simplevcs] Exception while handling request<br>
Traceback (most recent call last):<br>
File "/opt/rhodecode/store/3flkiihiiifnpgz0rajf65x407ij4vvi-python2.7-RhodeCodeEnterprise-3.1.0/lib/python2.7/site-packages/rhodecode/lib/middleware/simplevcs.py", line 176, in <strong>call</strong><br>
File "/opt/rhodecode/store/3flkiihiiifnpgz0rajf65x407ij4vvi-python2.7-RhodeCodeEnterprise-3.1.0/lib/python2.7/site-packages/rhodecode/lib/middleware/simplevcs.py", line 346, in <u>handle_request<br>
File "/opt/rhodecode/store/3flkiihiiifnpgz0rajf65x407ij4vvi-python2.7-RhodeCodeEnterprise-3.1.0/lib/python2.7/site-packages/rhodecode/lib/middleware/utils/wsgi_app_caller_client.py", line 63, in __call</u>_<br>
File "/opt/rhodecode/store/9vcwk4p43qz5qlyizrha992q2kj0g6yr-python2.7-Pyro4-4.31/lib/python2.7/site-packages/Pyro4/core.py", line 169, in <strong>call</strong><br>
return self.<strong>send(self.</strong>name, args, kwargs)<br>
File "/opt/rhodecode/store/9vcwk4p43qz5qlyizrha992q2kj0g6yr-python2.7-Pyro4-4.31/lib/python2.7/site-packages/Pyro4/core.py", line 388, in _pyroInvoke<br>
raise data<br>
error: 'i' format requires -2147483648 <= number <= 2147483647<br>
2015-03-18 08:20:18.433 INFO [rhodecode.lib.middleware.wrapper] IP: 130.20.174.26 Request to /ARES/AVID/git-upload-pack time: 188.608s</p>
<p>There's also an [2015-03-18 08:17:09 +0000] [10955] [CRITICAL] WORKER TIMEOUT (pid:10986) entry, we're trying to veirfy if this is not underlying problem.</p>