#2560: browser requests fail with an exception related to svn
---------------------------------------+------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: cboos
Type: defect | Status: assigned
Priority: normal | Milestone:
Component: tracd | Version: 0.9.2
Severity: normal | Resolution:
Keywords: |
---------------------------------------+------------------------------------
Comment (by anonymous):
With the above, in mind, I did the following:
{{{
$ python
Python 2.4.2 (#1, Jan 11 2006, 01:58:37)
[GCC 3.4.3 (TWW)] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> from svn import repos
>>> from trac.versioncontrol.svn_fs import Pool
>>> path='/var/svn/test'
>>> pool = Pool()
>>> repos.svn_repos_find_root_path(path,pool())
'/var/svn/test'
}}}
Odd that this works given the results in the above comment. I modified
svn_fs.py:
{{{
path = os.path.normpath(path).replace('\\', '/')
self.path = repos.svn_repos_find_root_path(path, self.pool())
self.path = path
}}}
I then received the subversion error:
{{{
("Can't create a character converter from 'UTF-8' to native encoding", 2)
}}}
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2560>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets