The installs are on a Solaris 10 system. Since CollabNet_Subversion
1.6.2 just became available for Solaris, I uninstalled
CollabNet_Subversion 1.6.1 and installed CollabNet_subversion 1.6.2. I
did an svn dump and load of the svn repository.

I still cannot get trac to browse the svn repository. Trac will browse
the CollabNet_Subversion 1.5.1 repository which is the svn version that
I have been using successfully. I also tried CollabNet Subversion
1.5.6.1, but Trac will not browse this version. Could the trac svn
repository browse problem be related to doing dump and load on the svn
repository.

The following warning is output by "tracd ... resync" and also by tracd
when access the trac web page.

RuntimeWarning: Python C API version mismatch for module _fs: This
Python has API version 1013, module _fs has version 1011.

The following warning is displayed on the trac web page:

Warning: Can't synchronize with the repository (/mutes/mutesSvnRep does
not appear to be a Subversion repository.). Look in the Trac log for
more information.

The following is output by tracd when the trac web page is accessed:

/opt/CollabNet_Subversion/lib/svn-python/libsvn/fs.py:7: RuntimeWarning:
Python C API version mismatch for module _fs: This Python has API
version 1013, module _fs has version 1011.
  import _fs
/opt/CollabNet_Subversion/lib/svn-python/libsvn/fs.py:7: RuntimeWarning:
Python C API version mismatch for module swig_runtime_data4: This Python
has API version 1013, module swig_runtime_data4 has version 1011.
  import _fs
/opt/CollabNet_Subversion/lib/svn-python/libsvn/core.py:7:
RuntimeWarning: Python C API version mismatch for module _core: This
Python has API version 1013, module _core has version 1011.
  import _core
/opt/CollabNet_Subversion/lib/svn-python/libsvn/delta.py:7:
RuntimeWarning: Python C API version mismatch for module _delta: This
Python has API version 1013, module _delta has version 1011.
  import _delta
/opt/CollabNet_Subversion/lib/svn-python/libsvn/repos.py:7:
RuntimeWarning: Python C API version mismatch for module _repos: This
Python has API version 1013, module _repos has version 1011.
  import _repos
127.0.0.1 - - [21/May/2009 10:03:17] "GET /mutesTracEnv HTTP/1.1" 200 -
127.0.0.1 - - [21/May/2009 10:03:18] "GET
/mutesTracEnv/chrome/common/css/trac.css HTTP/1.1" 200 -
127.0.0.1 - - [21/May/2009 10:03:18] "GET
/mutesTracEnv/chrome/common/trac.ico HTTP/1.1" 200 -
127.0.0.1 - - [21/May/2009 10:03:18] "GET
/mutesTracEnv/chrome/common/js/jquery.js HTTP/1.1" 200 -
127.0.0.1 - - [21/May/2009 10:03:18] "GET
/mutesTracEnv/chrome/common/css/wiki.css HTTP/1.1" 200 -
127.0.0.1 - - [21/May/2009 10:03:19] "GET
/mutesTracEnv/chrome/common/css/code.css HTTP/1.1" 200 -
127.0.0.1 - - [21/May/2009 10:03:20] "GET
/mutesTracEnv/chrome/common/js/trac.js HTTP/1.1" 200 -
127.0.0.1 - - [21/May/2009 10:03:20] "GET
/mutesTracEnv/chrome/common/js/search.js HTTP/1.1" 200 -
127.0.0.1 - - [21/May/2009 10:03:22] "GET
/mutesTracEnv/chrome/common/trac_logo_mini.png HTTP/1.1" 200 -
127.0.0.1 - - [21/May/2009 10:03:22] "GET
/mutesTracEnv/chrome/common/dots.gif HTTP/1.1" 200 -

The following svn DEBUG entries are in trac.log:

Trac[loader] DEBUG: Loading trac.versioncontrol.svn_fs from
/usr/local/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg

Trac[svn_fs] DEBUG: Subversion bindings imported

The following lists relavent directories:

mutesserver% pwd
/usr/local/lib/python2.5/site-packages
mutesserver% ls
Genshi-0.5.1-py2.5-solaris-2.10-sun4u.egg
README
Trac-0.11.4-py2.5.egg
easy-install.pth
setuptools-0.6c9-py2.5.egg
setuptools.pth
mutesserver%


