Opened 16 years ago
Closed 16 years ago
#8138 closed defect (worksforme)
TracSpamFilter installation not working
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | none |
Severity: | normal | Keywords: | easy install html error spam filter |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
easy_install TracSpamFilter
results in:
error: Unexpected HTML page found at http://svn.edgewall.com/repos/trac/sandbox/spam-filter/
Attachments (0)
Change History (7)
comment:1 by , 16 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 by , 16 years ago
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
Here is the response from curl http://svn.edgewall.com/repos/trac/sandbox/spam-filter
:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>301 Moved Permanently</title> </head><body> <h1>Moved Permanently</h1> <p>The document has moved <a href="http://svn.edgewall.com/repos/trac/sandbox/spam-filter/">here</a>.</p> <hr> <address>Apache/2.2.9 (Ubuntu) DAV/2 SVN/1.5.1 mod_ssl/2.2.9 OpenSSL/0.9.8g Server at svn.edgewall.com Port 80</address> </body></html>
It looks like SVN misconfiguration to me.
comment:4 by , 16 years ago
I don't think this is due to SVN misconfiguration. This redirect is normal web server behavior trying to redirect us to the "correct" url which in this case is supposed to end with a trailing slash.
Setuptools is supposed to follow both temporary and permanent redirects automatically. So I have no idea why your copy ignores them.
Anyway, I've updated the TracSpamFilter? pypi-entry to include a trailing slash and thereby hopefully avoid this issue. Let me know how it works out
About the version number: One way is to look inside the easy_install script. It should include the version number at the top of the file.
comment:5 by , 16 years ago
Still getting the same error.
head -5 $(which easy_install) #!/usr/local/bin/python2.4 # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==0.6c7','console_scripts','easy_install' __requires__ = 'setuptools==0.6c7' import sys from pkg_resources import load_entry_point
comment:6 by , 16 years ago
Try upgrading setuptools:
easy_install -U setuptools
This should give you setuptools 0.6c9
comment:7 by , 16 years ago
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
Thanks, you were correct. The newer setuptools fixed the issue.
As far as I can tell it works fine. So either you have a too old version of setuptools (tested with 0.6c9) or you're behind some kind of http proxy breaking things.
Please reopen this ticket if the problem still persists after upgrading setuptools.