Opened 3 years ago

Last modified 3 years ago

defect #77 (closed: wontfix)

Trac Agile plugin does not install

Test Complete Size: 0 Test Complete Date:
Documentation Complete Size: 0 Documentation Complete Date:
Acceptance Complete Size: 0 Acceptance Complete Date:
Reported by: fero Owned by: ja11sop
Milestone: Undecided Component: agiletracplugin
Version: Keywords:
Cc: Blocked By:
Patch SVN Revision: Patch Trac Version:
Blocking:
In Iterations: 17

Description

Change History

Have a look at the list of modified files related to this ticket.

Changed 3 years ago by ja11sop

  • test_complete_size changed from undefined to 0
  • doc_complete_size changed from undefined to 0
  • acceptance_complete_size changed from undefined to 0

Yes this is a known issue with easy_install and subversion 1.5. There are really two options.

  1. Follow the instructions at the bottom of this page AgileTracPluginInstall, and upgrade your easy_install.
  2. Depending on your easy_install version you might be able to manually edit your setuptools (easy_install) package.

For the second option recent releases of easy_install fix 2 out of 3 bugs required to address subversion 1.5 support. The last bug is in setuptools/package_index.py. You should replace the existing implementation of '_download_html' with this one (line 627). The only change is the regular expression is fixed to handle the html returned by subversion 1.5.

    def _download_html(self, url, headers, filename):
        file = open(filename)
        for line in file:
            if line.strip():
                # Check for a subversion index page
                if re.search(r'<title>([^- ]+ - )?Revision \d+:', line):
                    # it's a subversion index page:
                    file.close()
                    os.unlink(filename)
                    return self._download_svn(url, filename)
                break   # not an index page
        file.close()
        os.unlink(filename)
        raise DistutilsError("Unexpected HTML page found at "+url)

Closing this issue as wontfix for now. Please report back if this works for you. Thanks for taking the time to raise the issue in the first place.

Note: See TracTickets for help on using tickets.