On Fri, Aug 30, 2013 at 8:52 AM, Ben <[email protected]> wrote:

> On 8/29/2013 9:20 PM, Ryan Ollos wrote:
>
>> I'm not sure what is going on, but I'd want to know if somehow you have
>> installed or are finding a version of Babel other than 0.9.6. What is
>> reported if you open up a Python interactive session with your
>> virtualenv's
>> interpreter and check the version of Babel?
>>
>> source bh/bin/active
>> python
>> import babel
>> print babel.__version__
>>
> Reports 0.9.6. for Babel.
>
>
>  We might also find some useful information in your log file if you set the
>> log level to debug and restart. See
>> https://issues.apache.org/**bloodhound/wiki/TracLogging<https://issues.apache.org/bloodhound/wiki/TracLogging>for
>>  more info.
>>
>
> I turned on logging to DEBUG level and below is the output when I go to
> the login page. Also when I 'fix' the login page by removing the dgettext
> line and try to login, I get nothing interesting in the logs but just the
> bad username/password even though it is the username/password I selected
> during the installation. Not sure if this is related.
>
> Thanks!
>
> Ben
>
>
> 2013-08-30 11:49:21,815 Trac[main] DEBUG: Dispatching
> <ProductRequestWithSession "GET '/login'">
> 2013-08-30 11:49:21,815 Trac[session] DEBUG: Retrieving session for ID
> 'd2a5b4f4c7514d4125e7896e'
> 2013-08-30 11:49:21,817 Trac[main] DEBUG: Negotiated locale: None -> en_US
> 2013-08-30 11:49:21,826 Trac[api] WARNING: Unable to find repository
> '(default)' for synchronization
> 2013-08-30 11:49:21,826 Trac[chrome] DEBUG: Prepare chrome data for request
> 2013-08-30 11:49:21,829 Trac[perm] DEBUG: No policy allowed anonymous
> performing TRAC_ADMIN on None
> 2013-08-30 11:49:21,829 Trac[perm] DEBUG: No policy allowed anonymous
> performing PERMISSION_GRANT on None
> 2013-08-30 11:49:21,829 Trac[perm] DEBUG: No policy allowed anonymous
> performing PERMISSION_REVOKE on None
> 2013-08-30 11:49:21,829 Trac[perm] DEBUG: No policy allowed anonymous
> performing TICKET_ADMIN on None
> 2013-08-30 11:49:21,830 Trac[perm] DEBUG: No policy allowed anonymous
> performing VERSIONCONTROL_ADMIN on None
> 2013-08-30 11:49:21,834 Trac[perm] DEBUG: No policy allowed anonymous
> performing TICKET_MODIFY on <Resource 'ticket'>
> 2013-08-30 11:49:21,838 Trac[perm] DEBUG: No policy allowed anonymous
> performing TRAC_ADMIN on None
> 2013-08-30 11:49:21,839 Trac[web_ui] DEBUG: {'active': False, 'name':
> 'wiki', 'label': <Element "a">}
> 2013-08-30 11:49:21,839 Trac[web_ui] DEBUG: {'active': False, 'name':
> 'tickets', 'label': <Element "a">}
> 2013-08-30 11:49:21,840 Trac[perm] DEBUG: No policy allowed anonymous
> performing EMAIL_VIEW on None
> 2013-08-30 11:49:21,913 Trac[perm] DEBUG: No policy allowed anonymous
> performing TICKET_CREATE on None
> 2013-08-30 11:49:21,930 Trac[web_ui] DEBUG: {'active': False, 'name':
> 'wiki', 'label': <Element "a">}
> 2013-08-30 11:49:21,930 Trac[web_ui] DEBUG: {'active': False, 'name':
> 'tickets', 'label': <Element "a">}
> 2013-08-30 11:49:21,931 Trac[main] ERROR: Internal Server Error:
>
> Traceback (most recent call last):
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/trac/web/main.**py", line
> 477, in _dispatch_request
>     dispatcher.dispatch(req)
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/trac/web/main.**py", line
> 233, in dispatch
>     content_type)
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/trac/web/**chrome.py",
> line 1019, in render_template
>     encoding='utf-8')
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/core.**py", line
> 183, in render
>     return encode(generator, method=method, encoding=encoding, out=out)
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/output.**py", line
> 58, in encode
>     for chunk in iterator:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/output.**py", line
> 350, in __call__
>     for kind, data, pos in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/output.**py", line
> 829, in __call__
>     for kind, data, pos in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/output.**py", line
> 669, in __call__
>     for kind, data, pos in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/output.**py", line
> 774, in __call__
>     for kind, data, pos in chain(stream, [(None, None, None)]):
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/output.**py", line
> 594, in __call__
>     for ev in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/core.**py", line
> 288, in _ensure
>     for event in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/core.**py", line
> 288, in _ensure
>     for event in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/trac/web/**chrome.py",
> line 1156, in _strip_accesskeys
>     for kind, data, pos in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/core.**py", line
> 288, in _ensure
>     for event in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/trac/web/**chrome.py",
> line 1145, in _generate
>     for kind, data, pos in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/core.**py", line
> 288, in _ensure
>     for event in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/core.**py", line
> 288, in _ensure
>     for event in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**filters/transform.py",
> line 686, in _unmark
>     for mark, event in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**filters/transform.py",
> line 954, in __call__
>     for mark, (kind, data, pos) in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**filters/transform.py",
> line 714, in __call__
>     for mark, event in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**filters/transform.py",
> line 779, in __call__
>     for mark, event in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**filters/transform.py",
> line 954, in __call__
>     for mark, (kind, data, pos) in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**filters/transform.py",
> line 714, in __call__
>     for mark, event in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**filters/transform.py",
> line 779, in __call__
>     for mark, event in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**filters/transform.py",
> line 1175, in __call__
>     for mark, (kind, data, pos) in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**filters/transform.py",
> line 714, in __call__
>     for mark, event in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**filters/transform.py",
> line 779, in __call__
>     for mark, event in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**filters/transform.py",
> line 726, in __call__
>     mark, subevent = next()
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**filters/transform.py",
> line 682, in _mark
>     for event in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**template/base.py",
> line 617, in _include
>     for event in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**template/markup.py",
> line 378, in _match
>     ctxt, start=idx + 1, **vars):
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**template/markup.py",
> line 378, in _match
>     ctxt, start=idx + 1, **vars):
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**template/markup.py",
> line 326, in _match
>     for event in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**template/base.py",
> line 557, in _flatten
>     for kind, data, pos in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/core.**py", line
> 288, in _ensure
>     for event in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/path.**py", line
> 588, in _generate
>     subevent = next()
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**template/base.py",
> line 617, in _include
>     for event in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**template/markup.py",
> line 315, in _strip
>     event = next()
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**template/base.py",
> line 557, in _flatten
>     for kind, data, pos in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/core.**py", line
> 288, in _ensure
>     for event in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/path.**py", line
> 588, in _generate
>     subevent = next()
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**template/base.py",
> line 617, in _include
>     for event in stream:
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**template/markup.py",
> line 315, in _strip
>     event = next()
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**template/base.py",
> line 567, in _flatten
>     for event in self._flatten(value, ctxt, **vars)
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**template/base.py",
> line 577, in _flatten
>     result = _eval_expr(data, ctxt, vars)
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**template/base.py",
> line 289, in _eval_expr
>     retval = expr.evaluate(ctxt)
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**template/eval.py",
> line 178, in evaluate
>     return eval(self.code, _globals, {'__data__': data})
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/bhtheme/**templates/bh_login.html",
> line 86, in <Expression u"dgettext('acct_mgr', 'Login')">
>     <input type="submit" value="${dgettext('acct_mgr', 'Login')}"
>   File "/data/Bloodhound/apache-**bloodhound-0.7/installer/**
> bloodhound/local/lib/python2.**7/site-packages/genshi/**template/eval.py",
> line 277, in _die
>     raise UndefinedError(self._name, self._owner)
> UndefinedError: "_dgettext" not defined
> 2013-08-30 11:49:22,199 Trac[main] DEBUG: Dispatching
> <ProductRequestWithSession "GET '/chrome/dashboard/css/**bootstrap.css'">
> 2013-08-30 11:49:22,201 Trac[main] DEBUG: Dispatching
> <ProductRequestWithSession "GET '/chrome/theme/bloodhound.css'**">
> 2013-08-30 11:49:22,204 Trac[main] DEBUG: Dispatching
> <ProductRequestWithSession "GET '/chrome/dashboard/css/**
> bootstrap-responsive.css'">
> 2013-08-30 11:49:22,206 Trac[session] DEBUG: Retrieving session for ID
> 'd2a5b4f4c7514d4125e7896e'
> 2013-08-30 11:49:22,209 Trac[session] DEBUG: Retrieving session for ID
> 'd2a5b4f4c7514d4125e7896e'
> 2013-08-30 11:49:22,213 Trac[main] DEBUG: Dispatching
> <ProductRequestWithSession "GET '/chrome/common/js/messages/**en_US.js'">
> 2013-08-30 11:49:22,213 Trac[session] DEBUG: Retrieving session for ID
> 'd2a5b4f4c7514d4125e7896e'
> 2013-08-30 11:49:22,214 Trac[main] DEBUG: Dispatching
> <ProductRequestWithSession "GET '/chrome/common/js/jquery.js'"**>
> 2013-08-30 11:49:22,266 Trac[session] DEBUG: Retrieving session for ID
> 'd2a5b4f4c7514d4125e7896e'
> 2013-08-30 11:49:22,268 Trac[main] DEBUG: Dispatching
> <ProductRequestWithSession "GET '/chrome/common/js/babel.js'">
> 2013-08-30 11:49:22,269 Trac[session] DEBUG: Retrieving session for ID
> 'd2a5b4f4c7514d4125e7896e'
> 2013-08-30 11:49:22,378 Trac[session] DEBUG: Retrieving session for ID
> 'd2a5b4f4c7514d4125e7896e'
> 2013-08-30 11:49:22,426 Trac[main] DEBUG: Dispatching
> <ProductRequestWithSession "GET '/chrome/common/css/code.css'"**>
> 2013-08-30 11:49:22,464 Trac[session] DEBUG: Retrieving session for ID
> 'd2a5b4f4c7514d4125e7896e'
> 2013-08-30 11:49:22,469 Trac[main] DEBUG: Dispatching
> <ProductRequestWithSession "GET '/chrome/common/js/trac.js'">
> 2013-08-30 11:49:22,471 Trac[main] DEBUG: Dispatching
> <ProductRequestWithSession "GET '/chrome/theme/js/theme.js'">
> 2013-08-30 11:49:22,516 Trac[main] DEBUG: Dispatching
> <ProductRequestWithSession "GET '/chrome/common/js/search.js'"**>
> 2013-08-30 11:49:22,519 Trac[session] DEBUG: Retrieving session for ID
> 'd2a5b4f4c7514d4125e7896e'
> 2013-08-30 11:49:22,520 Trac[session] DEBUG: Retrieving session for ID
> 'd2a5b4f4c7514d4125e7896e'
> 2013-08-30 11:49:22,521 Trac[main] DEBUG: Dispatching <RequestWithSession
> "GET '/chrome/dashboard/js/**bloodhound-stickyscroll.js'">
> 2013-08-30 11:49:22,524 Trac[session] DEBUG: Retrieving session for ID
> 'd2a5b4f4c7514d4125e7896e'
> 2013-08-30 11:49:22,646 Trac[session] DEBUG: Retrieving session for ID
> 'd2a5b4f4c7514d4125e7896e'
> 2013-08-30 11:49:22,647 Trac[main] DEBUG: Dispatching
> <ProductRequestWithSession "GET '/chrome/dashboard/js/**bootstrap.js'">
> 2013-08-30 11:49:22,649 Trac[session] DEBUG: Retrieving session for ID
> 'd2a5b4f4c7514d4125e7896e'
> 2013-08-30 11:49:22,780 Trac[main] DEBUG: Dispatching
> <ProductRequestWithSession "GET '/chrome/theme/img/bh_logo.**png'">
> 2013-08-30 11:49:22,781 Trac[session] DEBUG: Retrieving session for ID
> 'd2a5b4f4c7514d4125e7896e'
>


Could you also try restarting tracd and look at the log output that results
during the restart? You'll want to keep an eye out for messages starting
with "Trac[loader] DEBUG: Skipping ...".

Reply via email to