Opened 14 years ago

Closed 14 years ago

#589 closed defect (fixed)

trac for grass: doxyen error

Reported by: hamish Owned by: sac@…
Priority: normal Milestone:
Component: SysAdmin Keywords: grass trac doxgyen
Cc:

Description

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?

Change History (3)

comment:1 by crschmidt, 14 years ago

Hamish:

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

in reply to:  1 comment:2 by hamish, 14 years ago

Replying to 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

comment:3 by neteler, 14 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.