[SAC] [OSGeo] #589: trac for grass: doxyen error

#589: trac for grass: doxyen error
-------------------------------+--------------------------------------------
Reporter: hamish | Owner: sac@…
    Type: defect | Status: new
Priority: normal | Component: Systems Admin
Keywords: grass trac doxgyen |
-------------------------------+--------------------------------------------
https://trac.osgeo.org/grass/search?q=r.stats&noquickjump=1&ticket=on&changeset=on&milestone=on&wiki=on&doxygen=on

in the grass trac if you search for something you get an error:

{{{
Oops…
Trac detected an internal error:

OSError: [Errno 2] No such file or directory: '/var/lib/trac/doxygen'

This is probably a local installation issue.
[snip]
}}}

maybe have to be an admin to have the doxygen there?

--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/589&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#589: trac for grass: doxyen error
---------------------------+------------------------------------------------
Reporter: hamish | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Keywords: grass trac doxgyen
---------------------------+------------------------------------------------

Comment(by crschmidt):

Hamish:

The URL you gave does not generate an error for me. Can you explain how I
can generate this error?

--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/589#comment:1&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#589: trac for grass: doxyen error
---------------------------+------------------------------------------------
Reporter: hamish | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Keywords: grass trac doxgyen
---------------------------+------------------------------------------------

Comment(by hamish):

Replying to [comment:1 crschmidt]:
> The URL you gave does not generate an error for me. Can you
> explain how I can generate this error?

I (rather poorly) wrote:
> > maybe have to be an admin to have the doxygen there?

I've just retested this, still get the error.

When logged in as a trac admin you get an extra button on the top menu bar
that says "Doxygen". When logged out (anon) you don't get that option.
Thus I suspect that only grass trac admins will get that error and the
work-around is to temporarily log out.
No idea if you see that error (or Doxygen button) as a normal user when
logged in.

{{{
==Python Traceback==
Most recent call last:

File "/usr/lib/python2.5/site-
packages/Trac-0.11.7-py2.5.egg/trac/web/main.py", line 450, in
_dispatch_request
   dispatcher.dispatch(req)
File "/usr/lib/python2.5/site-
packages/Trac-0.11.7-py2.5.egg/trac/web/main.py", line 206, in dispatch
   resp = chosen_handler.process_request(req)
File "/usr/lib/python2.5/site-
packages/Trac-0.11.7-py2.5.egg/trac/search/web_ui.py", line 107, in
process_request
   results += list(source.get_search_results(req, terms, filters))
File "build/bdist.linux-x86_64/egg/doxygentrac/doxygentrac.py", line 209,
in get_search_results
}}}

the full thing is about 200 lines of traceback, I can fwd on if needed.

Let me know if you need me to set you up as a trac admin there if you
can't do it yourself, and thanks for all the hard work(!) smoothing out
the transition.

Hamish

--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/589#comment:2&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#589: trac for grass: doxyen error
--------------------------------+-------------------------------------------
Reporter: hamish | Owner: sac@…
     Type: defect | Status: closed
Priority: normal | Milestone:
Component: Systems Admin | Resolution: fixed
Keywords: grass trac doxgyen |
--------------------------------+-------------------------------------------
Changes (by neteler):

  * status: new => closed
  * resolution: => fixed

Comment:

Potential solution found in this ticket:

http://trac.edgewall.org/ticket/7456
{{{
   "The base path (i.e. [doxygen] path in TracIni) is misconfigured."
}}}

In /var/www/trac/grass/conf/trac.ini, there is no section
{{{
[doxygen]
html_output =
index = index.html
path = /var/www/grass/htdocs
}}}

while in /var/www/trac/gdal/conf/trac.ini it exists (update above XXX
accordingly). See also /var/www/trac/ossim/conf/trac.ini

I have updated /var/www/trac/grass/conf/trac.ini now and created
/var/www/grass/htdocs/

The problem is gone now.

Markus

--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/589#comment:3&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.