Having struggled with this for days... "pip uninstall svn" sorted it

On Tuesday 11 June 2024 at 18:44:54 UTC+1 JP 99 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)
>
>
> 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]
>
>
> pip freeze:
>
> appdirs==1.4.4
> attrs==21.2.0
> Automat==20.2.0
> bcrypt==3.2.0
> blinker==1.4
> chardet==4.0.0
> click==8.0.3
> colorama==0.4.4
> command-not-found==0.3
> configobj==5.0.6
> constantly==15.1.0
> cryptography==3.4.8
> dbus-python==1.2.18
> distro==1.7.0
> distro-info==1.1+ubuntu0.2
> dnspython==2.6.1
> docutils==0.21.2
> fs==2.4.16
> html5lib==1.1
> httplib2==0.20.2
> hyperlink==21.0.0
> idna==3.3
> importlib-metadata==4.6.4
> incremental==21.3.0
> jeepney==0.7.1
> Jinja2==3.1.4
> keyring==23.5.0
> language-selector==0.1
> launchpadlib==1.10.16
> lazr.restfulclient==0.14.4
> lazr.uri==1.0.6
> MarkupSafe==2.1.5
> more-itertools==8.10.0
> netifaces==0.11.0
> nose==1.3.7
> oauthlib==3.2.0
> pexpect==4.8.0
> pillow==10.3.0
> ptyprocess==0.7.0
> pyasn1==0.4.8
> pyasn1-modules==0.2.1
> pycurl==7.44.1
> Pygments==2.18.0
> PyGObject==3.42.1
> PyHamcrest==2.0.2
> PyJWT==2.3.0
> pyOpenSSL==21.0.0
> pyparsing==2.4.7
> pysvn==1.9.15
> python-apt==2.4.0+ubuntu3
> python-dateutil==2.9.0.post0
> python-debian==0.1.43+ubuntu1.1
> python-magic==0.4.24
> PyYAML==5.4.1
> regex==2024.5.15
> SecretStorage==3.3.1
> service-identity==18.1.0
> six==1.16.0
> sos==4.5.6
> ssh-import-id==5.11
> svn==1.0.1
> systemd-python==234
> textile==4.0.2
> Trac==1.6
> TracAccountManager==0.6.0
> TracSpamFilter==1.2.7
> Twisted==22.1.0
> ubuntu-pro-client==8001
> ufw==0.36.1
> unattended-upgrades==0.1
> wadllib==1.3.6
> webencodings==0.5.1
> zipp==1.0.0
> zope.interface==5.4.0
>

-- 
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/33d28c13-acd2-4b12-8e1d-dc7a200b4dc2n%40googlegroups.com.

Reply via email to