Re: Clean install of 1.6.1 serves up 404 error
Hi, The attachment doesn't tell me a lot. Are all pages giving you a 404? Can you show what URL you tried (you can mask out the host, but keep the structure intact)? Can you also provide your Apache configuration? Also, if you could temporary add the following to your {sitedir}/conf/settings_local.py and try again, and then provide that trace: DEBUG = True Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Sep 21, 2011 at 1:00 PM, insysion wrote: > So I decided to abandon trying to fix my Frankenstein Windows install > managed to source a Linux (SUSE Enterprise Server 11.1) box on which to > install. > > The install went reasonably well (significantly better than the clean > install I tried on a Windows box) but I'm getting a 404 served by review > board. All the images and formatting are broken too (see HTML archive > attached). > > I thought it might be a permissions issues, but I'm pretty certain the > relevant folders (/htdocs/media/uploaded and /data right?) belong to the > same user as the Apache instance. And I'm kinda stuck for any other ideas. > > As usual, all help most appreciated. > Sandeep > > -- > 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
Re: Can't create review request using svn: svn diff returned 2
Well, it is working well if I am create a review based on the trunk + local modif But if I use --revision-range=rev_id I never manage to get it work On Mon, Sep 19, 2011 at 8:35 PM, Christian Hammond wrote: > Hi, > > This is an error with your SVN repository. Review Board isn't involved at > this stage. Are you otherwise able to use svn from there? Perhaps you're > behind a proxy and there's no exception set for your SVN server? > > Christian > > > > On Monday, September 19, 2011, lvboque > wrote: > > Hello, > > > > Using this command: > > > > trunk$ post-review --debug --server=http://10.100.47.2:8080/ > > reviewboard --summary="Review of xyz modification" -p --target- > > people=lvboque --revision-range=24592 > > > > I got this error: > > > > "svn: 'diff' returned 2\n", 'svn: Error reading spooled REPORT request > > response\n'] > > > > I am using the following version of software > > > > RB 1.6.1 > > OS: Ubuntu 10.10 > > diffutils 2.9.19-4065 April 2010 > > DIFF(1) > > svn, version 1.6.12 (r955767) > > compiled Jun 5 2011, 15:03:51 > > using the following command: > > > RBTools 0.3.3 > Home = /home/dev > svn info > diff --version > repository info: Path: http://xxx.yyy.com/repos/tc, Base path: > /my_svn/trunk, Supports changesets: False > HTTP GETting api/ > HTTP GETting http://10.100.47.2:8080/reviewboard/api/info/ > Using the new web API > svn diff --diff-cmd=diff -r 24592 > > > > > > Is there workaround? or solution for this problem? > > > > It is really blocking ;-( > > > > -- > > 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 > > -- > -- > 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
Re: Clean install of 1.6.1 serves up 404 error
Hi Christian, I was trying to access the root (http://cpli6011/) but all pages are giving me a 404 (e.g the "Log in" link http://cpli6011/account/login/?next_page=/error/HTTP_FORBIDDEN.html.var) Please find attached lots of Apache config/debug info plus the Traceback, as requested. The traceback is for the "Log In" link above. When I saw the URL patterns it's trying to match, I tried a selection, however I keep getting the traceback for http://cpli6011/account/login/?next_page=/error/HTTP_FORBIDDEN.html.var, even when I restart my Apache server. Thanks, Sandeep -- 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=enServer version: Apache/2.2.10 (Linux/SUSE) Server built: May 5 2010 14:32:30 Server's Module Magic Number: 20051115:20 Server loaded: APR 1.3.3, APR-Util 1.3.4 Compiled using: APR 1.3.3, APR-Util 1.3.4 Architecture: 64-bit Server MPM: Prefork threaded: no forked: yes (variable process count) Server compiled with -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT="/srv/www" -D SUEXEC_BIN="/usr/sbin/suexec2" -D DEFAULT_PIDLOG="/var/run/httpd2.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="/var/run/accept.lock" -D DEFAULT_ERRORLOG="/var/log/apache2/error_log" -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types" -D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf" reviewboard.test.com.conf Description: Binary data Loaded Modules: core_module (static) mpm_prefork_module (static) http_module (static) so_module (static) authz_host_module (shared) actions_module (shared) alias_module (shared) auth_basic_module (shared) authz_groupfile_module (shared) authn_file_module (shared) authz_user_module (shared) autoindex_module (shared) cgi_module (shared) dir_module (shared) env_module (shared) include_module (shared) log_config_module (shared) mime_module (shared) negotiation_module (shared) setenvif_module (shared) status_module (shared) userdir_module (shared) asis_module (shared) imagemap_module (shared) php5_module (shared) perl_module (shared) python_module (shared) authz_default_module (shared) mono_module (shared) Syntax OKVirtualHost configuration: wildcard NameVirtualHosts and _default_ servers: *:80 cpli6011.net.plm.eds.com (/etc/apache2/conf.d/reviewboard.test.com.conf:1) Syntax OK Page not found at -error-HTTP_FORBIDDEN_html_var.mht Description: Binary data httpd.conf Description: Binary data
Re: Review Board 1.5.1 viewdiff says could not resolve hostname.
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 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 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 >> 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 >> 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/ >> -~--~~~~--~~--~--~--- >> 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 > > -- > -- > 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
Re: Review Board 1.5.1 viewdiff says could not resolve hostname.
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 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 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 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 >>>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 >>>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
Re: Clean install of 1.6.1 serves up 404 error
Hi, There's a couple red flags for me. The logs keep referencing this HTTP_FORBIDDEN.html.var. This is not provided by us or by any listed config. My hunch is that this is somehow related to you having compiled your own Apache. Which is the second red flag. I can't imagine any scenario where you would ever need to do that. I would strongly suggest you use a fresh distro install of something modern, with the packaged Apache and wsgi, and use that. If you're compiling any of this manually, you're doing things in an unnecessarily difficult way, and it is likely going to be the source of problems. Christian On Thursday, September 22, 2011, insysion wrote: > Hi Christian, > I was trying to access the root (http://cpli6011/) but all pages are giving me a 404 (e.g the "Log in" link http://cpli6011/account/login/?next_page=/error/HTTP_FORBIDDEN.html.var) > Please find attached lots of Apache config/debug info plus the Traceback, as requested. > The traceback is for the "Log In" link above. When I saw the URL patterns it's trying to match, I tried a selection, however I keep getting the traceback for http://cpli6011/account/login/?next_page=/error/HTTP_FORBIDDEN.html.var, even when I restart my Apache server. > Thanks, > Sandeep > > -- > 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 < reviewboard%2bunsubscr...@googlegroups.com> > For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- -- 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
Re: Clean install of 1.6.1 serves up 404 error
Hi, There's a couple red flags for me. The logs keep referencing this HTTP_FORBIDDEN.html.var. This is not provided by us or by any listed config. My hunch is that this is somehow related to you having compiled your own Apache. Which is the second red flag. I can't imagine any scenario where you would ever need to do that. I would strongly suggest you use a fresh distro install of something modern, with the packaged Apache and wsgi, and use that. If you're compiling any of this manually, you're doing things in an unnecessarily difficult way, and it is likely going to be the source of problems. Christian On Thursday, September 22, 2011, insysion wrote: > Hi Christian, > I was trying to access the root (http://cpli6011/) but all pages are giving me a 404 (e.g the "Log in" link http://cpli6011/account/login/?next_page=/error/HTTP_FORBIDDEN.html.var) > Please find attached lots of Apache config/debug info plus the Traceback, as requested. > The traceback is for the "Log In" link above. When I saw the URL patterns it's trying to match, I tried a selection, however I keep getting the traceback for http://cpli6011/account/login/?next_page=/error/HTTP_FORBIDDEN.html.var, even when I restart my Apache server. > Thanks, > Sandeep > > -- > 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 < reviewboard%2bunsubscr...@googlegroups.com> > For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- -- 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
Re: Clean install of 1.6.1 serves up 404 error
On Thu, Sep 22, 2011 at 4:31 PM, Christian Hammond wrote: > The logs keep referencing this HTTP_FORBIDDEN.html.var. This is not provided > by us or by any listed config. There are at least 16 other .conf files included in the config. SUSE might have taken the idea of modular configs a little too far. > My hunch is that this is somehow related to you having compiled your own > Apache. Fortunately, I think he is using the version shipped with SLES 11, the settings probably came from something like httpd -V. Sandeep, Can you look at or provide the apache error logs, they are probably in /var/log/apache2. They should list what is causing the error. According to the httpd.conf provided, on SLES virtual host files belong in /etc/apache2/vhosts.d/. Try moving reviewboard.test.com.conf to /etc/apache2/vhosts.d/. -Anton -- 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