Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#3782 closed defect (invalid)

Failure to build webadmin in trac 0.10rc1

Reported by: anonymous Owned by: Jonas Borgström
Priority: high Milestone:
Component: general Version: 0.10rc1
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Using the latest trunk version of trac (0.10rc1), when I try to build the latest 0.10 trunk version of webadmin, I get the following error:

$ python ./setup.py bdist_egg
running bdist_egg
Traceback (most recent call last):
  File "./setup.py", line 34, in ?
    entry_points = {
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/distutils/core.py", line 149, in setup
    dist.run_commands()
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/distutils/dist.py", line 907, in run_commands
    self.run_command(cmd)
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/distutils/dist.py", line 926, in run_command
    cmd_obj.ensure_finalized()
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/distutils/cmd.py", line 117, in ensure_finalized
    self.finalize_options()
  File "/Library/Python/2.3/site-packages/setuptools-0.7a1dev_r46140-py2.3.egg/setuptools/command/bdist_egg.py", line 94, in finalize_options
    ei_cmd = self.get_finalized_command("egg_info")
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/distutils/cmd.py", line 319, in get_finalized_command
    cmd_obj.ensure_finalized()
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/distutils/cmd.py", line 117, in ensure_finalized
    self.finalize_options()
  File "/Library/Python/2.3/site-packages/setuptools-0.7a1dev_r46140-py2.3.egg/setuptools/command/egg_info.py", line 44, in finalize_options
    self.egg_version = self.tagged_version()
  File "/Library/Python/2.3/site-packages/setuptools-0.7a1dev_r46140-py2.3.egg/setuptools/command/egg_info.py", line 138, in tagged_version
    ):  version += '-r%s' % self.get_svn_revision()
  File "/Library/Python/2.3/site-packages/setuptools-0.7a1dev_r46140-py2.3.egg/setuptools/command/egg_info.py", line 155, in get_svn_revision
    dirurl = urlre.search(data).group(1)    # get repository URL
AttributeError: 'NoneType' object has no attribute 'group

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 18 years ago

Keywords: needinfo added
Milestone: 0.10

Probably a bug with setuptools-0.7a1dev_r46140.

Try either to downgrade to 0.6rc3 (last "stable" version) or upgrade to at least r51948, the 0.7a1 version that worked for me.

Alternatively, you could fetch the WebAdmin source by doing svn export instead of a svn checkout: this will avoid the get_svn_revision() issues.

comment:2 by Christopher Lenz, 18 years ago

Keywords: needinfo removed
Resolution: invalid
Status: newclosed

Yes, this is a bug in Setuptools (triggered by a change in how Subversion stores working copy meta data in 1.4).

The issue was fixed in setuptools 0.6c3. See:

http://mail.python.org/pipermail/distutils-sig/2006-September/006726.html

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.