Edgewall Software

Opened 18 years ago

Last modified 18 years ago

#2440 closed defect

Error using initenv with 0.9.1 on Win32 — at Version 1

Reported by: alasdair@… Owned by: Christian Boos
Priority: high Milestone: 0.9.3
Component: version control Version: 0.9
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

After building the wiki pages, I get the following error while running initenv in trac-admin (trying to index the repository). This is on a Python 2.3, Win32 install (following the wiki pages on how to install on Windows). This problem disappears if I revert the "Lib\site-packages\trac\versioncontrol" folder back to the files which came with version 0.9b2

Indexing repository
Failed to initialize environment. null argument to internal routine
Traceback (most recent call last):
File "C:\Python23\Lib\site-packages\trac\scripts\admin.py", line 610, in do_initenv
repos.sync()

File "C:\Python23\Lib\site-packages\trac\versioncontrol\cache.py", line 83, in sync
for path,kind,action,base_path,base_rev in changeset.get_changes():

File "C:\Python23\Lib\site-packages\trac\versioncontrol\svn_fs.py", line 488, in get_changes
change.base_path, pool())

SystemError: null argument to internal routine 

Change History (1)

comment:1 by Christian Boos, 18 years ago

Component: generalversion control
Description: modified (diff)
Milestone: 0.9.2
Owner: changed from Jonas Borgström to Christian Boos
Priority: normalhigh

I can't reproduce this. What version of the SVN bindings are you using? Also, after the above failure, it should be nevertheless possible to run a trac-admin resync command. Please do that with the log level set to DEBUG. i.e. configure your trac.ini like that:

[logging]
log_file = trac.log
log_level = DEBUG
log_type = stderr

Then, for which changeset does the initial error occur? What is the output of svn log -r XXX -v for that revision?

Note: See TracTickets for help on using tickets.