On Wed, Jun 12, 2024 at 2:44 AM 'JP 99' via Trac Users
<[email protected]> wrote:
>
> Updating a site from 1.0.9, have got to Ubuntu 22.04/Trac 1.6, but cannot get
> svn 'bindings' to work for toffee. Any help would be really, really
> appreciated.
>
> One thing I noticed is that "site-packages" are all under the admin user home
> directory (only 'dist-packages' under /usr/local/lib/python3.10).
>
> The machine has been upgraded through various OS versions and was running
> with python 2.7 before latest OS upgrade.
>
> Basic test:
>
> >>> from svn import core
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: cannot import name 'core' from 'svn'
> (/usr/local/lib/python3.10/dist-packages/svn/__init__.py)
The /usr/local/lib/python3.10/dist-packages/svn/ is broken. Please
describe how you've installed the svn module. Your installation method
may be incorrect.
> Packages:
>
> apache2-bin/jammy-updates,jammy-security,now 2.4.52-1ubuntu4.9 amd64
> [installed,automatic]
> apache2-data/jammy-updates,jammy-updates,jammy-security,jammy-security,now
> 2.4.52-1ubuntu4.9 all [installed,automatic]
> apache2-utils/jammy-updates,jammy-security,now 2.4.52-1ubuntu4.9 amd64
> [installed,automatic]
> apache2/jammy-updates,jammy-security,now 2.4.52-1ubuntu4.9 amd64 [installed]
> libapache2-mod-svn/jammy-updates,jammy-security,now 1.14.1-3ubuntu0.22.04.1
> amd64 [installed]
> libapache2-mod-wsgi-py3/jammy-updates,jammy-security,now 4.9.0-1ubuntu0.1
> amd64 [installed]
> libsvn-dev/jammy-updates,jammy-security,now 1.14.1-3ubuntu0.22.04.1 amd64
> [installed]
> libsvn1/jammy-updates,jammy-security,now 1.14.1-3ubuntu0.22.04.1 amd64
> [installed,automatic]
> python3-subversion/jammy-updates,jammy-security,now 1.14.1-3ubuntu0.22.04.1
> amd64 [installed]
> python3-svn/jammy,now 1.9.15-1build1 amd64 [installed]
> subversion/jammy-updates,jammy-security,now 1.14.1-3ubuntu0.22.04.1 amd64
> [installed]
Also, svn module should be available because python3-subversion
package is installed. Try to remove
/usr/local/lib/python3.10/dist-packages/{svn,libsvn} if you want to
use Subversion bindings from the package.
See https://packages.ubuntu.com/jammy/amd64/python3-subversion/filelist
--
Jun Omae <[email protected]> (大前 潤)
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/trac-users/CAEVLMagMLsr0nqDi6Upk%2BQed%2Bf0gj5WrpLsM_S8SKwPzzRu0hg%40mail.gmail.com.