How can I select Subversion from repository type list?

Installer: bitnami-reviewboard-2.5.9-0-windows-installer.exe

Hi,

There is a lot of possible combinations, so you can check the official reviewboard documentation page for this purpose: https://www.reviewboard.org/docs/manual/2.5/admin/configuration/repositories/

Please let us know if you find any problem on in.

Best regards,
Silvio Fernández

Silvio,

I too am facing the same issue with the bitnami-reviewboard-2.5.9-0-windows-installer.exe. I have posted on the Review Board forum for information, and they have pointed to Bitnami, https://groups.google.com/d/msg/reviewboard/hpNeyBEotrI/Dr3d77AqAgAJ. Would you be able to supply steps on setting up SVN with bitnami-reviewboard-2.5.9-0-windows-installer, given that SVN is a common source code repository.

Hi,

We are going to release a new ReviewBoard with that issue fixed very soon. We are also going to write down the steps to configure svn on windows installer soon.

Best regards,
Silvio Fernández

Hi @dac,

Just a quick note to let you know that we released the latest version of ReviewBoard and it’s available in bitnami.com

https://bitnami.com/stack/reviewboard

Let us know if you find any issues with this new build.

Regards,
Jota

@jota,

I have attempted the installation this morning, unfortunately it has failed. I am only able to provide a screenshot of the failure, as I was unable to find installation log files. If you can point me to the installation log files I will provide the full error message rather than just a screenshot.

I have since found the installation log. Here is an extract of what I think might be the relevant issue.

[10:06:54] Source for Python module "cryptography" found at D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0/pythonPackages/cryptography"
No file was found that matched the pattern cryptography*.zip inside the base directory D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0/pythonPackages/cryptography
No file was found that matched the pattern cryptography*.egg inside the base directory D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0/pythonPackages/cryptography
No file was found that matched the pattern cryptography*.exe inside the base directory D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0/pythonPackages/cryptography
No file was found that matched the pattern cryptography*.tar.gz inside the base directory D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0/pythonPackages/cryptography
[10:06:55] Tarball for Python module "cryptography" found at D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\pythonPackages\cryptography\cryptography-1.8.1-cp27-cp27m-win32.whl"
Executing D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0/pythonPackages/install_cryptography.bat 
Script exit code: 1

Script output:
 Processing d:\programfiles\bitnami\reviewboard-2.5.10-0\pythonpackages\cryptography\cryptography-1.8.1-cp27-cp27m-win32.whl
Collecting six>=1.4.1 (from cryptography==1.8.1)

Script stderr:
   Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x043EF9B0>: Failed to establish a new connection: [Errno 10061] No connection could be made because the target machine actively refused it',)': /simple/six/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x043EF8D0>: Failed to establish a new connection: [Errno 10061] No connection could be made because the target machine actively refused it',)': /simple/six/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x043EF190>: Failed to establish a new connection: [Errno 10061] No connection could be made because the target machine actively refused it',)': /simple/six/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x043EFEB0>: Failed to establish a new connection: [Errno 10061] No connection could be made because the target machine actively refused it',)': /simple/six/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x043EF530>: Failed to establish a new connection: [Errno 10061] No connection could be made because the target machine actively refused it',)': /simple/six/
  Could not find a version that satisfies the requirement six>=1.4.1 (from cryptography==1.8.1) (from versions: )
No matching distribution found for six>=1.4.1 (from cryptography==1.8.1)

Error running D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0/pythonPackages/install_cryptography.bat :   Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x043EF9B0>: Failed to establish a new connection: [Errno 10061] No connection could be made because the target machine actively refused it',)': /simple/six/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x043EF8D0>: Failed to establish a new connection: [Errno 10061] No connection could be made because the target machine actively refused it',)': /simple/six/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x043EF190>: Failed to establish a new connection: [Errno 10061] No connection could be made because the target machine actively refused it',)': /simple/six/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x043EFEB0>: Failed to establish a new connection: [Errno 10061] No connection could be made because the target machine actively refused it',)': /simple/six/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x043EF530>: Failed to establish a new connection: [Errno 10061] No connection could be made because the target machine actively refused it',)': /simple/six/
  Could not find a version that satisfies the requirement six>=1.4.1 (from cryptography==1.8.1) (from versions: )
No matching distribution found for six>=1.4.1 (from cryptography==1.8.1)
Executing D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0/pythonPackages/install_reviewboard.bat 
Script exit code: 0

