#652: Error accessing /login form
------------------------+---------------------------------
  Reporter:  olemis     |      Owner:  nobody
      Type:  defect     |     Status:  new
  Priority:  blocker    |  Milestone:  Release 8
 Component:  ui design  |    Version:
Resolution:             |   Keywords:  product environment
------------------------+---------------------------------

Old description:

> ==== How to Reproduce ====
>
> While doing a GET operation on `/login`, Trac issued an internal error.
>
> ''(please provide additional details here)''
>
> Request parameters:
> {{{
> {}
> }}}
>
> User agent: `Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.10.289
> Version/12.02`
>
> ==== System Information ====
> ''System information not available''
>
> ==== Enabled Plugins ====
> ''Plugin information not available''
>
> ==== Python Traceback ====
> {{{#!py
> Traceback (most recent call last):
>   File "/path/to/bloodhound/trac/trac/web/main.py", line 477, in
> _dispatch_request
>     dispatcher.dispatch(req)
>   File "/path/to/bloodhound/trac/trac/web/main.py", line 224, in dispatch
>     self._post_process_request(req, *resp)
>   File "/path/to/bloodhound/trac/trac/web/main.py", line 338, in
> _post_process_request
>     resp = f.post_process_request(req, *resp)
>   File "/path/to/bloodhound/bloodhound_theme/bhtheme/theme.py", line 477,
> in post_process_request
>     req = dummy_request(self.env)
>   File "/path/to/bloodhound/bloodhound_dashboard/bhdashboard/util.py",
> line 50, in dummy_request
>     'SCRIPT_NAME' : urlparse(str(env._abs_href())).path,
> TypeError: 'NoneType' object is not callable
> }}}

New description:

 Because of this it's impossible to log in to any product .

 ==== How to Reproduce ====

 While doing a GET operation on `/login`, Trac issued an internal error.

 ''(please provide additional details here)''

 Request parameters:
 {{{
 {}
 }}}

 User agent: `Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.10.289
 Version/12.02`

 ==== System Information ====
 ''System information not available''

 ==== Enabled Plugins ====
 ''Plugin information not available''

 ==== Python Traceback ====
 {{{#!py
 Traceback (most recent call last):
   File "/path/to/bloodhound/trac/trac/web/main.py", line 477, in
 _dispatch_request
     dispatcher.dispatch(req)
   File "/path/to/bloodhound/trac/trac/web/main.py", line 224, in dispatch
     self._post_process_request(req, *resp)
   File "/path/to/bloodhound/trac/trac/web/main.py", line 338, in
 _post_process_request
     resp = f.post_process_request(req, *resp)
   File "/path/to/bloodhound/bloodhound_theme/bhtheme/theme.py", line 477,
 in post_process_request
     req = dummy_request(self.env)
   File "/path/to/bloodhound/bloodhound_dashboard/bhdashboard/util.py",
 line 50, in dummy_request
     'SCRIPT_NAME' : urlparse(str(env._abs_href())).path,
 TypeError: 'NoneType' object is not callable
 }}}

--

Comment (by olemis):

 Shouldn't it be `env.abs_href()` ? i.e. without the leading underscore
 char .

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/652#comment:2>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker

Reply via email to