Edgewall Software

Ticket #3882 (closed defect: worksforme)

Opened 2 years ago

Last modified 2 years ago

Plugin build failure

Reported by: sam@… Owned by: mgood
Priority: low Milestone:
Component: plugin/spamfilter Version: devel
Severity: normal Keywords:
Cc:

Description

For a reason I can't find, some plugins fail to build, for exemple the WebAdmin plugin and the SpamFilter plugin, both with the following error message :

running bdist_egg
Traceback (most recent call last):
  File "./setup.py", line 40, in ?
    zip_safe = True
  File "distutils/core.py", line 149, in setup
  File "distutils/dist.py", line 946, in run_commands
  File "distutils/dist.py", line 965, in run_command
  File "/usr/lib/python2.4/cmd.py", line 117, in ensure_finalized
    pass
  File "/usr/lib/python2.4/site-packages/setuptools/command/bdist_egg.py", line 94, in finalize_options
    ei_cmd = self.ei_cmd = self.get_finalized_command("egg_info")
  File "/usr/lib/python2.4/cmd.py", line 319, in get_finalized_command
    for name in names:
  File "/usr/lib/python2.4/cmd.py", line 117, in ensure_finalized
    pass
  File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 85, in finalize_options
    self.vtags = self.tags()
  File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 179, in tags
    ):  version += '-r%s' % self.get_svn_revision()
  File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 196, in get_svn_revision
    dirurl = urlre.search(data).group(1)    # get repository URL
AttributeError: 'NoneType' object has no attribute 'group'
zsh: exit 1     python ./setup.py bdist_egg

The TicketDeletePlugin? builds fine, so I don't know what's going on :/

Attachments

Change History

Changed 2 years ago by mgood

  • status changed from new to closed
  • resolution set to worksforme
  • milestone 0.10.1 deleted

This is a setuptools bug with SVN 1.4. Upgrade to the latest setuptools.

Changed 2 years ago by anonymous

Following a tip on #3782, I was able to build the egg and install the plugin by getting the source with 'svn export' rather than 'svn co'.

Add/Change #3882 (Plugin build failure)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from mgood. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.