Script output:
 Creating d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\site.py
Processing ReviewBoard-2.5.10-py2.7.egg
creating d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\ReviewBoard-2.5.10-py2.7.egg
Extracting ReviewBoard-2.5.10-py2.7.egg to d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages
Adding ReviewBoard 2.5.10 to easy-install.pth file
Installing rbext-script.py script to D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard/scripts
Installing rbext.exe script to D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard/scripts
Installing rbext.exe.manifest script to D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard/scripts
Installing rbssh-script.py script to D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard/scripts
Installing rbssh.exe script to D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard/scripts
Installing rbssh.exe.manifest script to D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard/scripts
Installing rb-site-script.py script to D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard/scripts
Installing rb-site.exe script to D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard/scripts
Installing rb-site.exe.manifest script to D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard/scripts

Installed d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg

Script stderr:
 

Performing database actions
Executing D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\mysql\bin\mysql.exe --user=root --host=127.0.0.1 --port=3306 "--password=****" -e "CREATE DATABASE bitnami_reviewboard;"
Script exit code: 0

Script output:
 

Script stderr:
 Warning: Using a password on the command line interface can be insecure.

Executing D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\mysql\bin\mysql.exe --user=root --host=127.0.0.1 --port=3306 "--password=****" -e "GRANT ALL PRIVILEGES ON bitnami_reviewboard.* TO 'bn_reviewboard'@'localhost' IDENTIFIED BY '6597e5afda';"
Script exit code: 0

Script output:
 

Script stderr:
 Warning: Using a password on the command line interface can be insecure.

Executing D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\mysql\bin\mysql.exe --user=root --host=127.0.0.1 --port=3306 "--password=****" -e "flush privileges;"
Script exit code: 0

Script output:
 

Script stderr:
 Warning: Using a password on the command line interface can be insecure.

Creating new Review Board site
Executing D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\scripts\rb-site.bat install --noinput --domain-name=127.0.0.1 --site-root=/reviewboard/ --static-url=static/ --media-url=media/ --db-type=mysql --db-name=bitnami_reviewboard  --db-host=127.0.0.1:3306 --db-user=bn_reviewboard --db-pass=****  --web-server-type=apache --cache-type=file  --cache-info=D:/ProgramFiles/Bitnami/reviewboard-2.5.10-0/apps/reviewboard/tmp --python-loader=wsgi --admin-user=admin --admin-password=**** --admin-email=user@example.com --company="" "D:/ProgramFiles/Bitnami/reviewboard-2.5.10-0/apps/reviewboard/htdocs/rb-sites/reviewboard"
Script exit code: 1

Script output:
 

* Welcome to the Review Board site installation wizard

    This will prepare a Review Board site installation in:

    D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs
    \rb-sites\reviewboard

    We need to know a few things before we can prepare your site for
    installation. This will only take a few minutes.


* Make sure you have the modules you need

    Depending on your installation, you may need certain Python
    modules and servers that are missing.

    If you need support for any of the following, you will need to
    install the necessary modules and restart the install.

    Databases (optional):
        * PostgreSQL (psycopg2)


* Installing the site...
Building site directories ... OK
Building site configuration files ... OK
Creating database ... 
[!] Unable to execute the manager command syncdb: No module named
    cryptography.hazmat.backends

[!] Unable to execute the manager command registerscmtools: No module
    named cryptography.hazmat.backends
OK
Performing migrations ... 
[!] Unable to execute the manager command evolve: No module named
    cryptography.hazmat.backends
OK
Creating administrator account ... 

