SVN Setup on Bitnami Windows distribution. No SVN/Subversion "Repository type" selectable.

131 views
Skip to first unread message

dac

unread,
May 21, 2017, 10:54:26 PM5/21/17
to reviewboard
Hi All,

I have successfully installed the Bitnami distribution on a Windows 2012 r2 server, to D:\ProgramFiles\Bitnami\reviewboard-2.5.9-0
I am not a python native, but believe I have done the right thing by installing the py27-pysvn-svn194-1.9.3-1884-Win32.exe to D:\ProgramFiles\Bitnami\reviewboard-2.5.9-0\python\Lib\site-packages\pysvn.
The CollabNetSubversion-client-1.9.5-1-Win32.exe distribution has been installed to "D:\ProgramFiles\CollabNet\Subversion Client", and this folder exists on the PATH.

But in the Admin DashBoard ->Add repository->Repository Type, SVN/Subversion is not one of the options.

Does anyone know how to have SVN setup for Review Board on a Windows Server? Or how Review Board determines the existence of SVN?

I realise that Review Board is recommended for *NIX environments, but unfortunately I am required to have this deployed in a windows environment, otherwise I will have to find a different product.

Cheers,
Damien.

Christian Hammond

unread,
May 22, 2017, 4:47:02 PM5/22/17
to revie...@googlegroups.com
Hi,

The Bitnami installation should have included everything you need for Subversion. It's likely that installing a custom PySVN would have resulted in problems. The reason being that on Windows, both Python and the compiled Python modules you use must generally all be compiled using the same compiler. This is certainly the case with PySVN.

I'd suggest uninstalling the Bitnami-provided Review Board and ensuring that the directory is completely empty, then re-installing Review Board, see if PySVN shows up in that case. If not, the Bitnami team would have to help you, because this is very environment-dependent on Windows.

Christian

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

--
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 "reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

dac

unread,
May 23, 2017, 7:38:29 PM5/23/17
to reviewboard, chri...@beanbaginc.com
Christian,

Thanks for the response. Unfortunately Bitnami refers to reviewboard.org for resolution. While the following link is not my post, it is exactly the issue that I am facing
https://community.bitnami.com/t/how-can-i-select-subversion-from-repository-type-list/47824

I will add a comment to the Bitnami post to see if there is any further information forthcoming.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.

Christian Hammond

unread,
May 23, 2017, 7:48:07 PM5/23/17
to revie...@googlegroups.com
Hi,

 It's definitely an issue with the installation. The Python entrypoints are likely not registered in the environment, and that's on their end. Entrypoints are a Python feature allowing applications/modules to register entries in a common place that can be looked up by other applications/modules, for extensibility purposes. This will affect the list of repository types (there should be many in there), hosting services, authentication backends, extensions, and more. If these are empty, then the package was either not installed correctly in their environment, or was disrupted in yours somehow.

Let's verify that's the cause. Can you go into the Authentication Settings and see what types of auth backends there are?

Christian

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

To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscribe@googlegroups.com.

dac

