Edgewall Software

Opened 18 years ago

Closed 18 years ago

Last modified 14 years ago

#516 closed defect (fixed)

Subversion 1.0.4 python bindings on Windows

Reported by: nicolas@… Owned by: Jonas Borgström
Priority: normal Milestone: 0.8
Component: timeline Version: 0.7.1
Severity: major Keywords: subversion
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:



I have trouble installing Trac on Windows XP + Apache2 + mod_python + Subversion 1.0.4. After having successfully struggle with the tricky ClearSilver 0.9.10 compilation, I finally managed to run Trac (Wiki, tickets etc.), except for the twos parts which use Subversion (Timeline and Browse Source). Both fail on the same stack trace :

Traceback (most recent call last):
  File "c:\apache\trac\trac\ModPythonHandler.py", line 174, in handler
    core.dispatch_request(mpr.path_info, args, mpr, env)
  File "c:\apache\trac\trac\core.py", line 378, in dispatch_request
    module = module_factory(args, env, database, req)
  File "c:\apache\trac\trac\core.py", line 157, in module_factory
    sync.sync(module.db, rep, fs_ptr, pool)
  File "c:/apache/trac\trac\sync.py", line 52, in sync
    date = util.svn_time_from_cstring(date, subpool) / 1000000
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

Apparently, this is not a #106 dupe, since the stack trace differs and #106 is fixed…

The Subversion repository I used is brand new, with a single import operation of many files.

Regards, Nicolas

Attachments (0)

Change History (3)

comment:1 by daniel, 18 years ago

Milestone: 0.8
Summary: Subversion 1.0.4 bindings (apparently not a #106 dupe)Subversion 1.0.4 python bindings on Windows (apparently not a #106 dupe)

Are the python bindings for subversion screwed up in 1.0.4 (again)?

comment:2 by anonymous, 18 years ago

Have you tried Subversion 1.0.6?

Particularly with the security advisory I would hope that people would upgrade.

Either way this seems to be a Subversion bug, so I would assume that this ticket should be closed.

comment:3 by Christopher Lenz, 18 years ago

Resolution: fixed
Status: newclosed
Summary: Subversion 1.0.4 python bindings on Windows (apparently not a #106 dupe)Subversion 1.0.4 python bindings on Windows

I believe this might have been fixed in [800] and is related to ModPython. Reopen if you can prove me wrong :-)

Modify Ticket

Change Properties
Set your email in Preferences
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.