Script stderr:
 Traceback (most recent call last):
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\Lib\site-packages\ReviewBoard-2.5.10-py2.7.egg\reviewboard\cmdline\rbsite.py", line 1943, in <module>
    main()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\Lib\site-packages\ReviewBoard-2.5.10-py2.7.egg\reviewboard\cmdline\rbsite.py", line 1938, in main
    command.run()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\Lib\site-packages\ReviewBoard-2.5.10-py2.7.egg\reviewboard\cmdline\rbsite.py", line 1263, in run
    self.show_install_status()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\Lib\site-packages\ReviewBoard-2.5.10-py2.7.egg\reviewboard\cmdline\rbsite.py", line 1603, in show_install_status
    site.create_admin_user)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\Lib\site-packages\ReviewBoard-2.5.10-py2.7.egg\reviewboard\cmdline\rbsite.py", line 1100, in step
    func()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\Lib\site-packages\ReviewBoard-2.5.10-py2.7.egg\reviewboard\cmdline\rbsite.py", line 629, in create_admin_user
    if not User.objects.filter(username=self.admin_user).exists():
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\manager.py", line 163, in filter
    return self.get_queryset().filter(*args, **kwargs)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\query.py", line 593, in filter
    return self._filter_or_exclude(False, *args, **kwargs)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\query.py", line 611, in _filter_or_exclude
    clone.query.add_q(Q(*args, **kwargs))
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\sql\query.py", line 1204, in add_q
    clause = self._add_q(where_part, used_aliases)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\sql\query.py", line 1240, in _add_q
    current_negated=current_negated)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\sql\query.py", line 1103, in build_filter
    allow_explicit_fk=True)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\sql\query.py", line 1363, in setup_joins
    names, opts, allow_many, allow_explicit_fk)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\sql\query.py", line 1271, in names_to_path
    field, model, direct, m2m = opts.get_field_by_name(name)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\options.py", line 373, in get_field_by_name
    cache = self.init_name_map()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\options.py", line 402, in init_name_map
    for f, model in self.get_all_related_m2m_objects_with_model():
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\options.py", line 518, in get_all_related_m2m_objects_with_model
    cache = self._fill_related_many_to_many_cache()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\options.py", line 532, in _fill_related_many_to_many_cache
    for klass in get_models(only_installed=False):
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\loading.py", line 232, in get_models
    self._populate()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\loading.py", line 78, in _populate
    self.load_app(app_name)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\loading.py", line 99, in load_app
    models = import_module('%s.models' % app_name)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\utils\importlib.py", line 40, in import_module
    __import__(name)
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\accounts\models.py", line 19, in <module>
    from reviewboard.reviews.models import Group, ReviewRequest
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\reviews\models\__init__.py", line 4, in <module>
    from reviewboard.reviews.models.default_reviewer import DefaultReviewer
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\reviews\models\default_reviewer.py", line 8, in <module>
    from reviewboard.reviews.managers import DefaultReviewerManager
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\reviews\managers.py", line 13, in <module>
    from reviewboard.diffviewer.models import DiffSetHistory
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\diffviewer\models.py", line 18, in <module>
    from reviewboard.scmtools.models import Repository
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\scmtools\models.py", line 26, in <module>
    from reviewboard.scmtools.crypto_utils import (decrypt_password,
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\scmtools\crypto_utils.py", line 7, in <module>
    from cryptography.hazmat.backends import default_backend
ImportError: No module named cryptography.hazmat.backends

Error running D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\scripts\rb-site.bat install --noinput --domain-name=127.0.0.1 --site-root=/reviewboard/ --static-url=static/ --media-url=media/ --db-type=mysql --db-name=bitnami_reviewboard  --db-host=127.0.0.1:3306 --db-user=bn_reviewboard --db-pass=****  --web-server-type=apache --cache-type=file  --cache-info=D:/ProgramFiles/Bitnami/reviewboard-2.5.10-0/apps/reviewboard/tmp --python-loader=wsgi --admin-user=admin --admin-password=**** --admin-email=user@example.com --company="" "D:/ProgramFiles/Bitnami/reviewboard-2.5.10-0/apps/reviewboard/htdocs/rb-sites/reviewboard": Traceback (most recent call last):
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\Lib\site-packages\ReviewBoard-2.5.10-py2.7.egg\reviewboard\cmdline\rbsite.py", line 1943, in <module>
    main()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\Lib\site-packages\ReviewBoard-2.5.10-py2.7.egg\reviewboard\cmdline\rbsite.py", line 1938, in main
    command.run()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\Lib\site-packages\ReviewBoard-2.5.10-py2.7.egg\reviewboard\cmdline\rbsite.py", line 1263, in run
    self.show_install_status()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\Lib\site-packages\ReviewBoard-2.5.10-py2.7.egg\reviewboard\cmdline\rbsite.py", line 1603, in show_install_status
    site.create_admin_user)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\Lib\site-packages\ReviewBoard-2.5.10-py2.7.egg\reviewboard\cmdline\rbsite.py", line 1100, in step
    func()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\Lib\site-packages\ReviewBoard-2.5.10-py2.7.egg\reviewboard\cmdline\rbsite.py", line 629, in create_admin_user
    if not User.objects.filter(username=self.admin_user).exists():
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\manager.py", line 163, in filter
    return self.get_queryset().filter(*args, **kwargs)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\query.py", line 593, in filter
    return self._filter_or_exclude(False, *args, **kwargs)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\query.py", line 611, in _filter_or_exclude
    clone.query.add_q(Q(*args, **kwargs))
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\sql\query.py", line 1204, in add_q
    clause = self._add_q(where_part, used_aliases)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\sql\query.py", line 1240, in _add_q
    current_negated=current_negated)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\sql\query.py", line 1103, in build_filter
    allow_explicit_fk=True)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\sql\query.py", line 1363, in setup_joins
    names, opts, allow_many, allow_explicit_fk)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\sql\query.py", line 1271, in names_to_path
    field, model, direct, m2m = opts.get_field_by_name(name)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\options.py", line 373, in get_field_by_name
    cache = self.init_name_map()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\options.py", line 402, in init_name_map
    for f, model in self.get_all_related_m2m_objects_with_model():
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\options.py", line 518, in get_all_related_m2m_objects_with_model
    cache = self._fill_related_many_to_many_cache()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\options.py", line 532, in _fill_related_many_to_many_cache
    for klass in get_models(only_installed=False):
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\loading.py", line 232, in get_models
    self._populate()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\loading.py", line 78, in _populate
    self.load_app(app_name)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\loading.py", line 99, in load_app
    models = import_module('%s.models' % app_name)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\utils\importlib.py", line 40, in import_module
    __import__(name)
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\accounts\models.py", line 19, in <module>
    from reviewboard.reviews.models import Group, ReviewRequest
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\reviews\models\__init__.py", line 4, in <module>
    from reviewboard.reviews.models.default_reviewer import DefaultReviewer
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\reviews\models\default_reviewer.py", line 8, in <module>
    from reviewboard.reviews.managers import DefaultReviewerManager
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\reviews\managers.py", line 13, in <module>
    from reviewboard.diffviewer.models import DiffSetHistory
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\diffviewer\models.py", line 18, in <module>
    from reviewboard.scmtools.models import Repository
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\scmtools\models.py", line 26, in <module>
    from reviewboard.scmtools.crypto_utils import (decrypt_password,
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\scmtools\crypto_utils.py", line 7, in <module>
    from cryptography.hazmat.backends import default_backend
ImportError: No module named cryptography.hazmat.backends
Problem running post-install step. Installation may not complete correctly
 Error running D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\scripts\rb-site.bat install --noinput --domain-name=127.0.0.1 --site-root=/reviewboard/ --static-url=static/ --media-url=media/ --db-type=mysql --db-name=bitnami_reviewboard  --db-host=127.0.0.1:3306 --db-user=bn_reviewboard --db-pass=****  --web-server-type=apache --cache-type=file  --cache-info=D:/ProgramFiles/Bitnami/reviewboard-2.5.10-0/apps/reviewboard/tmp --python-loader=wsgi --admin-user=admin --admin-password=**** --admin-email=user@example.com --company="" "D:/ProgramFiles/Bitnami/reviewboard-2.5.10-0/apps/reviewboard/htdocs/rb-sites/reviewboard": Traceback (most recent call last):
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\Lib\site-packages\ReviewBoard-2.5.10-py2.7.egg\reviewboard\cmdline\rbsite.py", line 1943, in <module>
    main()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\Lib\site-packages\ReviewBoard-2.5.10-py2.7.egg\reviewboard\cmdline\rbsite.py", line 1938, in main
    command.run()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\Lib\site-packages\ReviewBoard-2.5.10-py2.7.egg\reviewboard\cmdline\rbsite.py", line 1263, in run
    self.show_install_status()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\Lib\site-packages\ReviewBoard-2.5.10-py2.7.egg\reviewboard\cmdline\rbsite.py", line 1603, in show_install_status
    site.create_admin_user)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\Lib\site-packages\ReviewBoard-2.5.10-py2.7.egg\reviewboard\cmdline\rbsite.py", line 1100, in step
    func()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\Lib\site-packages\ReviewBoard-2.5.10-py2.7.egg\reviewboard\cmdline\rbsite.py", line 629, in create_admin_user
    if not User.objects.filter(username=self.admin_user).exists():
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\manager.py", line 163, in filter
    return self.get_queryset().filter(*args, **kwargs)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\query.py", line 593, in filter
    return self._filter_or_exclude(False, *args, **kwargs)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\query.py", line 611, in _filter_or_exclude
    clone.query.add_q(Q(*args, **kwargs))
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\sql\query.py", line 1204, in add_q
    clause = self._add_q(where_part, used_aliases)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\sql\query.py", line 1240, in _add_q
    current_negated=current_negated)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\sql\query.py", line 1103, in build_filter
    allow_explicit_fk=True)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\sql\query.py", line 1363, in setup_joins
    names, opts, allow_many, allow_explicit_fk)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\sql\query.py", line 1271, in names_to_path
    field, model, direct, m2m = opts.get_field_by_name(name)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\options.py", line 373, in get_field_by_name
    cache = self.init_name_map()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\options.py", line 402, in init_name_map
    for f, model in self.get_all_related_m2m_objects_with_model():
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\options.py", line 518, in get_all_related_m2m_objects_with_model
    cache = self._fill_related_many_to_many_cache()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\options.py", line 532, in _fill_related_many_to_many_cache
    for klass in get_models(only_installed=False):
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\loading.py", line 232, in get_models
    self._populate()
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\loading.py", line 78, in _populate
    self.load_app(app_name)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\db\models\loading.py", line 99, in load_app
    models = import_module('%s.models' % app_name)
  File "D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0\apps\django\django\utils\importlib.py", line 40, in import_module
    __import__(name)
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\accounts\models.py", line 19, in <module>
    from reviewboard.reviews.models import Group, ReviewRequest
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\reviews\models\__init__.py", line 4, in <module>
    from reviewboard.reviews.models.default_reviewer import DefaultReviewer
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\reviews\models\default_reviewer.py", line 8, in <module>
    from reviewboard.reviews.managers import DefaultReviewerManager
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\reviews\managers.py", line 13, in <module>
    from reviewboard.diffviewer.models import DiffSetHistory
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\diffviewer\models.py", line 18, in <module>
    from reviewboard.scmtools.models import Repository
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\scmtools\models.py", line 26, in <module>
    from reviewboard.scmtools.crypto_utils import (decrypt_password,
  File "d:\programfiles\bitnami\reviewboard-2.5.10-0\apps\reviewboard\htdocs\lib\site-packages\reviewboard-2.5.10-py2.7.egg\reviewboard\scmtools\crypto_utils.py", line 7, in <module>
    from cryptography.hazmat.backends import default_backend
ImportError: No module named cryptography.hazmat.backends
Registering Python
Executing D:\ProgramFiles\Bitnami\reviewboard-2.5.10-0/python/scripts/registerpython.bat INSTALL
Script exit code: 0

Script output:
 *** Unable to register!
*** You probably have another Python installation!

Script stderr:

This looks like the same issue as reported in Cryptography installation error Unfortunately this forum site won’t allow me to upload the full log file

1 Like

hi @dac,

Thank you for the information you’ve provided. We’re going to work on modifying the installer to not to run into this issue in the future. We will also check our test system as we didn’t notice this issue when testing the application.

Could you please provide some information about your system?

  • Which version of the operating system are you using?
  • What are the specifications of that machine?
  • Does the machine have an active internet connection?

Sorry for the inconveniences it may have caused. Regards,
Jota

I tested on both windows 8 (Desktop PC) and windows 2012 r2 (Data Center Server).

Windows 8
12 GB ram
i7 processor
1.2TB
Corporate Proxy Internet Only

Windows 2012
8GB Ram
4 core cpu
No Internet Connection, behind firewall

Hi @dac,

We could reproduce the issue that you reported and we are now working on fixing it. We will update this thread as soon as we have more information.

Sorry for the inconveniences.
Jota

@jota

Thanks for the update. Any guestimate for when a new version will be available?

Hi @dac,

We hope to release the installers tomorrow or at the beginning of the next week. We are testing the changes now.

Regards,
Jota

Hi @dac,

We’ve just released a new revision of ReviewBoard after testing it in Windows 10 and Windows Server 2012 either using or not an internet connection. The installation worked for us in both cases but please let us know if you find any other issue with the installer.

https://bitnami.com/stack/reviewboard

Regards,
Jota

@jota

Thanks for all the assistance.

I have now successfully installed review board and configured SVN. I was missing the step for installing the svn pysvn kit from:
http://tigris.org/files/documents/1233/49518/py27-pysvn-svn194-1.9.3-1884-Win32.exe

Hi,

We are glad that you were able to fix the issue. If you have any other question, please don’t hesitate to ask.

Best regards,
Alvaro Recio

Hi,

I have today tried installing Reviewboard on Windows 10 and I have a very similar issue.

I am using the installer bitnami-reviewboard-2.5.15-0-windows-installer.exe.

Once installation is completed, the only Hosting service offered is “GitHub enterprise” and the only local repositories listed are “Team Foundation Server” and “Team Foundation Server (git)”.

Looking at the installation log file, it appears there is an error trying to install other SCMs.

Script stderr:
Unable to load SCMTool svn = reviewboard.scmtools.svn:SVNTool: (djblets 0.9.8 (c:\bitnami\reviewboard-2.5.15-0\python\lib\site-packages\djblets-0.9.8-py2.7.egg), Requirement.parse(‘Djblets<=0.9.999,>=0.9.9’))
Unable to load SCMTool git = reviewboard.scmtools.git:GitTool: (djblets 0.9.8 (c:\bitnami\reviewboard-2.5.15-0\python\lib\site-packages\djblets-0.9.8-py2.7.egg), Requirement.parse(‘Djblets<=0.9.999,>=0.9.9’))
Unable to load SCMTool bzr = reviewboard.scmtools.bzr:BZRTool: (djblets 0.9.8 (c:\bitnami\reviewboard-2.5.15-0\python\lib\site-packages\djblets-0.9.8-py2.7.egg), Requirement.parse(‘Djblets<=0.9.999,>=0.9.9’))
Unable to load SCMTool cvs = reviewboard.scmtools.cvs:CVSTool: (djblets 0.9.8 (c:\bitnami\reviewboard-2.5.15-0\python\lib\site-packages\djblets-0.9.8-py2.7.egg), Requirement.parse(‘Djblets<=0.9.999,>=0.9.9’))
Unable to load SCMTool perforce = reviewboard.scmtools.perforce:PerforceTool: (djblets 0.9.8 (c:\bitnami\reviewboard-2.5.15-0\python\lib\site-packages\djblets-0.9.8-py2.7.egg), Requirement.parse(‘Djblets<=0.9.999,>=0.9.9’))

etc. for other SCM types.

Hi,

Could you please provide us with a little more information?

  • How much RAM does your server have?
  • Does it have an Internet connection?
  • Please, could you send us the whole installer log?

Did you check the reply by dac?

Thank you for your kind cooperation.

Best regards,
Alvaro Recio

Hi Alvaro,

Thanks for the reply.

I’m using a Windows 10 professional instance (a VM on a VMware server).
Windows version 1607 (Build 14393.1613) - Anniversary edition
It has 12Gb of RAM, a 250Gb drive (half used).
I have internet access from here, yes. I’m using a domain account which is an administrator for this machine.

I tried installing the pysvn kit as suggested - I believe that installed fine. However, the original reviewboard installer didn’t create a subversion directory next to the git one (or any of the others I saw with previous installations).

I have since tried the same install on a Windows server 2008 R2 VM - that gives the same error.

I’d like to send you the full install log, buts its large. How do you want to receive it?

Thanks,

Hugh

Hi @hugh

Reviewboard recently updated the requirements for the djblets version.
We are shipping djblets version0.9.8 while the new Reviewboard requires >=0.9.9.

We are going to fix the issue and release a new version of Bitnami Reviewboard. In order to get notified when the new patched version comes live, you can click on the “Follow” button located at https://bitnami.com/stack/reviewboard

Regards,
Jorge

Hi,

I got notified that the installer had been updated (to 2.5.16) so I tried it out. Unfortunately, it has the same problem - fails due to out of date Djblets version.

As far as I can see, the installer doesn’t work on Windows for new installations at the moment.

Possibly with the exception for supporting git.

Hi @hugh,

Sorry for the inconvenience again. This last version included the proper version of Djblets in Linux and OS X but not in Windows. You can easily install the new version of Djblets by running these commands in the Bitnami Console

https://docs.bitnami.com/installer/components/bnconsole/

pip uninstall djblets
pip install djblets

They will uninstall djblets 0.9.8 and will install the 0.9.9 version.

image

I hope that helps. We will work on releasing a new revision soon.

Regards,
Jota