Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#3882 closed defect (worksforme)

Plugin build failure

Reported by: sam@… Owned by: Matthew Good
Priority: low Milestone:
Component: plugin/spamfilter Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

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 (0)

Change History (2)

comment:1 by Matthew Good, 18 years ago

Milestone: 0.10.1
Resolution: worksforme
Status: newclosed

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

comment:2 by anonymous, 18 years ago

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'.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matthew Good.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Matthew Good to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.