Trac 无法与 Subversion 一起使用
我有来自 Sun Webstack 的 Collabnet Subversion 1.6.9、Trac 0.11.6、Python 2.6.1、Sunfreeware.com 的 swig 1.3.36,在 Solaris 10 5/09 SPARC 上运行。
打开 Trac 页面时出现这些错误代码。
Serving on 0.0.0.0:8000 view at http://127.0.0.1:8000/
/opt/webstack/python/lib/python2.6/site-packages/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/webstack/python/lib/python2.6/site-packages/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/webstack/python/lib/python2.6/site-packages/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/webstack/python/lib/python2.6/site-packages/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/webstack/python/lib/python2.6/site-packages/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
请指教。谢谢。
I have Collabnet Subversion 1.6.9, Trac 0.11.6, Python 2.6.1 from Sun's Webstack, Sunfreeware.com's swig 1.3.36 running on Solaris 10 5/09 SPARC.
I have these error code when open Trac page.
Serving on 0.0.0.0:8000 view at http://127.0.0.1:8000/
/opt/webstack/python/lib/python2.6/site-packages/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/webstack/python/lib/python2.6/site-packages/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/webstack/python/lib/python2.6/site-packages/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/webstack/python/lib/python2.6/site-packages/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/webstack/python/lib/python2.6/site-packages/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
Please advice. Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
错误消息抱怨 libsvn 是针对某些旧版本的 python 构建的。尝试重建该库,说明位于此处。 (我不在Solaris上...,所以我自己没有尝试过...)
the error message is complaining about the libsvn is build against some older version of python. try rebuild that library and instruction is here. (i am not on Solaris..., so i did not try it myself...)
该警告可以忽略。
之前,我在 Trac 上浏览源代码时遇到问题。
在我重新配置 subversion 以在 Apache 而不是 svnserve 上运行其 Web 服务器后,我可以浏览源代码。
可能必须安装
viewvc
才能通过 HTTP 浏览源代码。The warning is ignorable.
Previously, I had a problem browsing the source on Trac.
After I reconfigured the subversion to run its webserver on Apache instead of svnserve, I am able to browse the source.
It's possible that
viewvc
must be installed to be able to browse the source through HTTP.