Modify ↓
Opened 16 years ago
Closed 13 years ago
#6940 closed defect (fixed)
Setup fails
| Reported by: | Owned by: | Ryan J Ollos | |
|---|---|---|---|
| Priority: | normal | Component: | ServerSideRedirectPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.11 |
Description
~/Install/Trac/serversideredirectplugin/0.11 # python setup.py bdist_egg
Traceback (most recent call last):
File "setup.py", line 4, in <module>
from tracserversideredirect.plugin import __revision__ as coderev
File "/home/don/Install/Trac/serversideredirectplugin/0.11/tracserversideredirect/plugin.py", line 21, in <module>
from tracextracturl import extract_url
ImportError: cannot import name extract_url
Attachments (0)
Change History (5)
comment:1 Changed 16 years ago by
comment:2 Changed 15 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:3 Changed 15 years ago by
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
...\serversideredirectplugin\serversideredirectplugin\0.11>python setup.py bdist_egg No local packages or download links found for TracExtractUrl>=0.2.7030 Traceback (most recent call last):
File "setup.py", line 26, in <module>
entry_points = {'trac.plugins': ['tracserversideredirect.plugin = tracserversideredirect.plugin']}
File "C:\Program Files\BitNami Trac Stack\python\lib\distutils\core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "build/bdist.linux-i686/egg/setuptools/dist.py", line 260, in __init__
File "build/bdist.linux-i686/egg/setuptools/dist.py", line 284, in fetch_build_eggs
File "build/bdist.linux-i686/egg/pkg_resources.py", line 563, in resolve
File "build/bdist.linux-i686/egg/pkg_resources.py", line 799, in best_match
File "build/bdist.linux-i686/egg/pkg_resources.py", line 811, in obtain
File "build/bdist.linux-i686/egg/setuptools/dist.py", line 327, in fetch_build_egg
File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 434, in easy_install
File "build/bdist.linux-i686/egg/setuptools/package_index.py", line 475, in fetch_distribution
AttributeError: 'NoneType' object has no attribute 'clone'
comment:4 Changed 13 years ago by
| Owner: | changed from Martin Scharrer to Ryan J Ollos |
|---|---|
| Status: | reopened → new |
comment:5 Changed 13 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.



You need the ExtractUrlPlugin to use the ServerSideRedirectPlugin. Run
setup.py install(orsetup.py develop) for the ExtractUrlPlugin and try again.To avoid the issue in the future, it'd be nice if the ServerSideRedirectPlugin had the ExtractUrlPlugin listed in its
setup.pyas a requirement.