Edgewall Software

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#8151 closed defect (invalid)

Revision number lost 0.12dev-r0 — at Version 5

Reported by: anonymous Owned by:
Priority: normal Milestone:
Component: general Version: 0.12dev
Severity: normal Keywords: svn setuptools
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Remy Blank)

Installing on Windows from trunk not shows the correct Revision number:

...
Installed d:\python25\lib\site-packages\trac-0.12dev_r0-py2.5.egg
Processing dependencies for Trac==0.12dev-r0
Searching for Genshi==0.6dev-r1019
Best match: Genshi 0.6dev-r1019
Processing genshi-0.6dev_r1019-py2.5-win32.egg
genshi 0.6dev-r1019 is already the active version in easy-install.pth

Using d:\python25\lib\site-packages\genshi-0.6dev_r1019-py2.5-win32.egg
Searching for setuptools==0.6c9
Best match: setuptools 0.6c9
Adding setuptools 0.6c9 to easy-install.pth file
Installing easy_install-script.py script to D:\Python25\Scripts
Installing easy_install.exe script to D:\Python25\Scripts
Installing easy_install-2.5-script.py script to D:\Python25\Scripts
Installing easy_install-2.5.exe script to D:\Python25\Scripts

Using d:\python25\lib\site-packages
Finished processing dependencies for Trac==0.12dev-r0

I'am running trac on Windows Server 2003, Apache 2.2.11, Python 2.5, SVN 1.6.0

Change History (5)

comment:1 by anonymous, 15 years ago

Additional version infos: Trac: 0.12dev-r0 Python: 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] setuptools: 0.6c9 SQLite: 3.3.4 pysqlite: 2.3.2 Genshi: 0.6dev-r1019 Babel: 0.9.4 mod_python: 3.3.1 Subversion: 1.6.0 (r36650) jQuery: 1.3.2

comment:2 by ebray, 15 years ago

Works fine for me with Trac from trunk with Python 2.5.2 and SVN 1.5.1. I wonder if it's some incompatibility between SVN 1.6dev and setuptools—that seems the most likely culprit.

What command are you using to build/install Trac?

comment:3 by DS77 <marcel@…>, 15 years ago

The command is: setup.py install I'm not using svn 1.6dev. I use 1.6 final (http://subversion.tigris.org/svn_1.6_releasenotes.html) trac 0.12dev runs since a few month without any problem on my system. The broken revision number semms to be a compatibility issue after updating svn to 1.6.0 final.

comment:4 by DS77 <marcel@…>, 15 years ago

Is there nobody with same problem?

comment:5 by Remy Blank, 15 years ago

Description: modified (diff)
Milestone: 0.12
Resolution: invalid
Status: newclosed

I know setuptools does some voodoo to get the revision number from the .svn folder directly, instead of using SVN bindings. It's possible that this doesn't work anymore with SVN 1.6, as IIRC the working copy format has changed.

This is most likely related to:

http://bugs.python.org/setuptools/issue64

Anyway, this is not an issue with Trac.

Note: See TracTickets for help on using tickets.