Hi Vijay,

Can you verify that, on that same server, you're able to perform a svn
checkout of your repository from another user?

(Also, you'll want to chown that servers file so Apache can write to it.)

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Fri, Sep 23, 2011 at 4:11 AM, vijay bhaskar <vijayb...@gmail.com> wrote:

> Hi Christian,
> I had created 'servers'  file in in site path (
> /var/www/project.com/data/.subversion/servers )
>
> $>ls -al
> -rw-r--r-- 1 root root 7666 2011-09-23 12:40 servers
>
> Server file has below entries under [global] group
>
> [global]
> # http-proxy-exceptions = *.exception.com, www.internal-site.org
> http-proxy-host = exampleproxy.company.com
> http-proxy-port = 80
>
> Still  seeing same error when click on viewdiff.
>
> I enabled logging and code profiling.
> click on view diff doesn't show any exception or error ..
> Below is log generated.
>
> 2011-09-23 14:00:02,005 - DEBUG - Generating diff viewer page for
> filediff id 11912011-09-23 14:00:02,008 - DEBUG - Begin: Generating
> diff file info for diffset i
> d 1191
> 2011-09-23 14:00:02,013 - DEBUG - End: Generating diff file info for
> diffset id 1191
> 2011-09-23 14:00:02,013 - DEBUG - Generating diff file info for
> diffset id 1191 took 0.4563 seconds
> 2011-09-23 14:00:02,022 - DEBUG - Begin: Generating diff file info for
> diffset id 1191, filediff 18664
> 2011-09-23 14:00:02,023 - INFO - Cache miss for key
> host.com:diff-sidebyside-hl-18664.
> 2011-09-23 14:00:02,035 - INFO - Cache miss for key
> host.com:https://svn.java.net/..../..../Filename.java:7547.
> 2011-09-23 14:00:02,036 - DEBUG - Begin: Fetching file
> '/path/...../.../Filename.java' r7547 from svndir
>
>
> Can you please provide any pointers how to fix or debug this issue?
>
>
> Thanks,
> Vijay
>
>
>
>
> On Fri, Sep 23, 2011 at 2:04 AM, Christian Hammond <chip...@chipx86.com>
> wrote:
> > Hi,
> >
> > It'll have to be {sitedir}/data/.subversion/servers. If it doesn't exist,
> > you may need to create it.
> >
> > Christian
> >
> >
> > On Thursday, September 22, 2011, vijay bhaskar <vijayb...@gmail.com>
> wrote:
> >> Hi Christian,
> >> I tried to modify $~./subversion/servers and added http proxy .
> >> (I searched for 'servers' file  in my linux box there is no other )
> >> I am able to run svn commands but on reviewboard still seeing same
> error.
> >> We are using database (mysql) to store review boards's  data.
> >> Can you tell me any specific path on Reviewboard for proxy setting?
> >>
> >> Thanks,
> >> Vijay
> >>
> >> On Thu, Sep 22, 2011 at 3:42 AM, Christian Hammond <chip...@chipx86.com
> >
> >> wrote:
> >>> Hi Vijay,
> >>>
> >>> You'll need to tweak the Subversion proxy settings. Review Board's
> >>> subversion data is kept in {sitepath}/data/.subversion. I believe it's
> >>> the
> >>> "servers" file you want to modify, but I'm not at a computer right now
> so
> >>> I
> >>> can't verify
> >>>
> >>> Christian
> >>>
> >>>
> >>> On Wednesday, September 21, 2011, Vijay Reddy <vijayb...@gmail.com>
> >>> wrote:
> >>>> I am seeing an issue when firewall is setup on review board hosted
> >>>> sever.
> >>>> It shows error "Could not resolve hostname" when trying to viewdiff .
> >>>> Below is log .
> >>>>
> >>>>
> >>>> Operating system: Linux
> >>>> ReviewBoard version: 1.5.1
> >>>>
> >>>> Let me know how to resolve this issue? need to configure proxy to
> >>>> access external url https://svn.java.net/* ?
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> OPTIONS of 'https://svn.java.net/svn../...../.../filename.java':
> Could
> >>>> not resolve hostname `svn.java.net': Host not found (https://
> >>>> svn.java.net)
> >>>>
> >>>> Traceback (most recent call last):
> >>>>  File "/usr/lib/python2.6/site-packages/ReviewBoard-1.5.1-py2.6.egg/
> >>>> reviewboard/diffviewer/views.py", line 153, in view_diff
> >>>>    interdiffset, highlighting, True)
> >>>>  File "/usr/lib/python2.6/site-packages/ReviewBoard-1.5.1-py2.6.egg/
> >>>> reviewboard/diffviewer/diffutils.py", line 1063, in get_diff_files
> >>>>    large_data=True)
> >>>>  File "/usr/lib/python2.6/site-packages/Djblets-0.6.6-py2.6.egg/
> >>>> djblets/util/misc.py", line 166, in cache_memoize
> >>>>    data = lookup_callable()
> >>>>  File "/usr/lib/python2.6/site-packages/ReviewBoard-1.5.1-py2.6.egg/
> >>>> reviewboard/diffviewer/diffutils.py", line 1062, in <lambda>
> >>>>    enable_syntax_highlighting)),
> >>>>  File "/usr/lib/python2.6/site-packages/ReviewBoard-1.5.1-py2.6.egg/
> >>>> reviewboard/diffviewer/diffutils.py", line 548, in get_chunks
> >>>>    old = get_original_file(filediff)
> >>>>  File "/usr/lib/python2.6/site-packages/ReviewBoard-1.5.1-py2.6.egg/
> >>>> reviewboard/diffviewer/diffutils.py", line 364, in get_original_file
> >>>>    large_data=True)[0]
> >>>>  File "/usr/lib/python2.6/site-packages/Djblets-0.6.6-py2.6.egg/
> >>>> djblets/util/misc.py", line 166, in cache_memoize
> >>>>    data = lookup_callable()
> >>>>  File "/usr/lib/python2.6/site-packages/ReviewBoard-1.5.1-py2.6.egg/
> >>>> reviewboard/diffviewer/diffutils.py", line 363, in <lambda>
> >>>>    data = cache_memoize(key, lambda: [fetch_file(file, revision)],
> >>>>  File "/usr/lib/python2.6/site-packages/ReviewBoard-1.5.1-py2.6.egg/
> >>>> reviewboard/diffviewer/diffutils.py", line 342, in fetch_file
> >>>>    data = tool.get_file(file, revision)
> >>>>  File "/usr/lib/python2.6/site-packages/ReviewBoard-1.5.1-py2.6.egg/
> >>>> reviewboard/scmtools/svn.py", line 144, in get_file
> >>>>    raise SCMError(e)
> >>>>
> >>>>  OPTIONS of 'https://svn.java.net/svn/.../......./filename.java':
> >>>> Could not resolve hostname `svn.java.net': Host not found (https://
> >>>> svn.java.net)
> >>>>
> >>>> --
> >>>> Want to help the Review Board project? Donate today at
> >>>> http://www.reviewboard.org/donate/
> >>>> Happy user? Let us know at http://www.reviewboard.org/users/
> >>>> -~----------~----~----~----~------~--
> >
> > --
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board - http://www.reviewboard.org
> > VMware, Inc. - http://www.vmware.com
> >
> > --
> > Want to help the Review Board project? Donate today at
> > http://www.reviewboard.org/donate/
> > Happy user? Let us know at http://www.reviewboard.org/users/
> > -~----------~----~----~----~------~----~------~--~---
> > To unsubscribe from this group, send email to
> > reviewboard+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/reviewboard?hl=en
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to