Re: ReviewBoard shows 404 only on homepage

2011-02-15 Thread Clare
Hi Christian,

Yes it is a subdirectory install and I'm using the latest version of
Review Board.
I tried your suggestions but unfortunately they didn't work. Changing
WSGIScriptAlias breaks other parts of the site. Changing SITE_ROOT to
'/' redirects 'http://localhost/reviewboard' to 'http://localhost/
account/login/?next_page=/reviewboard/dashboard/' which cannot be
found.

However, it has now been decided to move Review Board onto it's own
linux server, so hopefully that install will go smoother.

Thanks very much for your help.

Clare

On Feb 14, 8:56 pm, Christian Hammond chip...@chipx86.com wrote:
 Hi Clare,

 What version of Review Board did you use to generate your configuration?

 I believe this is due to a combination of WSGIScriptAlias and SITE_ROOT.
 SITE_ROOT will add the reviewboard/ prefix for all URLs, but
 WSGIScriptAlias is saying /reviewboard is the start of the site. So
 combining the two leads to /reviewboard/reviewboard. If there's nothing
 else on the site, you can use WSGIScriptAlias / ..., but I expect that
 that won't be the case if you're using a subdirectory install.

 So you may try setting SITEROOT to '/'. However, I suspect what will happen
 is that certain links when then truly go to /something instead of
 /reviewboard/something.

 Subdirectory install with mod_wsgi aren't fully supported yet and need some
 work, as they behave a little differently than with mod_python, which is
 what we originally added that support for.

 Christian

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

 On Mon, Feb 14, 2011 at 3:45 AM, Clare clare.cy...@gmail.com wrote:
  Hi,

  I'm attempting to setup ReviewBoard on a Win XP machine with Apache
  2.2, Python 2.6 and mod_wsgi.
  I've managed to get it so that only the first page you see shows the
  404 error:

  Page not found (404)
  Request Method:         GET
  Request URL:    http://localhost/reviewboard/

  Using the URLconf defined in djblets.util.rooturl, Django tried these
  URL patterns, in this order:

    1. ^reviewboard/

  The current URL, , didn't match any of these.

  You're seeing this error because you have DEBUG = True in your Django
  settings file. Change that to False, and Django will display a
  standard 404 page.

  However, it works if you use the url: http://localhost/reviewboard/
  reviewboard/account/login/?next_page=/reviewboard/account/login/http://localhost/reviewboard/%0Areviewboard/account/login/?next_page=...
  ,
  notice the /reviewboard/reviewboard/...
  It also works if you click on any other link on the homepage without
  debug on.

  Can anyone help me with the config please? I've been trying to get
  this to work for a while, but not I'm at a loss as to what's going on.

  This is what I have for local_settings.py:

  # Database configuration
  DATABASE_ENGINE = 'mysql'
  DATABASE_NAME = 'reviewboard'
  DATABASE_USER = 'root'
  DATABASE_PASSWORD = 'xxx'
  DATABASE_HOST = 'localhost'
  DATABASE_PORT = ''

  # Unique secret key. Don't share this with anybody.
  SECRET_KEY = 'foo'

  # Cache backend settings.
  CACHE_BACKEND = 'memcached://localhost:11211/'

  # Extra site information.
  SITE_ID = 1
  SITE_ROOT = '/reviewboard/'
  FORCE_SCRIPT_NAME='/reviewboard'
  DEBUG = True

  
  reviewboard.wsgi:

  import os
  import sys

  os.environ['DJANGO_SETTINGS_MODULE'] = reviewboard.settings
  os.environ['PYTHON_EGG_CACHE'] = C:/.../http/reviewboard/tmp/
  egg_cache
  os.environ['HOME'] = C:/.../http/reviewboard/data

  sys.path.insert(0,'C:/.../http/reviewboard/conf')

  import django.core.handlers.wsgi
  application = django.core.handlers.wsgi.WSGIHandler()

  ---
  apache-wsgi.conf:

  VirtualHost *:80
         ServerName localhost

         DocumentRoot C:/.../http

         # Error handlers
         ErrorDocument 500 /errordocs/500.html

         WSGIPassAuthorization On
         WSGIScriptAlias /reviewboard C:/.../http/reviewboard/htdocs/
  reviewboard.wsgi

         Directory C:/.../http/reviewboard
                 AllowOverride All
         /Directory

         # Alias static media requests to filesystem
         Alias /reviewboard/media C:/.../http/reviewboard/htdocs/media
         Alias /reviewboard/errordocs C:/.../http/reviewboard/htdocs/
  errordocs

  /VirtualHost

  Thanks,
  Clare

  --
  Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
  Happy user? Let us know athttp://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 

