<div dir="ltr">Hi folks,<div><br></div><div>I'm in the process of migrating my Rhodecode over to Kallithea. I've set up the new Kallithea system and cloned my repos, but haven't yet cut my users over. I got this error message a few times over the weekend, but it's not clear to me what it means.</div><div><br></div><div>It's possible that it has been happening all along on my Rhodecode server, but I wouldn't have known since I apparently didn't have email configured properly.</div><div><br></div><div>Can anyone shed light on this? See below for the full error:</div><div><br></div><div><p class="MsoNormal">Module <span class="">kallithea.controllers.files</span>:<b>2</b>
in <code><span style="font-size:10pt">diff_2way</span></code></p>
<p class="MsoNormal">Module <span class="">kallithea.lib.auth</span>:<b>776</b>
in <code><span style="font-size:10pt">__wrapper</span></code></p>
<p class="MsoNormal"><span style><span class=""><<
</span>
<span class="">%</span> <span class="">(</span><span class="">user</span><span class="">,</span> <span class="">reason</span><span class="">,</span> <span class="">loc</span><span class="">)</span><br>
<span class="">)</span><br>
<span class="">
</span><span class="">return</span><span class=""> </span><span class="">func</span><span class="">(</span><span class="">*</span><span class="">fargs</span><span class="">,</span><span class=""> </span><span class="">**</span><span class="">fkwargs</span><span class="">)</span><br>
<span class="">else</span><span class="">:</span><br>
<span class="">log</span><span class="">.</span><span class="">warning</span><span class="">(</span><span class="">'user </span><span class="">%s</span><span class=""> authenticating with:</span><span class="">%s</span><span class=""> NOT
authenticated on func: </span><span class="">%s</span><span class="">: '</span></span></p>
<p class="MsoNormal"><span class="">>> </span><span class="">return</span> <span class="">func</span><span class="">(</span><span class="">*</span><span class="">fargs</span><span class="">,</span> <span class="">**</span><span class="">fkwargs</span><span class="">)</span></p>
<p class="MsoNormal">Module <span class="">kallithea.controllers.files</span>:<b>2</b>
in <code><span style="font-size:10pt">diff_2way</span></code></p>
<p class="MsoNormal">Module <span class="">kallithea.lib.auth</span>:<b>835</b>
in <code><span style="font-size:10pt">__wrapper</span></code></p>
<p class="MsoNormal"><span style><span class=""><<
</span> <span class="">if</span>
<span class="">self</span><span class="">.</span><span class="">check_permissions</span><span class="">():</span><br>
<span class="">log</span><span class="">.</span><span class="">debug</span><span class="">(</span><span class="">'Permission granted for </span><span class="">%s</span><span class=""> </span><span class="">%s</span><span class="">'</span> <span class="">%</span>
<span class="">(</span><span class="">cls</span><span class="">,</span> <span class="">self</span><span class="">.</span><span class="">user</span><span class="">))</span><br>
<span class="">
</span><span class="">return</span><span class=""> </span><span class="">func</span><span class="">(</span><span class="">*</span><span class="">fargs</span><span class="">,</span><span class=""> </span><span class="">**</span><span class="">fkwargs</span><span class="">)</span><br>
<br>
<span class="">else</span><span class="">:</span></span></p>
<p class="MsoNormal"><span class="">>> </span><span class="">return</span> <span class="">func</span><span class="">(</span><span class="">*</span><span class="">fargs</span><span class="">,</span> <span class="">**</span><span class="">fkwargs</span><span class="">)</span></p>
<p class="MsoNormal">Module <span class="">kallithea.controllers.files</span>:<b>732</b>
in <code><span style="font-size:10pt">diff_2way</span></code></p>
<p class="MsoNormal"><span style><span class=""><<
</span>
<span class="">else</span><span class="">:</span><br>
<span class="">c</span><span class="">.</span><span class="">changeset_1</span> <span class="">=</span> <span class="">EmptyChangeset</span><span class="">(</span><span class="">repo</span><span class="">=</span><span class="">c</span><span class="">.</span><span class="">db_repo_scm_instance</span><span class="">)</span><br>
<span class="">
</span><span class="">node1</span><span class=""> </span><span class="">=</span><span class=""> </span><span class="">FileNode</span><span class="">(</span><span class="">f_path</span><span class="">,</span><span class=""> </span><span class="">''</span><span class="">,</span><span class=""> </span><span class="">changeset</span><span class="">=</span><span class="">c</span><span class="">.</span><span class="">changeset_1</span><span class="">)</span><br>
<br>
<span class="">if</span> <span class="">diff2</span> <span class="">not</span> <span class="">in</span> <span class="">[</span><span class="">''</span><span class="">,</span>
<span class="">None</span><span class="">,</span> <span class="">'None'</span><span class="">,</span> <span class="">'0'</span> <span class="">*</span> <span class="">12</span><span class="">,</span> <span class="">'0'</span> <span class="">*</span> <span class="">40</span><span class="">]:</span></span></p>
<p class="MsoNormal"><span class="">>> </span><span class="">node1</span> <span class="">=</span> <span class="">FileNode</span><span class="">(</span><span class="">f_path</span><span class="">,</span> <span class="">''</span><span class="">,</span> <span class="">changeset</span><span class="">=</span><span class="">c</span><span class="">.</span><span class="">changeset_1</span><span class="">)</span></p>
<p class="MsoNormal">Module <span class="">kallithea.lib.vcs.nodes</span>:<b>259</b>
in <code><span style="font-size:10pt">__init__</span></code></p>
<p class="MsoNormal"><span style><span class=""><<
</span> <span class="">if</span>
<span class="">content</span> <span class="">and</span> <span class="">changeset</span><span class="">:</span><br>
<span class="">raise</span> <span class="">NodeError</span><span class="">(</span><span class="">"Cannot use both content and changeset"</span><span class="">)</span><br>
<span class="">
</span><span class="">super</span><span class="">(</span><span class="">FileNode</span><span class="">,</span><span class=""> </span><span class="">self</span><span class="">)</span><span class="">.</span><span class="">__init__</span><span class="">(</span><span class="">path</span><span class="">,</span><span class=""> </span><span class="">kind</span><span class="">=</span><span class="">NodeKind</span><span class="">.</span><span class="">FILE</span><span class="">)</span><br>
<span class="">self</span><span class="">.</span><span class="">changeset</span> <span class="">=</span> <span class="">changeset</span><br>
<span class="">self</span><span class="">.</span><span class="">_content</span> <span class="">=</span> <span class="">content</span></span></p>
<p class="MsoNormal"><span class="">>> </span><span class="">super</span><span class="">(</span><span class="">FileNode</span><span class="">,</span> <span class="">self</span><span class="">)</span><span class="">.</span><span class="">__init__</span><span class="">(</span><span class="">path</span><span class="">,</span> <span class="">kind</span><span class="">=</span><span class="">NodeKind</span><span class="">.</span><span class="">FILE</span><span class="">)</span></p>
<p class="MsoNormal">Module <span class="">kallithea.lib.vcs.nodes</span>:<b>106</b>
in <code><span style="font-size:10pt">__init__</span></code></p>
<p class="MsoNormal"><span style><span class=""><<
</span> <span class="">self</span><span class="">.</span><span class="">path</span> <span class="">=</span> <span class="">safe_str</span><span class="">(</span><span class="">path</span><span class="">.</span><span class="">rstrip</span><span class="">(</span><span class="">'/'</span><span class="">))</span> <span class=""># we store paths as str</span><br>
<span class="">if</span> <span class="">path</span> <span class="">==</span> <span class="">''</span> <span class="">and</span> <span class="">kind</span> <span class="">!=</span> <span class="">NodeKind</span><span class="">.</span><span class="">DIR</span><span class="">:</span><br>
<span class="">
</span><span class="">raise</span><span class=""> </span><span class="">NodeError</span><span class="">(</span><span class="">"Only DirNode
and its subclasses may be "</span><br>
<span class="">"initialized with empty path"</span><span class="">)</span><br>
<span class="">self</span><span class="">.</span><span class="">kind</span> <span class="">=</span> <span class="">kind</span></span></p>
<p class="MsoNormal"><span class="">>> </span><span class="">raise</span> <span class="">NodeError</span><span class="">(</span><span class="">"Only DirNode
and its subclasses may be "</span></p>
<p class="MsoNormal"><b>NodeError: Only DirNode and its subclasses may be
initialized with empty path</b></p>
<table class="" border="0" cellpadding="0">
<tbody><tr>
<td colspan="2" style="padding:0.75pt">
<p class="MsoNormal" align="center" style="text-align:center"><b>CGI Variables</b></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">CONTENT_TYPE</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">';
charset="utf-8"'</span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">HTTP_CONNECTION</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">'Keep-Alive'</span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">HTTP_HOST</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">'localhost:5000'</span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">HTTP_VIA</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">'1.1 kallithea'</span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">HTTP_X_FORWARDED_FOR</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">'51.16.6.192'</span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">HTTP_X_FORWARDED_HOST</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">'10.2.131.31'</span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">HTTP_X_FORWARDED_SERVER</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">'kallithea'</span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">PATH_INFO</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">'/lms/diff-2way/'</span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">REMOTE_ADDR</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">'127.0.0.1'</span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">REQUEST_METHOD</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">'GET'</span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">SERVER_NAME</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">'localhost'</span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">SERVER_PORT</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">'5000'</span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">SERVER_PROTOCOL</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">'HTTP/1.1'</span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">SERVER_SOFTWARE</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">'waitress'</span></tt></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style> </span></p>
<table class="" border="0" cellpadding="0">
<tbody><tr>
<td colspan="2" style="padding:0.75pt">
<p class="MsoNormal" align="center" style="text-align:center"><b>WSGI Variables</b></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">application</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt"><beaker.middleware.SessionMiddleware
object at 0x3babed0></span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">beaker.get_session</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt"><bound method
SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware
object at 0x3babed0>></span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">beaker.session</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">{'_accessed_time':
1410069869.389491, '_creation_time': 1410069869.389491}</span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">paste.registry</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt"><paste.registry.Registry
object at 0x7f4aeda6dd10></span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">paste.throw_errors</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">True</span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">pylons.action_method</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt"><bound method
FilesController.diff_2way of <kallithea.controllers.files.FilesController
object at 0x7f4aed01f290>></span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">pylons.controller</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt"><kallithea.controllers.files.FilesController
object at 0x7f4aed01f290></span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">pylons.environ_config</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">{'session':
'beaker.session', 'cache': 'beaker.cache'}</span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">pylons.pylons</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt"><pylons.util.PylonsContext
object at 0x7f4aed01f090></span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">pylons.routes_dict</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">{'action':
u'diff_2way', 'controller': u'files', 'revision': u'tip', 'f_path': '',
'repo_name': u'lms'}</span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">routes.route</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt"><routes.route.Route
object at 0x374ae10></span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">routes.url</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt"><routes.util.URLGenerator
object at 0x7f4af9278210></span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">webob._parsed_query_vars</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">(GET([]), '')</span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">webob.adhoc_attrs</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">{'user': <AuthUser('id:1[default]
ip:51.16.6.192 auth:True')>, 'language': 'en-us'}</span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">wsgi process</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">'Multithreaded'</span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">wsgi.file_wrapper</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt"><class
'waitress.buffers.ReadOnlyFileBasedBuffer'></span></tt></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal">wsgiorg.routing_args</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><tt><span style="font-size:10pt">(<routes.util.URLGenerator
object at 0x7f4af9278210>, {'action': u'diff_2way', 'controller':
u'files', 'revision': u'tip', 'f_path': '', 'repo_name': u'lms'})</span></tt></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"> </p></div></div>