Hi Christain,
I am back from vacation ;)

Using Fedora release 11
Using Apache server .
apache-modpython.conf had setEv DJANGO_SETTINGS_MODULE
setEnv PYTHON_EGG_CACJE

I have done workaround for this issue.
Created local snv repository on my rb server using svnsync
and changed repository path on rb to local repository. this works fine
for new review requests . ( i mean view diff)

But existing review requests still refer to old repository path.
Can you please let me know what I need to make existing review
requests to point to new repo. path?
eg: I edited repository for 'projtrunk' pointing to
https://svn.java.net/,.... to   file://localsvnrepo_directory  (using
file url)
need to clear server cache ?


Regards,
Vijay







On Mon, Sep 26, 2011 at 9:58 PM, Christian Hammond <chip...@chipx86.com> wrote:
> Hi,
>
> What distro are you using?
>
> This thread might be helpful:
> http://old.nabble.com/Subversion-1.6-on-Fedora%3A-Cannot-resolve-hostname-td23547309.html
>
> Also, are you using Apache? Does your RB-generated config file have "SetEnv
> HOME ..." in it?
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Mon, Sep 26, 2011 at 4:20 AM, vijay bhaskar <vijayb...@gmail.com> wrote:
>>
>> Hi Christian,
>> I am able to perform svn checkout for another user (other than root)
>> after adding http_proxy address and port
>> in $~/.subversion/servers (users home directory/.subversion/servers) .
>> I chown'd and given write permission to servers file. Still viewdiff
>> is showing same error. Any other tips to resolve this issue please?
>>
>> $ pwd
>> /var/www/proj.com/data/.subversion
>> $ ls -al
>> total 16
>> drwxr-xrwx 2 root   apache 4096 2011-09-26 14:10 .
>> drwxrwxrwx 3 root   apache 4096 2011-09-23 12:39 ..
>> -rw-r--rw- 1 root apache 7666 2011-09-23 12:40 servers
>>
>> Thanks,
>> Vijay
>>
>>
>> On Sat, Sep 24, 2011 at 1:33 AM, Christian Hammond <chip...@chipx86.com>
>> wrote:
>> > 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
>>
>> --
>> 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