Re: ReviewBoard shows 404 only on homepage

2011-02-15 Thread Christian Hammond
Hi Clare,

You'll have an easier time with that setup. Let me know if you have any
problems with it!

Christian

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


On Tue, Feb 15, 2011 at 1:55 AM, Clare clare.cy...@gmail.com wrote:

 Hi Christian,

 Yes it is a subdirectory install and I'm using the latest version of
 Review Board.
 I tried your suggestions but unfortunately they didn't work. Changing
 WSGIScriptAlias breaks other parts of the site. Changing SITE_ROOT to
 '/' redirects 'http://localhost/reviewboard' to 'http://localhost/
 account/login/?next_page=/reviewboard/dashboard/http://localhost/%0Aaccount/login/?next_page=/reviewboard/dashboard/'
 which cannot be
 found.

 However, it has now been decided to move Review Board onto it's own
 linux server, so hopefully that install will go smoother.

 Thanks very much for your help.

 Clare

 On Feb 14, 8:56 pm, Christian Hammond chip...@chipx86.com wrote:
  Hi Clare,
 
  What version of Review Board did you use to generate your configuration?
 
  I believe this is due to a combination of WSGIScriptAlias and SITE_ROOT.
  SITE_ROOT will add the reviewboard/ prefix for all URLs, but
  WSGIScriptAlias is saying /reviewboard is the start of the site. So
  combining the two leads to /reviewboard/reviewboard. If there's nothing
  else on the site, you can use WSGIScriptAlias / ..., but I expect
 that
  that won't be the case if you're using a subdirectory install.
 
  So you may try setting SITEROOT to '/'. However, I suspect what will
 happen
  is that certain links when then truly go to /something instead of
  /reviewboard/something.
 
  Subdirectory install with mod_wsgi aren't fully supported yet and need
 some
  work, as they behave a little differently than with mod_python, which is
  what we originally added that support for.
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.reviewboard.org
  VMware, Inc. -http://www.vmware.com
 
  On Mon, Feb 14, 2011 at 3:45 AM, Clare clare.cy...@gmail.com wrote:
   Hi,
 
   I'm attempting to setup ReviewBoard on a Win XP machine with Apache
   2.2, Python 2.6 and mod_wsgi.
   I've managed to get it so that only the first page you see shows the
   404 error:
 
   Page not found (404)
   Request Method: GET
   Request URL:http://localhost/reviewboard/
 
   Using the URLconf defined in djblets.util.rooturl, Django tried these
   URL patterns, in this order:
 
 1. ^reviewboard/
 
   The current URL, , didn't match any of these.
 
   You're seeing this error because you have DEBUG = True in your Django
   settings file. Change that to False, and Django will display a
   standard 404 page.
 
   However, it works if you use the url: http://localhost/reviewboard/
   reviewboard/account/login/?next_page=/reviewboard/account/login/
 http://localhost/reviewboard/%0Areviewboard/account/login/?next_page=...
   ,
   notice the /reviewboard/reviewboard/...
   It also works if you click on any other link on the homepage without
   debug on.
 
   Can anyone help me with the config please? I've been trying to get
   this to work for a while, but not I'm at a loss as to what's going on.
 
   This is what I have for local_settings.py:
 
   # Database configuration
   DATABASE_ENGINE = 'mysql'
   DATABASE_NAME = 'reviewboard'
   DATABASE_USER = 'root'
   DATABASE_PASSWORD = 'xxx'
   DATABASE_HOST = 'localhost'
   DATABASE_PORT = ''
 
   # Unique secret key. Don't share this with anybody.
   SECRET_KEY = 'foo'
 
   # Cache backend settings.
   CACHE_BACKEND = 'memcached://localhost:11211/'
 
   # Extra site information.
   SITE_ID = 1
   SITE_ROOT = '/reviewboard/'
   FORCE_SCRIPT_NAME='/reviewboard'
   DEBUG = True
 
   
   reviewboard.wsgi:
 
   import os
   import sys
 
   os.environ['DJANGO_SETTINGS_MODULE'] = reviewboard.settings
   os.environ['PYTHON_EGG_CACHE'] = C:/.../http/reviewboard/tmp/
   egg_cache
   os.environ['HOME'] = C:/.../http/reviewboard/data
 
   sys.path.insert(0,'C:/.../http/reviewboard/conf')
 
   import django.core.handlers.wsgi
   application = django.core.handlers.wsgi.WSGIHandler()
 
   ---
   apache-wsgi.conf:
 
   VirtualHost *:80
  ServerName localhost
 
  DocumentRoot C:/.../http
 
  # Error handlers
  ErrorDocument 500 /errordocs/500.html
 
  WSGIPassAuthorization On
  WSGIScriptAlias /reviewboard C:/.../http/reviewboard/htdocs/
   reviewboard.wsgi
 
  Directory C:/.../http/reviewboard
  AllowOverride All
  /Directory
 
  # Alias static media requests to filesystem
  Alias /reviewboard/media C:/.../http/reviewboard/htdocs/media
  Alias /reviewboard/errordocs C:/.../http/reviewboard/htdocs/
   errordocs
 
   /VirtualHost
 
   Thanks,
   Clare
 
   --
   Want to help the Review Board project? Donate today at
  http://www.reviewboard.org/donate/
   Happy user? Let us 

