Re: (A solution) 404 error when using reviewboard with lighttpd
I think he meant: And this line: ^(/.*)$ = /reviewboard.fcgi$1, to this: ^(/.*)$ = /reviewboard.fcgi/$1, i.e adding a slash before '$1'. I tried his solution, it works! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
SCMError: Unable to open an ra_local session to URL
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. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: SCMError: Unable to open an ra_local session to URL
To add on, I tried setting Debug to True, but no additional error message was shown. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: SCMError: Unable to open an ra_local session to URL
I realized I had to add 'apache' into my svn group. And it's working now. But is this safe? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: View diff is failing
Hi Guy, Inspite of having the patch included in my path, I had to copy the patch to the apache bin directory. This is not an elegant solutions, but it works :). On 30 jun, 19:32, Henrike Coelho henrike.coe...@gmail.com wrote: Hi Christian, humm I've tried to do that, however without success :( the error still happens. patch-2.5.9-7-setup I've installed this version, do you know any issue with this version (python 2.5)? Can you give me an idea how can i generate diff files compatible with review board? On Tue, Jun 30, 2009 at 1:20 AM, Christian Hammond chip...@chipx86.comwrote: Yeah, TortoiseSVN definitely won't work. They generate slightly incompatible diffs. We might be able to work around it at some point, but someone would probably have to contribute a patch for that. However, the the system cannot find the file specified error is definitely Apache not finding patch.exe. Maybe try rebooting? :) Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.review-board.org VMware, Inc. -http://www.vmware.com On Mon, Jun 29, 2009 at 4:52 PM, henriquecoelho henrike.coe...@gmail.comwrote: I should add that the diff file was generated with tortoisesvn, creating a patch... Is there any known issue creating the diff in this way? On 30 Jun, 00:37, Christian Hammond chip...@chipx86.com wrote: GNU patch.exe must be in the path for this to work. It appears that it's not able to find this. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.review-board.org VMware, Inc. -http://www.vmware.com On Mon, Jun 29, 2009 at 4:33 PM, henriquecoelho henrike.coe...@gmail.comwrote: Hi all, I'm having a problem viewing the diff file that i've upload in new review request. I've activated the debug level for reviewboard and i'm getting the following output when i access to view diff in right top corner: [Error 2] The system cannot find the file specified Traceback (most recent call last): File c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg \reviewboard\diffviewer\views.py, line 152, in view_diff interdiffset, highlighting, True) File c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg \reviewboard\diffviewer\diffutils.py, line 623, in get_diff_files large_data=True) File c:\python25\lib\site-packages\Djblets-0.5-py2.5.egg\djblets \util\misc.py, line 143, in cache_memoize data = lookup_callable() File c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg \reviewboard\diffviewer\diffutils.py, line 622, in lambda enable_syntax_highlighting), File c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg \reviewboard\diffviewer\diffutils.py, line 345, in get_chunks new = get_patched_file(old, filediff) File c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg \reviewboard\diffviewer\diffutils.py, line 261, in get_patched_file return patch(filediff.diff, buffer, filediff.dest_file) File c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg \reviewboard\diffviewer\diffutils.py, line 109, in patch stderr=subprocess.STDOUT) File C:\Python25\Lib\subprocess.py, line 594, in __init__ errread, errwrite) File C:\Python25\Lib\subprocess.py, line 822, in _execute_child startupinfo) WindowsError: [Error 2] The system cannot find the file specified I'm not sure if this is sufficiently clear to you but if someone havy an ideia about this please let me know how to workaround this. I think that this could be due the problem with diff file so the steps that i made to upload the new review diff file were: -New review request -choose the repository (example in my case) -base diff path : / -diff: c:\example\ The diff file: Index: Apache2/conf/httpd.conf === --- Apache2/conf/httpd.conf (revision 3) +++ Apache2/conf/httpd.conf (working copy) @@ -467,4 +467,29 @@ AllowOverride All /Directory + .mine +#Location /moopion +# Order deny,allow +# Allow from all +#/Location + +#Alias /moopion C:\example\source\example\web + +#Directory C:\example\source\example\web +# AllowOverride All +#/Directory + +Location /sso + Order deny,allow + Allow from all +/Location + +Alias /sso C:\example\source\sso\webdir + +Directory C:\example\source\sso\webdir + AllowOverride All +/Directory + +=== + .r3 AllowEncodedSlashes On Thanks in advance. Please if you need some specific further information, let me know. -- Cumprimentos Henrike Coelho mail:henrike.coe...@gmail.com mail%3ahenrike.coe...@gmail.com a40...@alunos.uminho.pt site:http://hcc.wedevso.com Universidade Minho-
Re: View diff is failing
Hi Roman, doesn't work for me. -I've created a patch with tortoise svn and created a new review request -I've moved the diff file to bin directory in apache folder (and restarted the server just in case) -The same error still happens. suggestions? I don't understand which is the really issue related with output... On Thu, Jul 2, 2009 at 7:25 PM, roman mario.ro...@gmail.com wrote: Hi Guy, Inspite of having the patch included in my path, I had to copy the patch to the apache bin directory. This is not an elegant solutions, but it works :). On 30 jun, 19:32, Henrike Coelho henrike.coe...@gmail.com wrote: Hi Christian, humm I've tried to do that, however without success :( the error still happens. patch-2.5.9-7-setup I've installed this version, do you know any issue with this version (python 2.5)? Can you give me an idea how can i generate diff files compatible with review board? On Tue, Jun 30, 2009 at 1:20 AM, Christian Hammond chip...@chipx86.com wrote: Yeah, TortoiseSVN definitely won't work. They generate slightly incompatible diffs. We might be able to work around it at some point, but someone would probably have to contribute a patch for that. However, the the system cannot find the file specified error is definitely Apache not finding patch.exe. Maybe try rebooting? :) Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.review-board.org VMware, Inc. -http://www.vmware.com On Mon, Jun 29, 2009 at 4:52 PM, henriquecoelho henrike.coe...@gmail.comwrote: I should add that the diff file was generated with tortoisesvn, creating a patch... Is there any known issue creating the diff in this way? On 30 Jun, 00:37, Christian Hammond chip...@chipx86.com wrote: GNU patch.exe must be in the path for this to work. It appears that it's not able to find this. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.review-board.org VMware, Inc. -http://www.vmware.com On Mon, Jun 29, 2009 at 4:33 PM, henriquecoelho henrike.coe...@gmail.comwrote: Hi all, I'm having a problem viewing the diff file that i've upload in new review request. I've activated the debug level for reviewboard and i'm getting the following output when i access to view diff in right top corner: [Error 2] The system cannot find the file specified Traceback (most recent call last): File c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg \reviewboard\diffviewer\views.py, line 152, in view_diff interdiffset, highlighting, True) File c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg \reviewboard\diffviewer\diffutils.py, line 623, in get_diff_files large_data=True) File c:\python25\lib\site-packages\Djblets-0.5-py2.5.egg\djblets \util\misc.py, line 143, in cache_memoize data = lookup_callable() File c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg \reviewboard\diffviewer\diffutils.py, line 622, in lambda enable_syntax_highlighting), File c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg \reviewboard\diffviewer\diffutils.py, line 345, in get_chunks new = get_patched_file(old, filediff) File c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg \reviewboard\diffviewer\diffutils.py, line 261, in get_patched_file return patch(filediff.diff, buffer, filediff.dest_file) File c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg \reviewboard\diffviewer\diffutils.py, line 109, in patch stderr=subprocess.STDOUT) File C:\Python25\Lib\subprocess.py, line 594, in __init__ errread, errwrite) File C:\Python25\Lib\subprocess.py, line 822, in _execute_child startupinfo) WindowsError: [Error 2] The system cannot find the file specified I'm not sure if this is sufficiently clear to you but if someone havy an ideia about this please let me know how to workaround this. I think that this could be due the problem with diff file so the steps that i made to upload the new review diff file were: -New review request -choose the repository (example in my case) -base diff path : / -diff: c:\example\ The diff file: Index: Apache2/conf/httpd.conf === --- Apache2/conf/httpd.conf (revision 3) +++ Apache2/conf/httpd.conf (working copy) @@ -467,4 +467,29 @@ AllowOverride All /Directory + .mine +#Location /moopion +# Order deny,allow +# Allow from all +#/Location + +#Alias /moopion C:\example\source\example\web + +#Directory C:\example\source\example\web +# AllowOverride All +#/Directory + +Location /sso + Order
Issue 1195 in reviewboard: Review Board hangs!
Comment #3 on issue 1195 by manjunath.shiva: Review Board hangs! http://code.google.com/p/reviewboard/issues/detail?id=1195 Noticed this from the user. Attached the snap shot of widows script message. It hanged when updated the bug number ( all other info was given before this ) in the new review request. This system does not had CompanionJS so I could not get FireBug output. If I faced the problem, I can get the FireBug output. Attachments: bug.JPG 25.0 KB -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~-~--~~~---~--~~ 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 1195 in reviewboard: Review Board hangs!
Comment #5 on issue 1195 by manjunath.shiva: Review Board hangs! http://code.google.com/p/reviewboard/issues/detail?id=1195 Nothing has been set in Bug Tracker URL: -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~-~--~~~---~--~~ 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 683 in reviewboard: global name 'ClientError' is not defined
Comment #5 on issue 683 by pytechd: global name 'ClientError' is not defined http://code.google.com/p/reviewboard/issues/detail?id=683 I had the same problem -- I had the server running (lighttpd+fcgi) before I installed pysvn. Once pysvn installed, I started getting the ClientError exception. Restarting the server solved the problem -- pysvn wasn't fully loading until then thus causing the exception. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~-~--~~~---~--~~ 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 1201 in reviewboard: Post-review yeilds OSError: [Errno 2] No such file or directory
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 1201 by steven.coffman: Post-review yeilds OSError: [Errno 2] No such file or directory http://code.google.com/p/reviewboard/issues/detail?id=1201 *NOTE: Do not post confidential information in this bug report.* What version are you running? Reviewboard 1.0 final, RBTools 0.2beta1 What's the URL of the page containing the problem? email ge...@umich.edu for URL and login What steps will reproduce the problem? 1. Install Review Board 1.0 but do not add any repositories 2. Go to command line 3. Create empty new directory (anywhere) and cd into it 4. post-review What is the expected output? Graceful error message that a repository must be added, or more options are required. What do you see instead? Traceback (most recent call last): File /usr/bin/post-review, line 5, in ? pkg_resources.run_script('RBTools==0.2beta1', 'post-review') File /usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py, line 448, in run_script self.require(requires)[0].run_script(script_name, ns) File /usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py, line 1173, in run_script exec script_code in namespace, namespace File /usr/bin/post-review, line 2313, in ? File /usr/bin/post-review, line 2254, in main File /usr/bin/post-review, line 2206, in determine_client File /usr/bin/post-review, line 744, in get_repository_info File /usr/bin/post-review, line 1898, in execute File /usr/lib64/python2.4/subprocess.py, line 542, in __init__ errread, errwrite) File /usr/lib64/python2.4/subprocess.py, line 975, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory What operating system are you using? What browser? Red Hat Enterprise Linux 5.3 python-2.4.3-24.el5 python-setuptools-0.6c7-1.el5 mod_python-3.2.8-3.1 httpd-2.2.3-22.el5 memcached-1.2.5-2.el5 mysql-5.0.45-7.el5 patch-2.5.4-29.2.3.el5 subversion-1.5.5-0.1.el5.rf pysvn-1.6.2-1.el5 Please provide any additional information below: For quicker response, please contact ge...@umich.edu regarding this bug report. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~-~--~~~---~--~~ 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 1202 in reviewboard: Post-review socket.gaierror: (-2, 'Name or service not known')
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 1202 by steven.coffman: Post-review socket.gaierror: (-2, 'Name or service not known') http://code.google.com/p/reviewboard/issues/detail?id=1202 *NOTE: Do not post confidential information in this bug report.* What version are you running? Reviewboard 1.0 final, RBTools 0.2beta1 What's the URL of the page containing the problem? Command line What steps will reproduce the problem? 0. cd ~ 1. mkdir svn 2. cd svn 3. svn co https://leavitt.lsa.umich.edu/repos/test (or whatever Svn Repo) 4. cd test 5. echo REVIEWBOARD_URL = 'http://leavitt.lsa.umich.edu/reviews/' .reviewboardrc 6. post-review -d --repository-url=https://leavitt.lsa.umich.edu/repos/test/ --revision-range=2110:2135 What is the expected output? Should submit review What do you see instead? svn info https://leavitt.lsa.umich.edu/repos/test/ repository info: Path: https://leavitt.lsa.umich.edu/repos/test, Base path: /, Supports changesets: False svn diff --diff-cmd=diff https://leavitt.lsa.umich.edu/repos/test/@2110 https://leavitt.lsa.umich.edu/repos/test/@2135 Looking for 'leavitt.lsa.umich.edu /reviews/' cookie in /home/gears/.post-review-cookies.txt Couldn't load cookie file: [Errno 2] No such file or directory: '/home/gears/.post-review-cookies.txt' == Review Board Login Required Enter username and password for Review Board at http://leavitt.lsa.umich.edu/reviews/ Username: gears Password: Logging in with username gears HTTP POSTing to http://leavitt.lsa.umich.edu/reviews/api/json/accounts/login/: {'username': 'gears', 'password': '**'} Traceback (most recent call last): File /usr/bin/post-review, line 5, in ? pkg_resources.run_script('RBTools==0.2beta1', 'post-review') File /usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py, line 448, in run_script self.require(requires)[0].run_script(script_name, ns) File /usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py, line 1173, in run_script exec script_code in namespace, namespace File /usr/bin/post-review, line 2313, in ? File /usr/bin/post-review, line 2291, in main File /usr/bin/post-review, line 306, in login File /usr/bin/post-review, line 569, in api_post File /usr/bin/post-review, line 542, in http_post File /usr/bin/post-review, line 575, in _encode_multipart_formdata File /usr/lib64/python2.4/mimetools.py, line 130, in choose_boundary hostid = socket.gethostbyname(socket.gethostname()) socket.gaierror: (-2, 'Name or service not known') What operating system are you using? What browser? Red Hat Enterprise Linux 5.3 python-2.4.3-24.el5 python-setuptools-0.6c7-1.el5 mod_python-3.2.8-3.1 httpd-2.2.3-22.el5 memcached-1.2.5-2.el5 mysql-5.0.45-7.el5 patch-2.5.4-29.2.3.el5 subversion-1.5.5-0.1.el5.rf pysvn-1.6.2-1.el5 Please provide any additional information below. I will provide faster responses if you email ge...@umich.edu for requests for addtiional information. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---