我有Sun的Webstack的Collabnet Subversion 1.6.9,Trac 0.11.6,Python 2.6.1,在Solaris 10 5/09 SPARC上运行的Sunfreeware.com的swig 1.3.36。
打开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
请指教。感谢。
答案 0 :(得分:0)
错误消息抱怨libsvn是针对某些旧版本的python构建的。尝试重建该库和指令here。 (我不是在Solaris上......所以我自己也没试过......)
答案 1 :(得分:0)
警告是可以忽略的。
以前,我在Trac上浏览源代码时遇到了问题 在我重新配置subversion以在Apache而不是svnserve上运行其web服务器之后,我能够浏览源代码。
必须安装viewvc
才能通过HTTP浏览源代码。