Modify

Opened 16 years ago

Closed 16 years ago

#3774 closed defect (fixed)

Error by using svnsync as repository type in trac.ini

Reported by: goldhammerdev@… Owned by: Jeff Hammel
Priority: normal Component: SvnsyncPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

By using the svnsync as repository trac brings up an error browing through all parts (wiki, tickets etc.) of it.

The trace is: 2008-09-22 11:03:18,890 Trac[main] ERROR: unknown encoding: cp0 Traceback (most recent call last):

File "d:\trac\python2.5\lib\site-packages\Trac-0.11.1-py2.5.egg\trac\web\main.py", line 423, in _dispatch_request

dispatcher.dispatch(req)

File "d:\trac\python2.5\lib\site-packages\Trac-0.11.1-py2.5.egg\trac\web\main.py", line 173, in dispatch

chosen_handler)

File "d:\trac\python2.5\lib\site-packages\Trac-0.11.1-py2.5.egg\trac\web\main.py", line 286, in _pre_process_request

chosen_handler = filter_.pre_process_request(req, chosen_handler)

File "d:\trac\python2.5\lib\site-packages\Trac-0.11.1-py2.5.egg\trac\versioncontrol\api.py", line 86, in pre_process_request

self.get_repository(req.authname).sync()

File "d:\trac\python2.5\lib\site-packages\Trac-0.11.1-py2.5.egg\trac\versioncontrol\api.py", line 157, in get_repository

repos = self._connector.get_repository(rtype, rdir, authname)

File "d:\trac\python2.5\lib\site-packages\svnsyncplugin-0.1.1-py2.5.egg\svnsyncplugin\svnsyncplugin.py", line 35, in get_repository

svnsync.sync(directory, self.repository_url)

File "d:\trac\python2.5\lib\site-packages\svnsyncplugin-0.1.1-py2.5.egg\svnsyncplugin\svnsync.py", line 64, in sync

retval = create(directory, repository, username)

File "d:\trac\python2.5\lib\site-packages\svnsyncplugin-0.1.1-py2.5.egg\svnsyncplugin\svnsync.py", line 41, in create

sh('svnadmin', 'create', directory)

File "d:\trac\python2.5\lib\site-packages\svnsyncplugin-0.1.1-py2.5.egg\svnsyncplugin\svnsync.py", line 19, in sh

print '> %s' % command

LookupError: unknown encoding: cp0


Maybe the solution by using str()-function under url http://groups.google.com/group/django-users/browse_thread/thread/f995ff5ddae2cd51 helps?

Env: Windows 2003 trac 0.11 Python 2.5 synsync latest version

Attachments (0)

Change History (1)

comment:1 Changed 16 years ago by Jeff Hammel

Resolution: fixed
Status: newclosed

(In [4339]) convert command to a string. hopefully this fixes #3774 though honestly i dont understand the issue

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jeff Hammel.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.