|Anonymous | Login | Signup for a new account||2020-06-02 12:54 CEST|
|Main | My View | View Issues|
|Viewing Issue Simple Details|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0004846||[py_subversion] packaging||major||always||2011-10-18 23:40||2012-03-01 09:03|
|Summary||0004846: trac is broken by the version 1.7.0_rc4,REV=2011.10.09|
after the upgrade trac stops displaying the repositories.
The python module svn is not found anymore
The error displayed
Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.
The trac log looks like this
2011-10-18 23:38:50,818 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__
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: No module named svn
pkginfo -l CSWpythonsvn
NAME: pythonsvn - Subversion Python Language Binding
VENDOR: http://subversion.apache.org/ [^] packaged for CSW by THURNER rupert
INSTDATE: Oct 18 2011 18:30
HOTLINE: http://www.opencsw.org/bugtrack/ [^]
STATUS: completely installed
pkgchk -l CSWpythonsvn
WARNING: Package <CSWpythonsvn> is installed but empty
|Tags||No tags attached.|
While trying to recompile svn 1.7.0 I found neon needs to be upgraded too.
My quick fix was rsyncing from a machine still running svn 1.6.15 the following
Looking at the packages, the pythonsvn package is empty:
I thought that maybe the module files ended up in another package, e.g. the main package. But I didn't find these files in any of them, so maybe the module was removed from 1.7, or moved to a separate source tarball?
|compilation is switched off in the build recipe until somebody can have a look why it does not link.|
|pythonsvn is switched on again, the 1.7.2 version contains pythonsvn again.|
|pls reopen if it does not work yet|
It indeed does , but the package layout changed a bit.
after doing a
rsync -av /opt/csw/lib/svn/python/site-packages/ /opt/csw/lib/python/site-packages/
python was able to use it again.
It this behaviour intendet ?
|Copyright © 2000 - 2008 Mantis Group|