Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#7930 closed defect (fixed)

resync problem for git

Reported by: mountainpaul@… Owned by: Herbert Valerio Riedel
Priority: normal Component: GitPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description (last modified by Ryan J Ollos)

git version trac-admin 0.12 trac-git commit

I try to do the following: from the tracs project_env I run trac-admin . then repository resync * This results in

TypeError: 'NoneType' object is unsubscriptable

Relevant trac.ini sections

## let Trac cache meta-data via CachedRepository wrapper; default: false
cached_repository = false

## disable automatic garbage collection for in-memory commit-tree cache; default: false
persistent_cache = false

## length revision sha-sums should be tried to be abbreviated to (must be >= 4 and <= 40); default: 7
shortrev_len = 7

## ( minimum length for which hex-strings will be interpreted as commit ids in wiki context; default: 40
wiki_shortrev_len = 40

## executable file name (in case of doubt use absolute path!) of git binary; default: 'git'
git_bin = /usr/bin/git

## ( define charset encoding of paths stored within git repository; default: 'utf-8'
git_fs_encoding = utf-8

## ( enable reverse mapping of git email addresses to trac user ids; default: false
trac_user_rlookup = false

## ( use git-committer id instead of git-author id as changeset owner; default: true
use_committer_id = true

## ( use git-committer timestamp instead of git-author timestamp as changeset time; default: true
use_committer_time = true

repository_dir = /var/git-repos/hearth.git
repository_type = git


tracext.git.* = enabled 

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 8 years ago by anonymous

Resolution: fixed
Status: newclosed

Resolved: The system was reading the global(python 2.5 site-packages) tracext (version .11), instead of the local one (version for .12).

Ideally, it seems a plugin from the local env, should be loaded instead of one from the global env if it exists.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Herbert Valerio Riedel.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.