trac script installer

when upgrading to 0.12.2 the following occurs:

Installing in domain mydomain.co.uk ..
Python module genshi is required ..
Installing package python-genshi ..

    Installing package(s) with command yum -y install python-genshi ..

    Loaded plugins: fastestmirror, priorities
    Loading mirror speeds from cached hostfile
     * addons: mirror.krystal.co.uk
     * base: mirror.ukhost4u.com
     * epel: mirror01.th.ifl.net
     * extras: mirror.ukhost4u.com
     * ius: mirror.rackspace.co.uk
     * updates: mirror.ukhost4u.com
    Reducing Extra Packages for Enterprise Linux 5 - x86_64 to included packages only
    Finished
    Reducing IUS Community Packages for Enterprise Linux 5 - x86_64 to included packages only
    Finished
    Setting up Install Process
    No package python-genshi available.
    Nothing to do

    .. install complete.

.. automatic Python module installation failed

so no python-genshi package in the repos.

Status: 
Active

Comments

Yes, unfortunately Trac 0.12.2 added a dependency on a python module that doesn't come with Redhat Enterprise 5 or CentOS 5 :-(

You can manually download and install the RPM from http://packages.sw.be/python-genshi/ though. Please let us know how that goes ..

pixel_paul's picture
Submitted by pixel_paul on Tue, 03/22/2011 - 06:17 Pro Licensee

The package installed ok from the repo provided.

unfortunately i now get this error when installing and it appears that trac is broken:

Script to install Trac
Version to install 0.12.2
Partial installation error Upgrade command failed :
pixel_paul's picture
Submitted by pixel_paul on Tue, 03/22/2011 - 06:19 Pro Licensee

The package installed ok from the repo provided.

unfortunately i now get this error when installing and it appears that trac is broken:

Script to install Trac
Version to install 0.12.2
Partial installation error Upgrade command failed :
pixel_paul's picture
Submitted by pixel_paul on Tue, 03/22/2011 - 07:41 Pro Licensee

actually - trac isnt broken, but there is still the installation warning.

So virtualmin isn't letting you re-try the upgrade?

pixel_paul's picture
Submitted by pixel_paul on Wed, 03/23/2011 - 04:40 Pro Licensee

indeed. I can only uninstall or upgrade to an unsupported version.

the thing is trac appears to be working ok.

just a strange error message with the Partial installation error Upgrade command failed : bit

That error means that the trac-admin command failed during the upgrade process..

You should try running it manually, by SSHing in as the domain owner, cd'ing to the trac install dir and running :

export PYTHONPATH=/home/domain/public_html/lib/python
/home/domain/public_html/bin/trac-admin /home/domain/public_html upgrade

This assumes that Trac was installed in /home/domain/public_html .