mutesserver% pwd
/opt/CollabNet_Subversion/lib/svn-python/libsvn
mutesserver% ls
__init__.py   _delta.so     _repos.la     core.pyc      ra.py
__init__.pyc  _diff.la      _repos.so     delta.py      ra.pyc
_client.la    _diff.so      _wc.la        delta.pyc     repos.py
_client.so    _fs.la        _wc.so        diff.py       repos.pyc
_core.la      _fs.so        client.py     diff.pyc      wc.py
_core.so      _ra.la        client.pyc    fs.py         wc.pyc
_delta.la     _ra.so        core.py       fs.pyc
mutesserver%


mutesserver% pwd
/opt/CollabNet_Subversion/lib/svn-python/svn
mutesserver% ls
__init__.py   core.py       diff.py       ra.py         wc.py
__init__.pyc  core.pyc      diff.pyc      ra.pyc        wc.pyc
client.py     delta.py      fs.py         repos.py
client.pyc    delta.pyc     fs.pyc        repos.pyc
mutesserver%

The following shows PYTHONPATH pointing to svn-python:

mutesserver% env | grep PYTHONPATH
PYTHONPATH=/opt/CollabNet_Subversion/lib/svn-python
mutesserver%

The following is the trac resync output:

mutesserver% trac-admin /mutes/mutesTracEnv resync
Resyncing repository history...
/opt/CollabNet_Subversion/lib/svn-python/libsvn/fs.py:7: RuntimeWarning:
Python C API version mismatch for module _fs: This Python has API
version 1013, module _fs has version 1011.
  import _fs
/opt/CollabNet_Subversion/lib/svn-python/libsvn/fs.py:7: RuntimeWarning:
Python C API version mismatch for module swig_runtime_data4: This Python
has API version 1013, module swig_runtime_data4 has version 1011.
  import _fs
/opt/CollabNet_Subversion/lib/svn-python/libsvn/core.py:7:
RuntimeWarning: Python C API version mismatch for module _core: This
Python has API version 1013, module _core has version 1011.
  import _core
/opt/CollabNet_Subversion/lib/svn-python/libsvn/delta.py:7:
RuntimeWarning: Python C API version mismatch for module _delta: This
Python has API version 1013, module _delta has version 1011.
  import _delta
/opt/CollabNet_Subversion/lib/svn-python/libsvn/repos.py:7:
RuntimeWarning: Python C API version mismatch for module _repos: This
Python has API version 1013, module _repos has version 1011.
  import _repos
20 revisions cached.
Done.
mutesserver%



-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Christian Boos
Sent: Friday, May 08, 2009 5:16 AM
To: [email protected]
Subject: [Trac] Re: Trac 0.11.4 and Subversion 1.6.1


Hello Keith,

keith wrote:
> I have installed Collabnet_Subversion 1.6.1 including xtrs for the
> python bindings, python 2.5.4 and trac 0.11.4. The svn repository was
> created and then loaded using a previous svn dump file. The trac web
> page displays an error message stating that the repository does not
> appear to be a subversion repository. Does Trac 0.11.4 support
> Subversion 1.6.1? If it does, then what could cause this error
message?
>   

Well, as I was reading your e-mail, I thought I could give a try to this

CollabNet package, as so far I didn't have any 1.6.x svn bindings for 
Windows to test with.

So I downloaded "CollabNet Subversion Server and Client v1.6.1 (for 
Windows)" from http://www.collab.net/downloads/subversion/ and installed
it.

However, the new version of the bindings (1.6.1) didn't get properly 
installed.
This is probably because I had a previous version of the bindings 
(1.5.x) in the Python 2.5 directory I selected during CollabNet 
installation. Or it could have been because I targeted a python.org 
installation instead of the recommended ActivePython one.

So I uninstalled CollabNet, created a fresh Python installation 
(ActivePython-2.5.4.4), reinstalled CollabNet, and this time it worked!

Trac 0.11.4 should work fine with 1.6.x, as I think the issues reported 
so far and fixed in either Trac 0.11.5dev or in the upcoming Subversion 
1.6.2 don't apply to Windows. Of course, if you notice any further 
issue, be sure to report it!

Hope this helps,

-- Christian




--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to