Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2667 by post-review fails to load .reviewboardrc on NFS automounted homes

* NOTE: Do not post confidential information in this bug report. *
*       If you need immediate support, please contact            *
*                             *

What version are you running?


What's the URL of the page containing the problem?


What steps will reproduce the problem?
1. easy_install -U RBTools as root
2. cd ~/someproject
3. post-review ...

What is the expected output? What do you see instead?

Review posted, instead:

Traceback (most recent call last):
  File "/usr/local/bin/post-review", line 8, in <module>
    load_entry_point('RBTools==0.4.1', 'console_scripts', 'post-review')()
File "/usr/local/lib64/python2.6/site-packages/RBTools-0.4.1-py2.6.egg/rbtools/", line 1195, in main File "/usr/local/lib64/python2.6/site-packages/RBTools-0.4.1-py2.6.egg/rbtools/utils/", line 51, in load_config_files File "/usr/local/lib64/python2.6/site-packages/RBTools-0.4.1-py2.6.egg/rbtools/utils/", line 39, in _load_config
IOError: [Errno 21] Is a directory: '/emc/.reviewboardrc'

Where /emc is the automount base directory for the NFS mounts.
The real home is /emc/<user>

What operating system are you using? What browser?


Please provide any additional information below.

This patch solves it:

--- rbtools/utils/ 2012-07-12 11:52:54.000000000 -0400
+++ rbtools/utils/     2012-02-29 00:28:42.000000000 -0500
@@ -34,7 +34,7 @@

         filename = os.path.join(path, CONFIG_FILE)

-        if os.path.exists(filename) and not os.path.isdir(filename):
+        if os.path.exists(filename):
                 execfile(filename, config)
             except SyntaxError, e:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to