Re: Issue 2667 in reviewboard: post-review fails to load .reviewboardrc on NFS automounted homes

2014-01-03 Thread reviewboard

Updates:
Status: Fixed

Comment #2 on issue 2667 by trowb...@gmail.com: post-review fails to  
load .reviewboardrc on NFS automounted homes

http://code.google.com/p/reviewboard/issues/detail?id=2667

(No comment was entered for this change.)

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Issue 2667 in reviewboard: post-review fails to load .reviewboardrc on NFS automounted homes

2012-12-23 Thread reviewboard

Updates:
Status: PendingReview
Labels: Component-RBTools

Comment #1 on issue 2667 by trowb...@gmail.com: post-review fails to  
load .reviewboardrc on NFS automounted homes

http://code.google.com/p/reviewboard/issues/detail?id=2667

(No comment was entered for this change.)

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.



Issue 2667 in reviewboard: post-review fails to load .reviewboardrc on NFS automounted homes

2012-07-12 Thread reviewboard

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

New issue 2667 by nelson.s...@gmail.com: post-review fails to  
load .reviewboardrc on NFS automounted homes

http://code.google.com/p/reviewboard/issues/detail?id=2667

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

What version are you running?

RBTools-0.4.1-py2.6.egg

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

N/A

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/postreview.py,  
line 1195, in main
   
File /usr/local/lib64/python2.6/site-packages/RBTools-0.4.1-py2.6.egg/rbtools/utils/filesystem.py,  
line 51, in load_config_files
   
File /usr/local/lib64/python2.6/site-packages/RBTools-0.4.1-py2.6.egg/rbtools/utils/filesystem.py,  
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?

SuSE SLES 11 SP1

Please provide any additional information below.

This patch solves it:

--- rbtools/utils/filesystem.py 2012-07-12 11:52:54.0 -0400
+++ rbtools/utils/filesystem.py.old 2012-02-29 00:28:42.0 -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):
 try:
 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 reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.