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+.

About stevie

Born in the north of Germany, raised in Berlin and stayed there since. After graduating, studying applied computer science at the FHTW Berlin (now HTW Berlin), I started my own company with a former fellow student, providing high class application solutions for web and desktop for small and medium companies (see www.jnamic.com (english version to be finished) for more information). My personal favorite programming languages are PHP for the web and Java for everything else - although I must admit Java evolved very much in the past few years. I love to code and build new applications from the scratch, optimizing it through day and night till I am satisfied with it's performance. So follow my articles, share your thoughts and experience with me and have a good time browsing this blog!
This entry was posted in common and tagged , , , , . Bookmark the permalink.

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

  1. Pingback: Inode Ltd » Blog Archive » Debian and python setuptools easy_install — “error: Unexpected HTML page found”

Leave a Reply