Re: CVS repository(pserver) addition fails

2011-02-15 Thread Tushar
Any luck with this issue ?

~Tushar

On Feb 7, 3:24 pm, Christian Hammond chip...@chipx86.com wrote:
 Okay, thanks. I'll play with it and see if I can reproduce it.

 Christian

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

 On Mon, Feb 7, 2011 at 3:18 PM, Tushar tuss...@gmail.com wrote:
  Hi Christian,
     I got the same error even after specifying full path

  :pserver:username:password@server:/abc

  and no log entries this time as well.

  Thanks,
  Tushar

  On Feb 7, 3:06 pm, Christian Hammond chip...@chipx86.com wrote:
   Can you try using the full :pserver: line in Path, instead of providing
  just
   the server:/abc and the username/password fields?

   That would help to diagnose whether we're constructing the path wrong or
  if
   it's a regression elsewhere.

   Christian

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

   On Mon, Feb 7, 2011 at 1:07 PM, Tushar tuss...@gmail.com wrote:
Hi Christian,
  No, I don't see any log entry in the logs for this problem.

Thanks,
Tushar

On Feb 7, 12:23 pm, Christian Hammond chip...@chipx86.com wrote:
 Hi Tushar,

 Can you check the reviewboard.log and see if it has anything more
specific
 for that error?

 Christian

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

 On Mon, Feb 7, 2011 at 12:15 PM, Tushar tuss...@gmail.com wrote:
  Hi,
   I am trying to add CVS repository with ReviewBoard 1.5.3 but it
  fails saying  A repository was not found at the specified path.
  Note
  that I am able to add the same repository with the same credential
  with 1.5.1. I have tried various parameters permutation like giving
  only hostname in the path, giving path and username and also giving
  password in the path but nothing seems to work.

      The parameters that I am using are
  Hosting service : custom
  Repository type: CVS
  Path : CVS Hostname:/abc
  Username: username of CVS
  Password: Password of CVS

  Can you please help me with this ?

  Thanks,
  Tushar

  --
  Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
  Happy user? Let us know athttp://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 athttp://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 athttp://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: CVS repository(pserver) addition fails

2011-02-15 Thread Christian Hammond
I'm sorry, it's been a busy week and I haven't yet.

