Anonymous | Login | 2024-05-10 00:25 CEST |
Main | My View | View Issues |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0004884 | [trac] regular use | major | always | 2012-01-16 17:29 | 2012-01-30 14:46 | |||||||
Reporter | pfelecan | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | high | Resolution | open | Platform | ||||||||
Status | new | OS | ||||||||||
Projection | none | OS Version | ||||||||||
ETA | none | Product Build | ||||||||||
Summary | 0004884: fails to load subversion bindings | |||||||||||
Description |
When accessing the timeline of a tracked project, we get in the log file: 2012-01-16 17:23:14,836 Trac[svn_fs] INFO: Failed to load Subversion bindings Traceback (most recent call last): File "/opt/csw/lib/python/site-packages/trac/versioncontrol/svn_fs.py", line 267, in __init__ _import_svn() File "/opt/csw/lib/python/site-packages/trac/versioncontrol/svn_fs.py", line 68, in _import_svn from svn import fs, repos, core, delta ImportError: cannot import name fs Many other actions, e.g. trac-admin, gives a similar message. |
|||||||||||
Steps To Reproduce | ||||||||||||
Additional Information |
trac 0.12.1,REV=2010.11.14 pythonsvn 1.7.2,REV=2012.01.02 what else? |
|||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
|
Notes | |
(0009565) pfelecan (developer) 2012-01-30 14:46 |
Perusing http://trac.edgewall.org/wiki/TracSubversion#Troubleshooting [^] , section "Unsupported version control system 'svn'" it appears that snv python bindings are not known by the system python. A temporary correction is to symbolically link the 2 needed modules: # cd /opt/csw/lib/python/site-packages/ # ln -s /opt/csw/lib/svn/python/site-packages/libsvn libsvn # ln -s /opt/csw/lib/svn/python/site-packages/svn svn Et voilĂ ! I'm sure that a more elegant, maintainer way, is possible. |
Copyright © 2000 - 2008 Mantis Group |