Hello,
I recently upgraded my Trac to the development version 1.5.3, mainly
because of the Python 3.X support. Doing this caused some grief but I
managed to get it working, all but the SVN support.
I know this is missing the Subversion Python bindings, this is normally
provided by the Ubuntu package python-subversion but this is a Python 2.7
package. I have been trying to find a way to get these bindings installed
for Python 3.X but to no avail. See the log messages below.
What would be the way to get these bindings?
2021-07-05 14:02:26,539 Trac[env] INFO: --------------------------------
environment startup [Trac 1.5.3] --------------------------------
2021-07-05 14:02:26,721 Trac[svn_fs] INFO: Failed to load Subversion
bindings
Traceback (most recent call last):
File "/usr/lib/python3.8/cmd.py", line 214, in onecmd
func = getattr(self, 'do_' + cmd)
AttributeError: 'TracAdmin' object has no attribute 'do_changeset'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/usr/local/lib/python3.8/dist-packages/tracopt/versioncontrol/svn/svn_fs.py",
line 200, in __init__
_import_svn()
File
"/usr/local/lib/python3.8/dist-packages/tracopt/versioncontrol/svn/svn_fs.py",
line 72, in _import_svn
from svn import fs, repos, core, delta
ModuleNotFoundError: No module named 'svn'
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/4f7b54f9-7d5e-4bad-9425-cbdd91323e31n%40googlegroups.com.
I recently upgraded my Trac to the development version 1.5.3, mainly
because of the Python 3.X support. Doing this caused some grief but I
managed to get it working, all but the SVN support.
I know this is missing the Subversion Python bindings, this is normally
provided by the Ubuntu package python-subversion but this is a Python 2.7
package. I have been trying to find a way to get these bindings installed
for Python 3.X but to no avail. See the log messages below.
What would be the way to get these bindings?
2021-07-05 14:02:26,539 Trac[env] INFO: --------------------------------
environment startup [Trac 1.5.3] --------------------------------
2021-07-05 14:02:26,721 Trac[svn_fs] INFO: Failed to load Subversion
bindings
Traceback (most recent call last):
File "/usr/lib/python3.8/cmd.py", line 214, in onecmd
func = getattr(self, 'do_' + cmd)
AttributeError: 'TracAdmin' object has no attribute 'do_changeset'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/usr/local/lib/python3.8/dist-packages/tracopt/versioncontrol/svn/svn_fs.py",
line 200, in __init__
_import_svn()
File
"/usr/local/lib/python3.8/dist-packages/tracopt/versioncontrol/svn/svn_fs.py",
line 72, in _import_svn
from svn import fs, repos, core, delta
ModuleNotFoundError: No module named 'svn'
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/4f7b54f9-7d5e-4bad-9425-cbdd91323e31n%40googlegroups.com.