unread,
May 23, 2017, 8:37:00 PM5/23/17
to reviewboard, chri...@beanbaginc.com
One the http://reviewboard.corp/reviewboard/admin/settings/authentication/ page, I have "Standard Registration" and "Legacy Authentication Module" available.
BTW, I have reviewed the logs and see the following error occurring (once again, while I have experience in many other languages, python is not one of them, so I'm not sure if this is relevant)

[Wed May 24 09:30:40.181811 2017] [:error] [pid 1272:tid 1016] ERROR:root:Error loading authentication backend x509: pytz 2014.4 is installed but pytz>=2015.2 is required by []
[Wed May 24 09:30:40.181811 2017] [:error] [pid 1272:tid 1016] Traceback (most recent call last):
[Wed May 24 09:30:40.181811 2017] [:error] [pid 1272:tid 1016]   File "D:\\ProgramFiles\\Bitnami\\reviewboard-2.5.9-0\\apps\\reviewboard\\htdocs\\Lib\\site-packages\\ReviewBoard-2.5.9-py2.7.egg\\reviewboard\\accounts\\backends.py", line 935, in _populate_defaults
[Wed May 24 09:30:40.181811 2017] [:error] [pid 1272:tid 1016]     cls = entry.load()
[Wed May 24 09:30:40.181811 2017] [:error] [pid 1272:tid 1016]   File "build\\bdist.win32\\egg\\pkg_resources.py", line 2182, in load
[Wed May 24 09:30:40.181811 2017] [:error] [pid 1272:tid 1016]     self.require(env, installer)
[Wed May 24 09:30:40.181811 2017] [:error] [pid 1272:tid 1016]   File "build\\bdist.win32\\egg\\pkg_resources.py", line 2196, in require
[Wed May 24 09:30:40.181811 2017] [:error] [pid 1272:tid 1016]     items = working_set.resolve(reqs, env, installer)
[Wed May 24 09:30:40.181811 2017] [:error] [pid 1272:tid 1016]   File "build\\bdist.win32\\egg\\pkg_resources.py", line 632, in resolve
[Wed May 24 09:30:40.181811 2017] [:error] [pid 1272:tid 1016]     raise VersionConflict(tmpl % args)
[Wed May 24 09:30:40.181811 2017] [:error] [pid 1272:tid 1016] VersionConflict: pytz 2014.4 is installed but pytz>=2015.2 is required by []

Christian Hammond

unread,
May 23, 2017, 9:09:29 PM5/23/17
to revie...@googlegroups.com
That's the problem then. An incompatible pytz is installed. When there's a version conflict like this, it impacts anything scanned via Python entrypoints, preventing them from loading. If you can resolve this by upgrading pytz, the problem will go away.

It's entirely possible that Bitnami is shipping an older pytz and not a newer one, as we recently changed the dependencies for this.

I'll forward this thread on to Bitnami and see if they can address this.

Christian

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

To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscribe@googlegroups.com.

dac

unread,
May 24, 2017, 12:10:43 AM5/24/17
to reviewboard, chri...@beanbaginc.com
Christian,

I have downloaded and installed a new version of pytz, I can now see all the other authentication types available and have event configured AD authentication successfully. However there is still no SVN option available for selection. This is the case on two separate installations.

I have a fresh install without a custom install of pysvn, and still no luck. While this is may be a Bitnami issue, I would greatly appreciate any thoughts on what to investigate next.

Christian Hammond

unread,
May 24, 2017, 12:24:24 AM5/24/17
to revie...@googlegroups.com
Hi Damien,

Can you check for more errors in the logs, and show me a listing of everything in the repository type list?

Christian

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

To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscribe@googlegroups.com.

dac

unread,
May 24, 2017, 12:41:15 AM5/24/17
to reviewboard, chri...@beanbaginc.com
Christian,


"Team Foundation Server" and "Team Foundation Server (git)" are the only two entries in the "Repository type" drop down list.

I can no longer see anything obvious in the "D:\ProgramFiles\Bitnami\reviewboard-2.5.9-0\apache2\logs\error.log" log file.

Christian Hammond

unread,
May 24, 2017, 2:49:16 AM5/24/17
to revie...@googlegroups.com
Still the same problem then, I'm afraid. It's very likely that the entrypoints would need to be re-registered. You may have to re-install the Review Board package.

I've alerted Bitnami to the problem. They're going to be taking a look at it, see if they can get new builds out.

Christian


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

To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscribe@googlegroups.com.

Christian Hammond

unread,
May 25, 2017, 3:05:43 PM5/25/17
to revie...@googlegroups.com
Bitnami just let me know that they've released a new build fixing the pytz issue. I'd suggest doing a complete reinstall, ensuring all the old files are completely gone before installing the new build. See if that gets you any further.

Christian

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

Grant Shirreffs

unread,
Jun 21, 2017, 10:24:35 PM6/21/17
to reviewboard, chri...@beanbaginc.com
I don't know if you found a solution to this, but I encountered the same issue (on Windows), and it turned out to be that I had to install the 32-bit distribution of pysvn for Python 2.7.  The 64-bit version wouldn't install, as Python has only registered itself to the 32-bit registry.


Hope this helps
Reply all
Reply to author
Forward
0 new messages