Edgewall Software

Version 17 (modified by twinston@…, 19 years ago) ( diff )

Problems installing on Fedora Core 2

The downloadable rpms are for both RedHat and Fedora Core (both 1 and 2).

Lee asks: Does the Fedora RPM install the dependencies listed on Trac's install page? I ask because I installed the Trac Fedora RPM and the install went smoothly, but Trac is not accessable on the system and its dependencies are not installed.

EricHopper replies: It does not. I had to hunt down all of the dependencies myself. They did all exist in RPM form, which is good.

Package dependency list

Hello, here is a list I've started to make during installation. Can somebody tell me where are the packages that are marked as ???

  • python 2.3.3-6
  • python-devel 2.3.3-6
  • python-xml : ???
  • subversion 1.0.8-1
  • python-subversion : ??? (not sure if usefull)
  • swig 1.3.19-6.1
  • sqlite 2.8.15-1.1 : dag
  • python-sqlite 0.5.0-1.1 : dag
  • clearsilver 0.9.8-1 : dag
  • python-clearsilver 0.9.8-1 : dag
  • docutils : ???
  • httpd 2.0.50-2.1

Repositories

Cheers, zimba

Possible problems

Oops...

Trac detected an internal error:

No module named neo_cgi

Traceback (most recent call last):
  File "/usr/share/trac/cgi-bin/trac.cgi", line 25, in ?
    trac.core.cgi_start()
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 477, in cgi_start
    send_pretty_error(e, None)
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 412, in send_pretty_error
    req.init_request()
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 312, in init_request
    Request.init_request(self)
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 243, in init_request
    import neo_cgi
ImportError: No module named neo_cgi

Solution : The actual python-clearsilver package (0.9.8-1) installs the lib for python2.2. You'll have to symlink /usr/lib/python2.2/site-packages/neo_cgi.so in actual version's folder (man ln :) )

Has anyone got this to run on Fedora Core? I am getting the following errors:

The web server user requires read _and_ write permission to the database /opt/esm/db/trac.db and the directory this file is located in. Traceback (most recent call last):

File "/usr/lib/python2.3/site-packages/trac/core.py", line 475, in cgi_start

real_cgi_start()

File "/usr/lib/python2.3/site-packages/trac/core.py", line 453, in real_cgi_start

env = open_environment()

File "/usr/lib/python2.3/site-packages/trac/core.py", line 169, in open_environment

version = env.get_version()

File "/usr/lib/python2.3/site-packages/trac/Environment.py", line 160, in get_version

cnx = self.get_db_cnx()

File "/usr/lib/python2.3/site-packages/trac/Environment.py", line 84, in get_db_cnx

raise EnvironmentError, \

EnvironmentError: The web server user requires read _and_ write permission to the database /opt/esm/db/trac.db and the directory this file is located in.

Note: See TracWiki for help on using the wiki.