On 10/4/2010 10:28 AM, Brian Meeker wrote:
To get logging to work you also need to set your log_type to file. You
can see the supported logging methods at
http://trac.edgewall.org/wiki/TracLogging.
Unfortunately, that won't give you much info about this error. I just
went through the pain of trying to use the newest version of VisualSVN
and eventually just gave up. We are now running Trac on a separate
version of Apache and SVN. I suspect that the newest version of
VisualSVN is doing something odd to their included version of SVN that
prevents the Python bindings from working. The dll sizes don't match
up between VisualSVN and other SVN distributions, but that may not
mean anything.
On Oct 4, 9:16 am, Michelle Young<[email protected]>
wrote:
Dear TRAC experts,
I run TRAC 11 and SVN on Windows (server 2003). I believe I was at
VisualSVN Server 2.0.7 before the weekend. Everything was working for
the past year. Someone else installed it, although I have the
directions they used.
Trac: 0.11.5
Python: 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit
(Intel)]
setuptools: 0.6c9
psycopg2: 2.0.13
Genshi: 0.5.1
mod_python: 3.3.1
jQuery: 1.2.6
Over the weekend, I upgraded to VisualSVN 2.1.3 (has svn 1.6.12 and
Apache 2.2.13). I had to tweak the C:\Program Files\VisualSVN
Server\conf\httpd-custom.conf file to change the Authtype to even get
the server to start after the upgrade, but then it worked. (changed from
Basic to VisualSVN and removed the 'AuthBasicProvider visualsvn')
Now SVN is working and TRAC is working in general, but the connection
between the 2 seems to be broken. I am getting the following error in TRAC:
*Warning:* Can't synchronize with the repository (Unsupported version
control system "svn": "DLL load failed: The specified procedure could
not be found." ). Look in the Trac log for more information.
I looked in the trac/[repository name]/log, but it is empty, so I must
have to turn on some log parameter in the trac.ini? Or am I looking in
the wrong place?
[logging]
log_file = trac.log
log_level = DEBUG
log_type = none
I am thinking the error has something to do with maybe python from my
searches, but I am not sure how to correct. Something about bindings?
or something needs to be added/updated in site-packages? But I confess
I am not a *nix person and I don't really know much about python or
bindings. Lots of other languages, but not these.
I think I had this file for the previous install?
svn-python-1.6.5.win32-py2.5.exe. Do I need a newer one for 1.6.12? I
also have this VisualSVN error message: "python_init: Python version
mismatch, expected '2.5', found '2.5.4'. " Per internet: Some say it is
not important on Windows, but other say you need to "downgrade"? Or is
it just something about the order on the directories on PythonPath
(VisualSVN is last)?
Can anyone point me in the right direction for either the TRAC logging
issue, or the TRAC error?
Thanks for any help you can provide!
Thanks for the logging help. Such a simple change!
This is the error message:
2010-10-04 11:20:24,845 Trac[svn_fs] INFO: Failed to load Subversion
bindings
Traceback (most recent call last):
File "C:\Python25\lib\site-packages\trac\versioncontrol\svn_fs.py",
line 256, in __init__
_import_svn()
File "C:\Python25\lib\site-packages\trac\versioncontrol\svn_fs.py",
line 71, in _import_svn
from svn import fs, repos, core, delta
File "C:\Python25\lib\site-packages\svn\fs.py", line 19, in <module>
from libsvn.fs import *
File "C:\Python25\lib\site-packages\libsvn\fs.py", line 29, in <module>
import core
File "C:\Python25\lib\site-packages\libsvn\core.py", line 5, in <module>
import _core
ImportError: DLL load failed: The specified procedure could not be found.
2010-10-04 11:20:24,845 Trac[chrome] DEBUG: Prepare chrome data for request
Looks like some sort of stack trace for where it is failing.
svn_fs.py
Line 252-256: def __init__(self):
self._version = None
try:
_import_svn()
Lines 69-71:def _import_svn():
global fs, repos, core, delta, _kindmap
from svn import fs, repos, core, delta
But I am not very knowledgable in python. Any one have any hints as to
what might be wrong? I am hoping it is just some path I need to fix or
some exe/dll that needs copied, if I am lucky.
All I can find on their site is this.
http://www.visualsvn.com/server/trac/
But I downloaded the "unsupported item" and it looks like a version of
trac they grabbed and want you to dump under svn. But I already have 3
working TRAC that I want to keep. However, I was thinking maybe
something missing might be in here? I compared the files and sizes, but
most of the time the TRAC ones I have are larger, which I am guessing
means what I have is newer. The one interesting thing is the dll's in
site-packages\libsvn are very different in size and they have 4
microsoft module in theirs, like maybe they recompiled something for
windows?
Any ideas anyone?
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en.