Opened 7 years ago

Closed 4 years ago

#6940 closed defect (fixed)

Setup fails

Reported by: forrestline@… Owned by: rjollos
Priority: normal Component: ServerSideRedirectPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


~/Install/Trac/serversideredirectplugin/0.11 # python bdist_egg
Traceback (most recent call last):
  File "", line 4, in <module>
    from tracserversideredirect.plugin import __revision__ as coderev
  File "/home/don/Install/Trac/serversideredirectplugin/0.11/tracserversideredirect/", line 21, in <module>
    from  tracextracturl     import  extract_url
ImportError: cannot import name extract_url

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by nicholasbs

You need the ExtractUrlPlugin to use the ServerSideRedirectPlugin. Run install (or 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 as a requirement.

comment:2 Changed 7 years ago by martin_s

  • Resolution set to fixed
  • Status changed from new to closed

(In [7985])
Added dependency to fix #6940. Please reopen ticket if any problem remain.

comment:3 Changed 6 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

...\serversideredirectplugin\serversideredirectplugin\0.11>python bdist_egg No local packages or download links found for TracExtractUrl>=0.2.7030 Traceback (most recent call last):

  File "", line 26, in <module>
    entry_points = {'trac.plugins': ['tracserversideredirect.plugin = tracserversideredirect.plugin']}
  File "C:\Program Files\BitNami Trac Stack\python\lib\distutils\", line 112, in setup
    _setup_distribution = dist = klass(attrs)
  File "build/bdist.linux-i686/egg/setuptools/", line 260, in __init__
  File "build/bdist.linux-i686/egg/setuptools/", line 284, in fetch_build_eggs
  File "build/bdist.linux-i686/egg/", line 563, in resolve
  File "build/bdist.linux-i686/egg/", line 799, in best_match
  File "build/bdist.linux-i686/egg/", line 811, in obtain
  File "build/bdist.linux-i686/egg/setuptools/", line 327, in fetch_build_egg
  File "build/bdist.linux-i686/egg/setuptools/command/", line 434, in easy_install
  File "build/bdist.linux-i686/egg/setuptools/", line 475, in fetch_distribution
AttributeError: 'NoneType' object has no attribute 'clone'

comment:4 Changed 4 years ago by rjollos

  • Owner changed from martin_s to rjollos
  • Status changed from reopened to new

comment:5 Changed 4 years ago by rjollos

  • Resolution set to fixed
  • Status changed from new to closed

(In [11890]) Fixes #6940, #8680:

  • Removed setup_requires statement from The listed package is only necessary for installation, not for running setuptools.
  • Modified import statement for extract_url since it was not importing correctly.

Tested with Trac 1.0dev-r11167.

Add Comment

Modify Ticket

as closed The owner will remain rjollos.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.