Would you mind filing a bug on this? That way it'll better stay on my radar.

Christian

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


On Tue, Feb 15, 2011 at 8:47 AM, Tushar tuss...@gmail.com wrote:

 Any luck with this issue ?

 ~Tushar

 On Feb 7, 3:24 pm, Christian Hammond chip...@chipx86.com wrote:
  Okay, thanks. I'll play with it and see if I can reproduce it.
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.reviewboard.org
  VMware, Inc. -http://www.vmware.com
 
  On Mon, Feb 7, 2011 at 3:18 PM, Tushar tuss...@gmail.com wrote:
   Hi Christian,
  I got the same error even after specifying full path
 
   :pserver:username:password@server:/abc
 
   and no log entries this time as well.
 
   Thanks,
   Tushar
 
   On Feb 7, 3:06 pm, Christian Hammond chip...@chipx86.com wrote:
Can you try using the full :pserver: line in Path, instead of
 providing
   just
the server:/abc and the username/password fields?
 
That would help to diagnose whether we're constructing the path wrong
 or
   if
it's a regression elsewhere.
 
Christian
 
--
Christian Hammond - chip...@chipx86.com
Review Board -http://www.reviewboard.org
VMware, Inc. -http://www.vmware.com
 
On Mon, Feb 7, 2011 at 1:07 PM, Tushar tuss...@gmail.com wrote:
 Hi Christian,
   No, I don't see any log entry in the logs for this problem.
 
 Thanks,
 Tushar
 
 On Feb 7, 12:23 pm, Christian Hammond chip...@chipx86.com wrote:
  Hi Tushar,
 
  Can you check the reviewboard.log and see if it has anything more
 specific
  for that error?
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.reviewboard.org
  VMware, Inc. -http://www.vmware.com
 
  On Mon, Feb 7, 2011 at 12:15 PM, Tushar tuss...@gmail.com
 wrote:
   Hi,
I am trying to add CVS repository with ReviewBoard 1.5.3 but
 it
   fails saying  A repository was not found at the specified
 path.
   Note
   that I am able to add the same repository with the same
 credential
   with 1.5.1. I have tried various parameters permutation like
 giving
   only hostname in the path, giving path and username and also
 giving
   password in the path but nothing seems to work.
 
   The parameters that I am using are
   Hosting service : custom
   Repository type: CVS
   Path : CVS Hostname:/abc
   Username: username of CVS
   Password: Password of CVS
 
   Can you please help me with this ?
 
   Thanks,
   Tushar
 
   --
   Want to help the Review Board project? Donate today at
  http://www.reviewboard.org/donate/
   Happy user? Let us know athttp://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 athttp://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 athttp://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

Issue 1983 in reviewboard: Include the server's time zone in the Web API

2011-02-15 Thread reviewboard

Status: New
Owner: 
Labels: Type-Enhancement Priority-Medium

New issue 1983 by robert.munteanu: Include the server's time zone in the  
Web API

http://code.google.com/p/reviewboard/issues/detail?id=1983

What version are you running?

1.5.3.1

Describe the enhancement and the motivation for it.

Dates sent through the Web API do not carry any time zone information and  
seem to be in the time zone of the server. In order to present the dates in  
the user's time zone, the server's time zone must be known.


At the time, this information is not present in the Server Info Resource (  
http://www.reviewboard.org/docs/manual/1.5/webapi/2.0/resources/server-info/  
) .


Please consider including the server's time zone in the Server Info  
Resource.


Thank you.

--
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 1984 in reviewboard: the mails sent place the description where the summary should be

2011-02-15 Thread reviewboard

Status: New
Owner: 
Labels: Type-Defect Priority-Medium

New issue 1984 by wolfg...@rohdewald.de: the mails sent place the  
description where the summary should be

http://code.google.com/p/reviewboard/issues/detail?id=1984

What version are you running?

whatever reviewboard.kde.org currently uses.

What steps will reproduce the problem?
1. generate a review like http://reviewboard.kde.org/r/6488/
2. the reviewboard is sending mails with the description titled Summary


--
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.