trac: upgrading trac with easy_install fails with “unexpected HTML page found”

When installing or upgrading trac on a Debian-like linux machine you might want to use the easy approach of the python setuptools. Trac can be installed or upgraded by using:

easy_install http://svn.edgewall.org/repos/trac/branches/0.11-stable

Since the release of Subversion 1.5 the version of easy_install included in the Debian repository ran into a compatibility issue. Instead of working as expected it always complained:

error: Unexpected HTML page found at http://svn.edgewall.org/repos/trac/branches/0.11-stable

The problem seems to be that the SVN-Web-Output generated by Subversion 1.5+ is not being understanded by setuptools. In the issue tracker for the trac-plugin-project trac-hacks.org I found the easiest way to solve this problem. You will use the setuptools to update itself and then you won’t have problems anymore:

easy_install -U setuptools

PS: This problem also occured when trying to install plugins from trac-hacks.org since they also use SVN 1.5+.

This entry was posted 1 year ago by stevie
Tags: , , , ,
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One Response to “trac: upgrading trac with easy_install fails with “unexpected HTML page found””

  1. [...] like the Debian packaged version can’t handle the latest subversion web pages. Thanks to coffeecoders.de we have a simple description of the problem & a workaround … upgrade easy_install [...]

  2.  
 

Leave a Reply