This is a follow up on my previous issue (How to create an initial code 
review (post-commit) 
<!topic/reviewboard/aaXILxtH6dw>), but I 
think the subject needed updating:

My Review Board server set up::
Review Board: 2.0.18 (upgraded from 2.0.17)
OS: Ubuntu 14.04
Authorisation method: LDAP

My Subversion server is using svn+ssh

My Client computer:
OS: Ubuntu 14.04

I have added the Repository on the dashboard but can't get the keyless 
authentication to work correctly. 
My Review Board server should connect to the subversion server using my 
username for now (during evaluation I do not want to create the user on the 
- I have created a "config" file under "/var/www/reviewboard/data/.ssh" 
that contains my username to use for the server.
- I have generated keys on the RB server and added the "" (in 
data/.ssh/) key to "authorized_keys" on the svn server.
- I have added the Repository on the RB admin page
    - My path is set to: svn+ssh://<server ip>/MyRepoName
    - If I do not supply a username for the repository I get an "unable to 
authenticate" error if I save.
    - If I add my username then save it does not give any errors and the 
repository is added.

To test the SSH setup, I do the following steps on the RB server:
$ sudo -s
$ sudo -u www-data -s
$ cd /tmp
$ DEBUG_RBSSH=1 DJANGO_SETTINGS_MODULE=reviewboard.settings rbssh 

I get the following error:
www-data@ubuntu14:~$ DEBUG_RBSSH=1 
DJANGO_SETTINGS_MODULE=reviewboard.settings rbssh <svn.server.ip>
Traceback (most recent call last):
  File "/usr/local/bin/rbssh", line 9, in <module>
    load_entry_point('ReviewBoard==2.0.18', 'console_scripts', 'rbssh')()
  File "build/bdist.linux-x86_64/egg/pkg_resources/", line 558, 
in load_entry_point
  File "build/bdist.linux-x86_64/egg/pkg_resources/", line 2682, 
in load_entry_point
  File "build/bdist.linux-x86_64/egg/pkg_resources/", line 2355, 
in load
  File "build/bdist.linux-x86_64/egg/pkg_resources/", line 2361, 
in resolve
line 46, in <module>
    import paramiko
  File "build/bdist.linux-x86_64/egg/paramiko/", line 30, in 
  File "build/bdist.linux-x86_64/egg/paramiko/", line 49, in 
  File "build/bdist.linux-x86_64/egg/paramiko/", line 26, in 
  File "build/bdist.linux-x86_64/egg/Crypto/PublicKey/", line 89, in 
  File "build/bdist.linux-x86_64/egg/Crypto/Random/", line 29, 
in <module>
  File "build/bdist.linux-x86_64/egg/Crypto/Random/", 
line 38, in <module>
line 39, in <module>
line 35, in <module>
  File "build/bdist.linux-x86_64/egg/Crypto/Util/", line 59, in 
  File "build/bdist.linux-x86_64/egg/Crypto/Util/", line 7, in 
  File "build/bdist.linux-x86_64/egg/Crypto/Util/", line 4, in 
  File "build/bdist.linux-x86_64/egg/pkg_resources/", line 1161, 
in resource_filename
  File "build/bdist.linux-x86_64/egg/pkg_resources/", line 1861, 
in get_resource_filename
  File "build/bdist.linux-x86_64/egg/pkg_resources/", line 1921, 
in _extract_resource
  File "build/bdist.linux-x86_64/egg/pkg_resources/", line 1207, 
in extraction_error
pkg_resources.ExtractionError: Can't extract file(s) to egg cache

The following error occurred while trying to extract file(s) to the Python 

  [Errno 13] Permission denied: 

The Python egg cache directory is currently set to:


Perhaps your account does not have write access to this directory?  You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.

Trying to set the PYTHON_EGG_CACHE I get:
/tmp$ DEBUG_RBSSH=1 DJANGO_SETTINGS_MODULE=reviewboard.settings 
PYTHON_EGG_CACHE=/var/www/reviewboard/data/.python-eggs/ rbssh 
Unable to import No module named settings_local

Please see
for help setting up Review Board.

Any help will be appreciated. 

Supercharge your Review Board with Power Pack:
Want us to host Review Board for you? Check out RBCommons:
Happy user? Let us know!
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 
For more options, visit

Reply via email to