[Trac-tickets] [The Trac Project] #2620: Exception when initializing large repo

The Trac Project noreply at edgewall.com
Tue Jan 17 14:25:19 CST 2006


#2620: Exception when initializing large repo
-------------------------------+--------------------------------------------
 Reporter:  larsbj at gullik.net  |       Owner:  daniel
     Type:  defect             |      Status:  new   
 Priority:  normal             |   Milestone:        
Component:  trac-admin         |     Version:  0.9.3 
 Severity:  major              |    Keywords:        
-------------------------------+--------------------------------------------
 I am trying to setup trac on a largish repo (78000 revs, 12GB)
 The database initialization (sqlite) failes with:

  Indexing repository
 Failed to initialize environment. ("Can't create a character converter
 from 'UTF-8' to native encoding", 12)
 Traceback (most recent call last):
   File "/usr/lib/python2.4/site-packages/trac/scripts/admin.py", line 617,
 in do_initenv
     repos.sync()
   File "/usr/lib/python2.4/site-packages/trac/versioncontrol/cache.py",
 line 87, in sync
     for path,kind,action,base_path,base_rev in changeset.get_changes():
   File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py",
 line 461, in get_changes
     repos.svn_repos_replay(root, e_ptr, e_baton, pool())
   File "/opt/subversion-1.3.0/lib/svn-python/libsvn/repos.py", line 230,
 in svn_repos_replay
     return apply(_repos.svn_repos_replay, args)
   File "/opt/subversion-1.3.0/lib/svn-python/svn/repos.py", line 113, in
 delete_entry
     if _fs.is_dir(self._get_root(parent_baton[2]), base_path):
   File "/opt/subversion-1.3.0/lib/svn-python/libsvn/fs.py", line 351, in
 svn_fs_is_dir
     return apply(_fs.svn_fs_is_dir, args)
 SubversionException: ("Can't create a character converter from 'UTF-8' to
 native encoding", 12)

 Not quite sure if this is a trac problem or if this is the svn bindings
 playing up.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2620>
The Trac Project <http://trac.edgewall.com/>


More information about the Trac-Tickets mailing list