The Python module "subvertpy" is not installed.

41 views
Skip to first unread message

JC Anderson

unread,
Oct 24, 2023, 2:53:44 PM10/24/23
to Review Board Community
I'm new to the ReviewBoard community.
I'm trying to get the Bitnami Debian vm version (5.0.6) up and running for subversion.
I've installed pysvn using the RB install script and restarted the vm.
Trying to add a svn repo gives me this error: 
The Python module "subvertpy" is not installed. You may need to restart the server after installing it.

Any ideas on how to troubleshoot?

Thanks
Chris

Christian Hammond

unread,
Oct 25, 2023, 11:29:02 PM10/25/23
to revie...@googlegroups.com
Hi Chris,

That error is confusing and we've fixed it for Review Board 6 (by removing Subvertpy support — that project is barely maintained anymore). It's only mentioning Subvertpy because it was the last installed SVN implementation it tried to scan for.

If you're getting that error, then PySVN didn't actually install, or install into the right Python environment. Can you show me how you tried installing it in Bitnami?

I'd have expected Bitnami to have had this installed by default.

Christian


--
Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups "Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/13c0d007-121a-4dda-8f52-87a97508f573n%40googlegroups.com.


--
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

JC Anderson

unread,
Oct 26, 2023, 2:29:39 PM10/26/23
to Review Board Community
root@debian:/opt/bitnami# source /opt/bitnami/reviewboard/venv/bin/activate
(venv) root@debian:/opt/bitnami# python /opt/bitnami/pysvn_install.py
Looking up latest PySVN version...
Downloading PySVN 1.9.20...
Building PySVN...
Processing /tmp/tmpmqdhm70x.pysvn-install/pysvn-1.9.20
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: pysvn
  Building wheel for pysvn (setup.py) ... done
  Created wheel for pysvn: filename=pysvn-1.9.20-cp38-cp38-linux_x86_64.whl size=736343 sha256=6cc30b8cc648896617273a767a69a7286f5a18c75bb1a662072a1d3a5567e1d6
  Stored in directory: /root/.cache/pip/wheels/89/4a/32/870d0959e91d5f2c0b06836f41dc5fad01782ecf05ac85aa68
Successfully built pysvn
Installing collected packages: pysvn
  Attempting uninstall: pysvn
    Found existing installation: pysvn 1.9.20
    Uninstalling pysvn-1.9.20:
      Successfully uninstalled pysvn-1.9.20
Successfully installed pysvn-1.9.20

[notice] A new release of pip is available: 23.2.1 -> 23.3.1
[notice] To update, run: pip install --upgrade pip

PySVN is installed.
(venv) root@debian:/opt/bitnami# bash ctlscript.sh restart
restarting services...
(venv) root@debian:/opt/bitnami#

JC Anderson

unread,
Oct 30, 2023, 2:45:46 PM10/30/23
to Review Board Community
I must be installing it wrong.  Does the install process I did look ok?

Thanks
Chris

JC Anderson

unread,
Nov 1, 2023, 2:50:35 PM11/1/23
to Review Board Community
Is there a better forum for discussing installation issues?

Thanks
Chris

Christian Hammond

unread,
Nov 2, 2023, 2:52:37 AM11/2/23
to revie...@googlegroups.com
I’m so sorry for the lack of response. We do have a Premium Support forum for support contract customers, where we’re a bit more hands-on with complex issues, and have been pretty busy there these past few weeks.

It looks like the install was successful, so I’m not entirely sure what may be going wrong. It still sounds like it’s not being used for some reason. Are there any Apache or Review Board server logs that reference PySVN in any way?

Bitnami’s environment is a bit custom, and we don’t have much insight into how it chooses to do things.

As a check, can you look for the settings_local.py file and just make sure it doesn’t reference subvertpy in any way?

Christian

--
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

JCA

unread,
Nov 7, 2023, 11:45:12 AM11/7/23
to revie...@googlegroups.com
I don't see any references to pysvn or subvertpy in the apache or rb logs.

There are no references to subvertpy in the setings_local.py file

I see this in /opt/bitnami/reviewboard/lib/ReviewBoard-5.0.6-py3.8.egg/reviewboard/settings.py

SVNTOOL_BACKENDS = [
    'reviewboard.scmtools.svn.pysvn',
    'reviewboard.scmtools.svn.subvertpy',
]

Thanks
Chris

You received this message because you are subscribed to a topic in the Google Groups "Review Board Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/reviewboard/zfEyBPrBzX0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/CAE7VndnsTQGHdaZN81m2zYcKqSMzEF1RnQCmc8s3zsEmyTB1TA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages