SCMError: Unable to open an ra_local session to URL

15 views
Skip to first unread message

joseph.pnc

unread,
Jul 2, 2009, 10:01:36 AM7/2/09
to reviewboard
Hi all

I'm facing this strange problem. Hope some of you could lend some
help :-)

Review request was submitted successfully. But when I tried to view
diff, it gave me this error:

----------------
Unable to open an ra_local session to URL Unable to open repository
'file:///var/svn/cci-repos/cess/trunk/test.php' Can't open file '/var/
svn/cci-repos/cess/trunk/test.php/format': Permission denied

Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/reviewboard/diffviewer/views.py", line 152, in view_diff
interdiffset, highlighting, True)
File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/reviewboard/diffviewer/diffutils.py", line 620, in
get_diff_files
large_data=True)
File "/usr/lib/python2.4/site-packages/Djblets-0.5beta1-py2.4.egg/
djblets/util/misc.py", line 143, in cache_memoize
data = lookup_callable()
File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/reviewboard/diffviewer/diffutils.py", line 619, in <lambda>
enable_syntax_highlighting),
File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/reviewboard/diffviewer/diffutils.py", line 341, in
get_chunks
old = get_original_file(filediff)
File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/reviewboard/diffviewer/diffutils.py", line 248, in
get_original_file
large_data=True)[0]
File "/usr/lib/python2.4/site-packages/Djblets-0.5beta1-py2.4.egg/
djblets/util/misc.py", line 143, in cache_memoize
data = lookup_callable()
File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/reviewboard/diffviewer/diffutils.py", line 247, in <lambda>
data = cache_memoize(key, lambda: [fetch_file(file, revision)],
File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/reviewboard/diffviewer/diffutils.py", line 227, in
fetch_file
data = tool.get_file(file, revision)
File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/reviewboard/scmtools/svn.py", line 117, in get_file
raise SCMError(e)
SCMError: Unable to open an ra_local session to URL
Unable to open repository 'file:///var/svn/cci-repos/cess/trunk/
test.php'
Can't open file '/var/svn/cci-repos/cess/trunk/test.php/format':
Permission denied

--------------------------------

Previously I was able to view diff. I checked repository settings in
Admin page. I deleted the corresponding repos record and added it
again. I even put in username and password. Still, no hope. My SVN is
running just fine since I could perform update from the cmd line.

Any help would be greatly appreciated! Thanks!

Joseph.

joseph.pnc

unread,
Jul 2, 2009, 10:06:27 AM7/2/09
to reviewboard
To add on, I tried setting Debug to True, but no additional error
message was shown.

joseph.pnc

unread,
Jul 2, 2009, 10:26:02 AM7/2/09
to reviewboard
I realized I had to add 'apache' into my svn group. And it's working
now. But is this safe?
Reply all
Reply to author
Forward
0 new messages