Re: Python Config Issue?

2010-03-04 Thread etrain
Setting PythonHandler to mod_python.testhandler yielded:

Apache version Apache/2.2.3 (Oracle)
Apache threaded MPM No (single thread MPM)
Apache forked MPM Yes, maximum 256 processes
Apache server root /etc/httpd
Apache document root /var/rb/mysite/htdocs
Apache error log None
Python sys.version 2.4.3 (#1, Jul 2 2009, 15:50:36) [GCC 4.1.2
20080704 (Red Hat 4.1.2-44)]
Python sys.path /var/rb/mysite/conf
/usr/lib/python2.4/site-packages
/usr/lib/python2.4
/usr/lib
/usr/lib64/python24.zip
/usr/lib64/python2.4
/usr/lib64/python2.4/plat-linux2
/usr/lib64/python2.4/lib-tk
/usr/lib64/python2.4/lib-dynload
/usr/lib64/python2.4/site-packages
/usr/lib64/python2.4/site-packages/Numeric
/usr/lib64/python2.4/site-packages/PIL
/usr/lib64/python2.4/site-packages/gtk-2.0
/usr/lib/python2.4/site-packages

Python interpreter name reviewboard_mysite
mod_python.publisher available Yes
mod_python.psp available Yes


All of my site-packages are in /usr/lib (as opposed to /usr/lib64).
I'm using the 64-bit mod_python on top of 64-bit apache.


On Mar 3, 8:24 pm, etrain evan.spa...@gmail.com wrote:
 Sorry for the confusion - it's actually RHEL 4.1.2-44. It's funny
 because I have a box with the exact same OS running just fine.

 On Mar 3, 8:16 pm, Christian Hammond chip...@chipx86.com wrote:



  I don't know. It's possible there's something funky with RHEL and Python
  paths when using mod_python, but I don't have an answer there. It'd be
  helpful if someone else on RHEL 5.1 can chime in on this.

  Christian

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

  On Wed, Mar 3, 2010 at 5:13 PM, etrain evan.spa...@gmail.com wrote:
   Yes, earlier I tried explicitly including the path to ReviewBoard in
   my PythonPath, and got past this error, but then apache/mod_python
   started complaining that they couldn't find djblets, which had me
   worried that i'd start having to include the absolute path to every
   missing library - not something I'm accustomed to having to do.

   I'm not a python expert, but is there some python setting or other
   environment variable I should be looking for?

   On Mar 3, 8:07 pm, etrain evan.spa...@gmail.com wrote:
 print reviewboard.__path__

['/usr/lib/python2.4/site-packages/ReviewBoard-1.5beta1-py2.4.egg/
reviewboard']

On Mar 3, 7:58 pm, Christian Hammond chip...@chipx86.com wrote:

 Okay, do that again and then type:

      print reviewboard.__path__

 It looks like what's happening is that, one way or another, Review
   Board
 isn't in the system path that mod_python is searching.

 Christian

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

 On Wed, Mar 3, 2010 at 4:34 PM, etrain evan.spa...@gmail.com wrote:
  Python 2.4.3 (#1, Jul  2 2009, 15:50:36)
  [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
  Type help, copyright, credits or license for more
   information.
   import reviewboard
   import reviewboard.settings
  Unable to read settings_local.py.

  Please seehttp://www.reviewboard.org/docs/manual/dev/admin/
  for help setting up Review Board.

  On Mar 3, 6:52 pm, Christian Hammond chip...@chipx86.com wrote:
   Sounds like it's not seeing Review Board in the Python path. 
   From a
  command
   line, try typing:

      $ python
       import reviewboard

   See if that succeeds. If it does, type:

       import reviewboard.settings

   If that tells you it can't find settings_local.py, then that's
   fine. If
  it
   can't find reviewboard.settings, then there's a path issue
   definitely.

   Christian

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

   On Wed, Mar 3, 2010 at 7:13 AM, etrain evan.spa...@gmail.com
   wrote:
All,

I'm getting the following error on a recent ReviewBoard on 
Apache
+mod_python install on RHEL 5.1. I'm wondering if this is a
   django or
mod_python version issue. All relevant permissions are set such
   that
apache (the process owner) has full rwx to /var/rb/mysite
   directory.

Mod_python error: PythonHandler django.core.handlers.modpython

Traceback (most recent call last):

 File /usr/lib64/python2.4/site-packages/mod_python/apache.py,
   line
299, in HandlerDispatch
   result = object(req)

 File /usr/lib/python2.4/site-packages/django/core/handlers/
modpython.py, line 228, in handler
   return ModPythonHandler()(req)

 File /usr/lib/python2.4/site-packages/django/core/handlers/
modpython.py, line 191, in __call__
   self.load_middleware()

 File /usr/lib/python2.4/site-packages/django/core/handlers/

Re: Python Config Issue?

2010-03-04 Thread Christian Hammond
The Review Board, Djblets, etc. site packages are in .egg directories, and
it seems that the 32-bit ones aren't being added to the Python path by
default. Looks like some of the 64-bit ones are.

Christian

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


On Thu, Mar 4, 2010 at 8:00 AM, etrain evan.spa...@gmail.com wrote:

 Setting PythonHandler to mod_python.testhandler yielded:

 Apache version Apache/2.2.3 (Oracle)
 Apache threaded MPM No (single thread MPM)
 Apache forked MPM Yes, maximum 256 processes
 Apache server root /etc/httpd
 Apache document root /var/rb/mysite/htdocs
 Apache error log None
 Python sys.version 2.4.3 (#1, Jul 2 2009, 15:50:36) [GCC 4.1.2
 20080704 (Red Hat 4.1.2-44)]
 Python sys.path /var/rb/mysite/conf
 /usr/lib/python2.4/site-packages
 /usr/lib/python2.4
 /usr/lib
 /usr/lib64/python24.zip
 /usr/lib64/python2.4
 /usr/lib64/python2.4/plat-linux2
 /usr/lib64/python2.4/lib-tk
 /usr/lib64/python2.4/lib-dynload
 /usr/lib64/python2.4/site-packages
 /usr/lib64/python2.4/site-packages/Numeric
 /usr/lib64/python2.4/site-packages/PIL
 /usr/lib64/python2.4/site-packages/gtk-2.0
 /usr/lib/python2.4/site-packages

 Python interpreter name reviewboard_mysite
 mod_python.publisher available Yes
 mod_python.psp available Yes


 All of my site-packages are in /usr/lib (as opposed to /usr/lib64).
 I'm using the 64-bit mod_python on top of 64-bit apache.


 On Mar 3, 8:24 pm, etrain evan.spa...@gmail.com wrote:
  Sorry for the confusion - it's actually RHEL 4.1.2-44. It's funny
  because I have a box with the exact same OS running just fine.
 
  On Mar 3, 8:16 pm, Christian Hammond chip...@chipx86.com wrote:
 
 
 
   I don't know. It's possible there's something funky with RHEL and
 Python
   paths when using mod_python, but I don't have an answer there. It'd be
   helpful if someone else on RHEL 5.1 can chime in on this.
 
   Christian
 
   --
   Christian Hammond - chip...@chipx86.com
   Review Board -http://www.reviewboard.org
   VMware, Inc. -http://www.vmware.com
 
   On Wed, Mar 3, 2010 at 5:13 PM, etrain evan.spa...@gmail.com wrote:
Yes, earlier I tried explicitly including the path to ReviewBoard in
my PythonPath, and got past this error, but then apache/mod_python
started complaining that they couldn't find djblets, which had me
worried that i'd start having to include the absolute path to every
missing library - not something I'm accustomed to having to do.
 
I'm not a python expert, but is there some python setting or other
environment variable I should be looking for?
 
On Mar 3, 8:07 pm, etrain evan.spa...@gmail.com wrote:
  print reviewboard.__path__
 
 ['/usr/lib/python2.4/site-packages/ReviewBoard-1.5beta1-py2.4.egg/
 reviewboard']
 
 On Mar 3, 7:58 pm, Christian Hammond chip...@chipx86.com wrote:
 
  Okay, do that again and then type:
 
   print reviewboard.__path__
 
  It looks like what's happening is that, one way or another,
 Review
Board
  isn't in the system path that mod_python is searching.
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.reviewboard.org
  VMware, Inc. -http://www.vmware.com
 
  On Wed, Mar 3, 2010 at 4:34 PM, etrain evan.spa...@gmail.com
 wrote:
   Python 2.4.3 (#1, Jul  2 2009, 15:50:36)
   [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
   Type help, copyright, credits or license for more
information.
import reviewboard
import reviewboard.settings
   Unable to read settings_local.py.
 
   Please seehttp://www.reviewboard.org/docs/manual/dev/admin/
   for help setting up Review Board.
 
   On Mar 3, 6:52 pm, Christian Hammond chip...@chipx86.com
 wrote:
Sounds like it's not seeing Review Board in the Python path.
 From a
   command
line, try typing:
 
   $ python
import reviewboard
 
See if that succeeds. If it does, type:
 
import reviewboard.settings
 
If that tells you it can't find settings_local.py, then
 that's
fine. If
   it
can't find reviewboard.settings, then there's a path issue
definitely.
 
Christian
 
--
Christian Hammond - chip...@chipx86.com
Review Board -http://www.reviewboard.org
VMware, Inc. -http://www.vmware.com
 
On Wed, Mar 3, 2010 at 7:13 AM, etrain 
 evan.spa...@gmail.com
wrote:
 All,
 
 I'm getting the following error on a recent ReviewBoard on
 Apache
 +mod_python install on RHEL 5.1. I'm wondering if this is a
django or
 mod_python version issue. All relevant permissions are set
 such
that
 apache (the process owner) has full rwx to /var/rb/mysite
directory.
 
 Mod_python error: PythonHandler
 django.core.handlers.modpython
 
 Traceback (most recent call last):
 

Re: Folder creation while uploading screenshots

2010-03-04 Thread Christian Hammond
Oh, you had an old release.

You should turn on logging in the Logging settings page. Then restart Apache
to be sure it takes effect (working on that bug).

Christian

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


On Thu, Mar 4, 2010 at 8:11 AM, hschnit herve.schnitz...@gmail.com wrote:

 Thank for the suggestion Christian. I tried it without success. I did
 just upgrade from 0.9 to 1.5B1 though.
 Is there a way to get more debugging info ?

 On Mar 3, 6:41 pm, Christian Hammond chip...@chipx86.com wrote:
  One thing you might want to try, as I hit this once myself. Go into the
  settings and the File Storage section. Make sure the values are what
 you'd
  expect, and then, even if they are, hit Save. Just in case, restart
 Apache
  after that.
 
  We had a problem once (maybe it's still here) where, after an upgrade,
 the
  file storage settings weren't being taken into consideration properly.
 
  This may not be the cause, but I'd like to make sure.
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.reviewboard.org
  VMware, Inc. -http://www.vmware.com
 
  On Wed, Mar 3, 2010 at 8:43 AM, hschnit herve.schnitz...@gmail.com
 wrote:
   Thanks Christian,
   I've looked into the Apache and the reviewboard logfiles (see below).
   There isn't much in them. Nothing related to the creation of the
   folders. There are some issues in the apache log when trying to
   display pictures that are not present.
   I had set Debug = True in the RB config. That should have turned on
   the Django debugging output, right?
   Is there something else I can set that would give me a more verbose
   output ?
 
   -Herve
 
   == LOGS ===
 
   RB Log
   ---
   2010-03-02 16:29:19,340 - INFO - Logging to /var/www/html/reviewboard/
   logs/reviewboard.log with a minimum level of DEBUG
   2010-03-02 16:29:19,340 - INFO - Log file for Review Board v1.5 beta 1
   (PID 21393)
 
   Apache Error Log
   ---
   [Tue Mar 02 16:29:18 2010] [notice] mod_python: (Re)importing module
   'django.core.handlers.modpython'
   2010-03-02 16:29:19,340 - INFO - Logging to /var/www/html/reviewboard/
   logs/reviewboard.log with a minimum level of DEBUG
   2010-03-02 16:29:19,340 - INFO - Log file for Review Board v1.5 beta 1
   (PID 21393)
   [Tue Mar 02 16:29:20 2010] [error] [client 10.64.175.69] File does not
   exist: /var/www/html/reviewboard/htdocs/media/uploaded/images/2010/03,
   referer: http://...
   [Tue Mar 02 16:29:27 2010] [error] [client 10.64.175.69] File does not
   exist: /var/www/html/reviewboard/htdocs/media/uploaded/images/2010/03,
   referer: http://...
   [Tue Mar 02 16:36:04 2010] [error] [client 10.64.175.69] File does not
   exist: /var/www/html/reviewboard/htdocs/media/uploaded/images/2010/03,
   referer: http://...
 
   On Mar 2, 5:33 pm, Christian Hammond chip...@chipx86.com wrote:
Hi,
 
Djblets is responsible for writing the actual image file, but it's
 Django
that's responsible for creating those directories. Is there anything
 in
   the
log file?
 
Christian
 
--
Christian Hammond - chip...@chipx86.com
Review Board -http://www.reviewboard.org
VMware, Inc. -http://www.vmware.com
 
On Tue, Mar 2, 2010 at 2:30 PM, hschnit herve.schnitz...@gmail.com
   wrote:
 Hi,
 
 I'm running into what I feel like is a configuration issue. I
 couldn't
 find anything relevant on the forums, maybe some of you guys
 already
 went through this.
 
 I installed the RB 1.5 beta1 version. I'm running on a RHEL5 system
 with Apache 2.2 and Python 2.4
 The path /var/www/html/reviewboard/htdocs/media/uploaded/images is
 writable by all (777) for the purpose of debugging permissions.
 I can import PIL (1.1.6) properly from python.
 
 What I see is that I don't get any errors while uploading the
 screenshots but the upload folders YY/mm/dd are not getting
 created.
 The screenshot therefore doesn't display on the review request
 since
 the images are not present in the 'uploaded' folder.
 
 Does anyone has some pointer to where to look ?
 What module is responsible for creating those folders ? PIL? RB?
 
 Thanks,
 -Herve
 
 --
 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.comreviewboard%2bunsubscr...@googlegroups.com
 reviewboard%2bunsubscr...@googlegroups.comreviewboard%252bunsubscr...@googlegroups.com
 
   reviewboard%2bunsubscr...@googlegroups.comreviewboard%252bunsubscr...@googlegroups.com
 reviewboard%252bunsubscr...@googlegroups.comreviewboard%25252bunsubscr...@googlegroups.com
 
 
 For 

Your request could not be processed. Request could not be handled

2010-03-04 Thread bigoldrock
OS: ubuntu
webserver: apache2
DB: mysql


post-review is having difficulty talking to reviewboard. Please help.

Note* the server is up and running, logs in apache show up upon login,
etc.



bigoldr...@littlerock:~/Development/hje/branch/1.30$ post-review -d
 svn info
 repository info: Path: http://svn.hje.foo.com/svn/hje, Base path: 
 /Deployment/branches/1.30/foodira/foodirb, Supports changesets: False
 svn diff --diff-cmd=diff
 Looking for 'localhost /' cookie in 
 /home/bigoldrock/.post-review-cookies.txt
 Couldn't load cookie file: [Errno 2] No such file or directory: 
 '/home/bigoldrock/.post-review-cookies.txt'
== Review Board Login Required
Enter username and password for Review Board at http://localhost/
Username: jschmoe
Password:
 Logging in with username jschmoe
 HTTP POSTing to http://localhost/api/json/accounts/login/: {'username': 
 'jschmoe', 'password': '**'}
 html
head
meta http-equiv=Content-Type content=text/html; charset=us-ascii
titleRequest Error/title
SCRIPT LANGUAGE=JavaScript
!--
if (document.execCommand)
{
  if (document.execCommand(ClearAuthenticationCache, false)) {
document.cookie = 'BCSIAC26F1AAE63418B9AA=; path=/';
  }
}
//--
/SCRIPT
style
!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
  {mso-style-parent:;
  margin:0in;
  margin-bottom:.0001pt;
  mso-pagination:widow-orphan;
  font-size:12.0pt;
  font-family:Times New Roman;
  mso-fareast-font-family:Times New Roman;}
h1
  {mso-style-next:Normal;
  margin-top:12.0pt;
  margin-right:0in;
  margin-bottom:3.0pt;
  margin-left:0in;
  mso-pagination:widow-orphan;
  page-break-after:avoid;
  mso-outline-level:1;
  font-size:16.0pt;
  font-family:Arial;
  mso-font-kerning:16.0pt;
  font-weight:bold;}
p
  {mso-margin-top-alt:auto;
  margin-right:0in;
  mso-margin-bottom-alt:auto;
  margin-left:0in;
  mso-pagination:widow-orphan;
  font-size:12.0pt;
  font-family:Times New Roman;
  mso-fareast-font-family:Times New Roman;}
span.SpellE
  {mso-style-name:;
  mso-spl-e:yes;}
@page Section1
  {size:8.5in 11.0in;
  margin:1.0in 1.25in 1.0in 1.25in;
  mso-header-margin:.5in;
  mso-footer-margin:.5in;
  mso-paper-source:0;}
div.Section1
  {page:Section1;}
--
/style

/head

body bgcolor=white lang=EN-US style='tab-interval:.5in'

div class=Section1

table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0
width=600
 style='width:6.25in;mso-cellspacing:0in;mso-padding-alt:7.5pt 7.5pt
7.5pt 7.5pt'
 tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;height:25.5pt'
  td style='padding:7.5pt 7.5pt 7.5pt 7.5pt;height:25.5pt'
  p class=MsoNormalbspan style='font-size:16.0pt;mso-bidi-font-
size:12.0pt'GAP
  INC/span/b./p
  /td
 /tr
 tr style='mso-yfti-irow:1'
  td style='padding:7.5pt 7.5pt 7.5pt 7.5pt'
  h3span style='font-family:Arial;color:red'Request Erroro:p/
o:p/span/h3
  div class=MsoNormal align=center style='text-align:center'span
  style='color:red'
  hr size=1 width=100% align=center
  /span/div
  p class=MsoNormalspan style='color:red'o:pnbsp;/o:p/span/
p
  /td
 /tr
 tr style='mso-yfti-irow:2'
  td valign=top style='padding:7.5pt 7.5pt 7.5pt 7.5pt'
  p class=MsoNormalspan style='font-size:10.0pt;font-
family:Arial'Your request could not be processed. Request could not
be handledo:p/o:p/span/p
  /td
 /tr
 tr style='mso-yfti-irow:3;mso-yfti-lastrow:yes'
  td valign=top style='padding:7.5pt 7.5pt 7.5pt 7.5pt'
  div class=MsoNormal align=center style='text-align:center'
  hr size=1 width=100% align=center
  /div
  p class=MsoNormal align=right style='text-align:right'ispan
  style='font-size:7.5pt;font-family:Arial'generated 2010-03-04 at
18:44:57 GMT by
  prox02rcc.foo.com/span/ispan style='font-size:10.0pt;font-
family:Arial'
  /span/p
  /td
 /tr
/table

p class=MsoNormalo:pnbsp;/o:p/p

/div

/body

/html


Unable to access http://localhost/api/json/accounts/login/. The host
path may be invalid
HTTP Error 400: Bad Request

-- 
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: Setting up developer environment

2010-03-04 Thread Tony Bibbs
Seems like I have a few options:

1) Install via easy_install
2) Install via SVN
3) Install via Ubuntu's package manager

Any suggestion on the best solution? I have it pulled down via SVN but I'm
assuming I need to somehow tell ReviewBoard where it is because I get the
same error

On Mon, Feb 22, 2010 at 7:26 AM, Raja rajas...@gmail.com wrote:

 It looks like you need to get django_evolution from

 easy_install django_evolution

 or code.google.com/p/django-evolution/

 I just created a post with missing packages in the dependency list,
 but missed this one (as I had installed reviewboard earlier using
 easy_install).

 -- Raja

 On Feb 18, 12:10 am, Tony Bibbs t...@tonybibbs.com wrote:
  When I run this:
 
  python ./contrib/internal/prepare-dev.py
 
  I get that:
 
  Synchronizing database...
  Error: No module named django_evolution
 
  Did I miss a step or something?


-- 
Tony Bibbs
Phone: (515) 554-8046
Twitter, Skype, Facebook: tonybibbs
Web: http://www.tonybibbs.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: Python Config Issue?

2010-03-04 Thread etrain
I have solved this problem - thanks for your help Christian! You
certainly led me on the right path.

For the good of the group, my problem ended up boiling down to a
permissions issue on my /usr/lib/python2.4/site-packages/*.pth files.
They were mode 640 (-rw-r-) and owned by root:root. By modifying
permissions  appropriately, I was able to get everything in my path,
which basically solved my problem. I had to run rb-site upgrade on my
site as well in order to get everything working because of subtle
versioning issues with djblets between the old version of my site and
the new one, but since then everything works.

- Evan

On Mar 4, 2:11 pm, Christian Hammond chip...@chipx86.com wrote:
 The Review Board, Djblets, etc. site packages are in .egg directories, and
 it seems that the 32-bit ones aren't being added to the Python path by
 default. Looks like some of the 64-bit ones are.

 Christian

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



 On Thu, Mar 4, 2010 at 8:00 AM, etrain evan.spa...@gmail.com wrote:
  Setting PythonHandler to mod_python.testhandler yielded:

  Apache version Apache/2.2.3 (Oracle)
  Apache threaded MPM No (single thread MPM)
  Apache forked MPM Yes, maximum 256 processes
  Apache server root /etc/httpd
  Apache document root /var/rb/mysite/htdocs
  Apache error log None
  Python sys.version 2.4.3 (#1, Jul 2 2009, 15:50:36) [GCC 4.1.2
  20080704 (Red Hat 4.1.2-44)]
  Python sys.path /var/rb/mysite/conf
  /usr/lib/python2.4/site-packages
  /usr/lib/python2.4
  /usr/lib
  /usr/lib64/python24.zip
  /usr/lib64/python2.4
  /usr/lib64/python2.4/plat-linux2
  /usr/lib64/python2.4/lib-tk
  /usr/lib64/python2.4/lib-dynload
  /usr/lib64/python2.4/site-packages
  /usr/lib64/python2.4/site-packages/Numeric
  /usr/lib64/python2.4/site-packages/PIL
  /usr/lib64/python2.4/site-packages/gtk-2.0
  /usr/lib/python2.4/site-packages

  Python interpreter name reviewboard_mysite
  mod_python.publisher available Yes
  mod_python.psp available Yes

  All of my site-packages are in /usr/lib (as opposed to /usr/lib64).
  I'm using the 64-bit mod_python on top of 64-bit apache.

  On Mar 3, 8:24 pm, etrain evan.spa...@gmail.com wrote:
   Sorry for the confusion - it's actually RHEL 4.1.2-44. It's funny
   because I have a box with the exact same OS running just fine.

   On Mar 3, 8:16 pm, Christian Hammond chip...@chipx86.com wrote:

I don't know. It's possible there's something funky with RHEL and
  Python
paths when using mod_python, but I don't have an answer there. It'd be
helpful if someone else on RHEL 5.1 can chime in on this.

Christian

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

On Wed, Mar 3, 2010 at 5:13 PM, etrain evan.spa...@gmail.com wrote:
 Yes, earlier I tried explicitly including the path to ReviewBoard in
 my PythonPath, and got past this error, but then apache/mod_python
 started complaining that they couldn't find djblets, which had me
 worried that i'd start having to include the absolute path to every
 missing library - not something I'm accustomed to having to do.

 I'm not a python expert, but is there some python setting or other
 environment variable I should be looking for?

 On Mar 3, 8:07 pm, etrain evan.spa...@gmail.com wrote:
   print reviewboard.__path__

  ['/usr/lib/python2.4/site-packages/ReviewBoard-1.5beta1-py2.4.egg/
  reviewboard']

  On Mar 3, 7:58 pm, Christian Hammond chip...@chipx86.com wrote:

   Okay, do that again and then type:

        print reviewboard.__path__

   It looks like what's happening is that, one way or another,
  Review
 Board
   isn't in the system path that mod_python is searching.

   Christian

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

   On Wed, Mar 3, 2010 at 4:34 PM, etrain evan.spa...@gmail.com
  wrote:
Python 2.4.3 (#1, Jul  2 2009, 15:50:36)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
Type help, copyright, credits or license for more
 information.
 import reviewboard
 import reviewboard.settings
Unable to read settings_local.py.

Please seehttp://www.reviewboard.org/docs/manual/dev/admin/
for help setting up Review Board.

On Mar 3, 6:52 pm, Christian Hammond chip...@chipx86.com
  wrote:
 Sounds like it's not seeing Review Board in the Python path.
  From a
command
 line, try typing:

    $ python
     import reviewboard

 See if that succeeds. If it does, type:

     import reviewboard.settings

 If that tells you it can't find settings_local.py, then
  that's
 fine. If
it
 can't find 

Absolute links in reply mails

2010-03-04 Thread Paul
My users are complaining because reply mails that have comments to
lines of code end up with relative URLs rather than absolute URLs.

e.g.
a href=/r/42/diff/1/?file=173#file173line549 style=color: black;
font-weight: bold; text-decoration: underline;/ops/configuration/
cfengine/inputs/cf.main/a

I wrote the following patch which I expected to fix this, but it
didn't work. Any ideas on where I should look next?

diff -ur ReviewBoard-1.5beta1-orig/reviewboard/templates/notifications/
email_diff_comment_fragment.html ReviewBoard-1.5beta1/reviewboard/
templates/notifications/email_diff_comment_fragment.html
--- ReviewBoard-1.5beta1-orig/reviewboard/templates/notifications/
email_diff_comment_fragment.html  2010-02-14 13:25:13.0
-0800
+++ ReviewBoard-1.5beta1/reviewboard/templates/notifications/
email_diff_comment_fragment.html   2010-03-03 15:07:13.363661209 -0800
@@ -5,7 +5,7 @@
  thead
   tr
th colspan=4 bgcolor=#F0F0F0 style=border-bottom: 1px solid
#C0C0C0; font-size: 9pt; padding: 4px 8px; text-align: left;
-a href={{comment.get_absolute_url}} style=color: black; font-
weight: bold; text-decoration:
underline;{{comment.filediff.dest_file}}/a
+a href={{domain_method}}://{{domain}}
{{comment.get_absolute_url}} style=color: black; font-weight: bold;
text-decoration: underline;{{comment.filediff.dest_file}}/a
 span style=font-weight: normal;
 {% if comment.interfilediff %}
  (Diff revisions {{comment.filediff.diffset.revision}} -
{{comment.interfilediff.diffset.revision}})
diff -ur ReviewBoard-1.5beta1-orig/reviewboard/templates/notifications/
reply_email.html ReviewBoard-1.5beta1/reviewboard/templates/
notifications/reply_email.html
--- ReviewBoard-1.5beta1-orig/reviewboard/templates/notifications/
reply_email.html  2010-02-14 13:25:13.0 -0800
+++ ReviewBoard-1.5beta1/reviewboard/templates/notifications/
reply_email.html   2010-03-03 15:05:28.383660132 -0800
@@ -38,7 +38,7 @@

   table bgcolor=#f0f0f0 cellpadding=5 cellspacing=5
style=border: 1px solid #c0c0c0; margin-bottom: 10px
tr
-tda href={{comment.screenshot.get_absolute_url}}
style=color: black; font-weight: bold; font-size:
9pt;{{comment.screenshot.image.name|basename}}/a/td
+ tda href={{domain_method}}://{{domain}}
{{comment.screenshot.get_absolute_url}} style=color: black; font-
weight: bold; font-size: 9pt;{{comment.screenshot.image.name|
basename}}/a/td
/tr
tr
 tda href={{domain_method}}://{{domain}}
{{comment.screenshot.get_absolute_url}}img src={{domain_method}}://
{{domain}}{{comment.get_image_url}} style=border: 1px black solid;
alt={{comment.screenshot.caption}}/a/td
diff -ur ReviewBoard-1.5beta1-orig/reviewboard/templates/notifications/
review_email.html ReviewBoard-1.5beta1/reviewboard/templates/
notifications/review_email.html
--- ReviewBoard-1.5beta1-orig/reviewboard/templates/notifications/
review_email.html 2010-02-14 13:25:13.0 -0800
+++ ReviewBoard-1.5beta1/reviewboard/templates/notifications/
review_email.html  2010-03-03 15:07:57.651160670 -0800
@@ -15,7 +15,7 @@
 {% for comment in review.screenshot_comments.all %}
 table bgcolor=#f0f0f0 cellpadding=5 cellspacing=5
style=border: 1px solid #c0c0c0; margin-bottom: 10px
  tr
-  tda href={{comment.screenshot.get_absolute_url}} style=color:
black; font-weight: bold; font-size:
9pt;{{comment.screenshot.image.name|basename}}/a/td
+   tda href={{domain_method}}://{{domain}}
{{comment.screenshot.get_absolute_url}} style=color: black; font-
weight: bold; font-size: 9pt;{{comment.screenshot.image.name|
basename}}/a/td
  /tr
  tr
   tda href={{domain_method}}://{{domain}}
{{comment.screenshot.get_absolute_url}}img src={{domain_method}}://
{{domain}}{{comment.get_image_url}} style=border: 1px black solid;
alt={{comment.screenshot.caption}}/a/td

-- 
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: Setting up developer environment

2010-03-04 Thread Christian Hammond
Easy_install will be your best option.

Actually, what you probably should do is (assuming this is a developer
machine) run:

  sudo python setup.py develop

This will automatically grab all the dependencies from the right locations
and install them.

You'll also want to then run this for your Djblets tree if you have one
installed, otherwise changes to that tree won't show up (as we'll use the
fetched package instead).

Christian

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


On Thu, Mar 4, 2010 at 11:56 AM, Tony Bibbs t...@tonybibbs.com wrote:

 Seems like I have a few options:

 1) Install via easy_install
 2) Install via SVN
 3) Install via Ubuntu's package manager

 Any suggestion on the best solution? I have it pulled down via SVN but I'm
 assuming I need to somehow tell ReviewBoard where it is because I get the
 same error


 On Mon, Feb 22, 2010 at 7:26 AM, Raja rajas...@gmail.com wrote:

 It looks like you need to get django_evolution from

 easy_install django_evolution

 or code.google.com/p/django-evolution/

 I just created a post with missing packages in the dependency list,
 but missed this one (as I had installed reviewboard earlier using
 easy_install).

 -- Raja

 On Feb 18, 12:10 am, Tony Bibbs t...@tonybibbs.com wrote:
  When I run this:
 
  python ./contrib/internal/prepare-dev.py
 
  I get that:
 
  Synchronizing database...
  Error: No module named django_evolution
 
  Did I miss a step or something?


 --
 Tony Bibbs
 Phone: (515) 554-8046
 Twitter, Skype, Facebook: tonybibbs
 Web: http://www.tonybibbs.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.comreviewboard%2bunsubscr...@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: Python Config Issue?

2010-03-04 Thread Christian Hammond
Awesome :) Glad it works!

Christian

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


On Thu, Mar 4, 2010 at 12:43 PM, etrain evan.spa...@gmail.com wrote:

 I have solved this problem - thanks for your help Christian! You
 certainly led me on the right path.

 For the good of the group, my problem ended up boiling down to a
 permissions issue on my /usr/lib/python2.4/site-packages/*.pth files.
 They were mode 640 (-rw-r-) and owned by root:root. By modifying
 permissions  appropriately, I was able to get everything in my path,
 which basically solved my problem. I had to run rb-site upgrade on my
 site as well in order to get everything working because of subtle
 versioning issues with djblets between the old version of my site and
 the new one, but since then everything works.

 - Evan

 On Mar 4, 2:11 pm, Christian Hammond chip...@chipx86.com wrote:
  The Review Board, Djblets, etc. site packages are in .egg directories,
 and
  it seems that the 32-bit ones aren't being added to the Python path by
  default. Looks like some of the 64-bit ones are.
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.reviewboard.org
  VMware, Inc. -http://www.vmware.com
 
 
 
  On Thu, Mar 4, 2010 at 8:00 AM, etrain evan.spa...@gmail.com wrote:
   Setting PythonHandler to mod_python.testhandler yielded:
 
   Apache version Apache/2.2.3 (Oracle)
   Apache threaded MPM No (single thread MPM)
   Apache forked MPM Yes, maximum 256 processes
   Apache server root /etc/httpd
   Apache document root /var/rb/mysite/htdocs
   Apache error log None
   Python sys.version 2.4.3 (#1, Jul 2 2009, 15:50:36) [GCC 4.1.2
   20080704 (Red Hat 4.1.2-44)]
   Python sys.path /var/rb/mysite/conf
   /usr/lib/python2.4/site-packages
   /usr/lib/python2.4
   /usr/lib
   /usr/lib64/python24.zip
   /usr/lib64/python2.4
   /usr/lib64/python2.4/plat-linux2
   /usr/lib64/python2.4/lib-tk
   /usr/lib64/python2.4/lib-dynload
   /usr/lib64/python2.4/site-packages
   /usr/lib64/python2.4/site-packages/Numeric
   /usr/lib64/python2.4/site-packages/PIL
   /usr/lib64/python2.4/site-packages/gtk-2.0
   /usr/lib/python2.4/site-packages
 
   Python interpreter name reviewboard_mysite
   mod_python.publisher available Yes
   mod_python.psp available Yes
 
   All of my site-packages are in /usr/lib (as opposed to /usr/lib64).
   I'm using the 64-bit mod_python on top of 64-bit apache.
 
   On Mar 3, 8:24 pm, etrain evan.spa...@gmail.com wrote:
Sorry for the confusion - it's actually RHEL 4.1.2-44. It's funny
because I have a box with the exact same OS running just fine.
 
On Mar 3, 8:16 pm, Christian Hammond chip...@chipx86.com wrote:
 
 I don't know. It's possible there's something funky with RHEL and
   Python
 paths when using mod_python, but I don't have an answer there. It'd
 be
 helpful if someone else on RHEL 5.1 can chime in on this.
 
 Christian
 
 --
 Christian Hammond - chip...@chipx86.com
 Review Board -http://www.reviewboard.org
 VMware, Inc. -http://www.vmware.com
 
 On Wed, Mar 3, 2010 at 5:13 PM, etrain evan.spa...@gmail.com
 wrote:
  Yes, earlier I tried explicitly including the path to ReviewBoard
 in
  my PythonPath, and got past this error, but then
 apache/mod_python
  started complaining that they couldn't find djblets, which had me
  worried that i'd start having to include the absolute path to
 every
  missing library - not something I'm accustomed to having to do.
 
  I'm not a python expert, but is there some python setting or
 other
  environment variable I should be looking for?
 
  On Mar 3, 8:07 pm, etrain evan.spa...@gmail.com wrote:
print reviewboard.__path__
 
  
 ['/usr/lib/python2.4/site-packages/ReviewBoard-1.5beta1-py2.4.egg/
   reviewboard']
 
   On Mar 3, 7:58 pm, Christian Hammond chip...@chipx86.com
 wrote:
 
Okay, do that again and then type:
 
 print reviewboard.__path__
 
It looks like what's happening is that, one way or another,
   Review
  Board
isn't in the system path that mod_python is searching.
 
Christian
 
--
Christian Hammond - chip...@chipx86.com
Review Board -http://www.reviewboard.org
VMware, Inc. -http://www.vmware.com
 
On Wed, Mar 3, 2010 at 4:34 PM, etrain 
 evan.spa...@gmail.com
   wrote:
 Python 2.4.3 (#1, Jul  2 2009, 15:50:36)
 [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
 Type help, copyright, credits or license for more
  information.
  import reviewboard
  import reviewboard.settings
 Unable to read settings_local.py.
 
 Please seehttp://
 www.reviewboard.org/docs/manual/dev/admin/
 for help setting up Review Board.
 
 On Mar 3, 6:52 pm, Christian Hammond chip...@chipx86.com
   wrote:
  Sounds like it's not 

Re: Absolute links in reply mails

2010-03-04 Thread Christian Hammond
That patch should work, provided the correct variables are passed to the
template renderer. I don't know if they are.

Christian

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


On Thu, Mar 4, 2010 at 12:37 PM, Paul psarm...@gmail.com wrote:

 My users are complaining because reply mails that have comments to
 lines of code end up with relative URLs rather than absolute URLs.

 e.g.
 a href=/r/42/diff/1/?file=173#file173line549 style=color: black;
 font-weight: bold; text-decoration: underline;/ops/configuration/
 cfengine/inputs/cf.main/a

 I wrote the following patch which I expected to fix this, but it
 didn't work. Any ideas on where I should look next?

 diff -ur ReviewBoard-1.5beta1-orig/reviewboard/templates/notifications/
 email_diff_comment_fragment.html ReviewBoard-1.5beta1/reviewboard/
 templates/notifications/email_diff_comment_fragment.html
 --- ReviewBoard-1.5beta1-orig/reviewboard/templates/notifications/
 email_diff_comment_fragment.html  2010-02-14 13:25:13.0
 -0800
 +++ ReviewBoard-1.5beta1/reviewboard/templates/notifications/
 email_diff_comment_fragment.html   2010-03-03 15:07:13.363661209 -0800
 @@ -5,7 +5,7 @@
  thead
   tr
th colspan=4 bgcolor=#F0F0F0 style=border-bottom: 1px solid
 #C0C0C0; font-size: 9pt; padding: 4px 8px; text-align: left;
 -a href={{comment.get_absolute_url}} style=color: black; font-
 weight: bold; text-decoration:
 underline;{{comment.filediff.dest_file}}/a
 +a href={{domain_method}}://{{domain}}
 {{comment.get_absolute_url}} style=color: black; font-weight: bold;
 text-decoration: underline;{{comment.filediff.dest_file}}/a
 span style=font-weight: normal;
  {% if comment.interfilediff %}
  (Diff revisions {{comment.filediff.diffset.revision}} -
 {{comment.interfilediff.diffset.revision}})
 diff -ur ReviewBoard-1.5beta1-orig/reviewboard/templates/notifications/
 reply_email.html ReviewBoard-1.5beta1/reviewboard/templates/
 notifications/reply_email.html
 --- ReviewBoard-1.5beta1-orig/reviewboard/templates/notifications/
 reply_email.html  2010-02-14 13:25:13.0 -0800
 +++ ReviewBoard-1.5beta1/reviewboard/templates/notifications/
 reply_email.html   2010-03-03 15:05:28.383660132 -0800
 @@ -38,7 +38,7 @@

   table bgcolor=#f0f0f0 cellpadding=5 cellspacing=5
 style=border: 1px solid #c0c0c0; margin-bottom: 10px
tr
 -tda href={{comment.screenshot.get_absolute_url}}
 style=color: black; font-weight: bold; font-size:
 9pt;{{comment.screenshot.image.name|basename}}/a/td
 + tda href={{domain_method}}://{{domain}}
 {{comment.screenshot.get_absolute_url}} style=color: black; font-
 weight: bold; font-size: 9pt;{{comment.screenshot.image.name|
 basename}}/a/td
/tr
tr
 tda href={{domain_method}}://{{domain}}
 {{comment.screenshot.get_absolute_url}}img src={{domain_method}}://
 {{domain}}{{comment.get_image_url}} style=border: 1px black solid;
 alt={{comment.screenshot.caption}}/a/td
 diff -ur ReviewBoard-1.5beta1-orig/reviewboard/templates/notifications/
 review_email.html ReviewBoard-1.5beta1/reviewboard/templates/
 notifications/review_email.html
 --- ReviewBoard-1.5beta1-orig/reviewboard/templates/notifications/
 review_email.html 2010-02-14 13:25:13.0 -0800
 +++ ReviewBoard-1.5beta1/reviewboard/templates/notifications/
 review_email.html  2010-03-03 15:07:57.651160670 -0800
 @@ -15,7 +15,7 @@
  {% for comment in review.screenshot_comments.all %}
  table bgcolor=#f0f0f0 cellpadding=5 cellspacing=5
 style=border: 1px solid #c0c0c0; margin-bottom: 10px
  tr
 -  tda href={{comment.screenshot.get_absolute_url}} style=color:
 black; font-weight: bold; font-size:
 9pt;{{comment.screenshot.image.name|basename}}/a/td
 +   tda href={{domain_method}}://{{domain}}
 {{comment.screenshot.get_absolute_url}} style=color: black; font-
 weight: bold; font-size: 9pt;{{comment.screenshot.image.name|
 basename}}/a/td
  /tr
  tr
   tda href={{domain_method}}://{{domain}}
 {{comment.screenshot.get_absolute_url}}img src={{domain_method}}://
 {{domain}}{{comment.get_image_url}} style=border: 1px black solid;
 alt={{comment.screenshot.caption}}/a/td

 --
 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.comreviewboard%2bunsubscr...@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 

Re: Your request could not be processed. Request could not be handled

2010-03-04 Thread Christian Hammond
This error page isn't coming from Review Board. It looks like it may be from
a proxy? If you have a proxy running between you and Review Board, something
may be getting messed up there. Try setting the HTTP_PROXY and http_proxy
environment variables to nothing.

Christian

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


On Thu, Mar 4, 2010 at 11:18 AM, bigoldrock noeldamonmil...@gmail.comwrote:

 OS: ubuntu
 webserver: apache2
 DB: mysql


 post-review is having difficulty talking to reviewboard. Please help.

 Note* the server is up and running, logs in apache show up upon login,
 etc.



 bigoldr...@littlerock:~/Development/hje/branch/1.30$ post-review -d
  svn info
  repository info: Path: http://svn.hje.foo.com/svn/hje, Base path:
 /Deployment/branches/1.30/foodira/foodirb, Supports changesets: False
  svn diff --diff-cmd=diff
  Looking for 'localhost /' cookie in
 /home/bigoldrock/.post-review-cookies.txt
  Couldn't load cookie file: [Errno 2] No such file or directory:
 '/home/bigoldrock/.post-review-cookies.txt'
 == Review Board Login Required
 Enter username and password for Review Board at http://localhost/
 Username: jschmoe
 Password:
  Logging in with username jschmoe
  HTTP POSTing to http://localhost/api/json/accounts/login/:
 {'username': 'jschmoe', 'password': '**'}
  html
 head
 meta http-equiv=Content-Type content=text/html; charset=us-ascii
 titleRequest Error/title
 SCRIPT LANGUAGE=JavaScript
 !--
 if (document.execCommand)
 {
  if (document.execCommand(ClearAuthenticationCache, false)) {
document.cookie = 'BCSIAC26F1AAE63418B9AA=; path=/';
  }
 }
 //--
 /SCRIPT
 style
 !--
  /* Style Definitions */
  p.MsoNormal, li.MsoNormal, div.MsoNormal
  {mso-style-parent:;
  margin:0in;
  margin-bottom:.0001pt;
  mso-pagination:widow-orphan;
  font-size:12.0pt;
  font-family:Times New Roman;
  mso-fareast-font-family:Times New Roman;}
 h1
  {mso-style-next:Normal;
  margin-top:12.0pt;
  margin-right:0in;
  margin-bottom:3.0pt;
  margin-left:0in;
  mso-pagination:widow-orphan;
  page-break-after:avoid;
  mso-outline-level:1;
  font-size:16.0pt;
  font-family:Arial;
  mso-font-kerning:16.0pt;
  font-weight:bold;}
 p
  {mso-margin-top-alt:auto;
  margin-right:0in;
  mso-margin-bottom-alt:auto;
  margin-left:0in;
  mso-pagination:widow-orphan;
  font-size:12.0pt;
  font-family:Times New Roman;
  mso-fareast-font-family:Times New Roman;}
 span.SpellE
  {mso-style-name:;
  mso-spl-e:yes;}
 @page Section1
  {size:8.5in 11.0in;
  margin:1.0in 1.25in 1.0in 1.25in;
  mso-header-margin:.5in;
  mso-footer-margin:.5in;
  mso-paper-source:0;}
 div.Section1
  {page:Section1;}
 --
 /style

 /head

 body bgcolor=white lang=EN-US style='tab-interval:.5in'

 div class=Section1

 table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0
 width=600
  style='width:6.25in;mso-cellspacing:0in;mso-padding-alt:7.5pt 7.5pt
 7.5pt 7.5pt'
  tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;height:25.5pt'
  td style='padding:7.5pt 7.5pt 7.5pt 7.5pt;height:25.5pt'
  p class=MsoNormalbspan style='font-size:16.0pt;mso-bidi-font-
 size:12.0pt'GAP
  INC/span/b./p
  /td
  /tr
  tr style='mso-yfti-irow:1'
  td style='padding:7.5pt 7.5pt 7.5pt 7.5pt'
  h3span style='font-family:Arial;color:red'Request Erroro:p/
 o:p/span/h3
  div class=MsoNormal align=center style='text-align:center'span
  style='color:red'
  hr size=1 width=100% align=center
  /span/div
  p class=MsoNormalspan style='color:red'o:pnbsp;/o:p/span/
 p
  /td
  /tr
  tr style='mso-yfti-irow:2'
  td valign=top style='padding:7.5pt 7.5pt 7.5pt 7.5pt'
  p class=MsoNormalspan style='font-size:10.0pt;font-
 family:Arial'Your request could not be processed. Request could not
 be handledo:p/o:p/span/p
  /td
  /tr
  tr style='mso-yfti-irow:3;mso-yfti-lastrow:yes'
  td valign=top style='padding:7.5pt 7.5pt 7.5pt 7.5pt'
  div class=MsoNormal align=center style='text-align:center'
  hr size=1 width=100% align=center
  /div
  p class=MsoNormal align=right style='text-align:right'ispan
  style='font-size:7.5pt;font-family:Arial'generated 2010-03-04 at
 18:44:57 GMT by
  prox02rcc.foo.com/span/ispan style='font-size:10.0pt;font-
 family:Arial'
  /span/p
  /td
  /tr
 /table

 p class=MsoNormalo:pnbsp;/o:p/p

 /div

 /body

 /html


 Unable to access http://localhost/api/json/accounts/login/. The host
 path may be invalid
 HTTP Error 400: Bad Request

 --
 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.comreviewboard%2bunsubscr...@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 

Re: Setting up developer environment

2010-03-04 Thread Paul
On Thu, Mar 4, 2010 at 15:07, Christian Hammond chip...@chipx86.com wrote:
 Easy_install will be your best option.

 Actually, what you probably should do is (assuming this is a developer
 machine) run:

   sudo python setup.py develop

 This will automatically grab all the dependencies from the right locations
 and install them.

 You'll also want to then run this for your Djblets tree if you have one
 installed, otherwise changes to that tree won't show up (as we'll use the
 fetched package instead).

I don't know about the development environment stuff, but here's a
list of packages you need from the debian repository to run
reviewboard:

apache2, libapache2-mod-python, libmemcache-dev, memcached,
mysql-server, patch, pylucene, python-dev, python-django (=1.1.1),
python-django-djblets (=0.5.7), python-django-evolution, python-flup,
python-imaging, python-ldap, python-memcache, python-mysqldb,
python-paramiko, python-pygments, python-setuptools, python-svn,
python-tz, python-recaptcha, subversion,

I actually have debian package definitions for reviewboard,
reviewboard-tools, python-django-djblets, python-django-evolution and
python-recaptcha (none of these are in the Lenny repository and you'll
need to get pylucene from unstable, it works fine on Lenny).

If others would find them useful, I can post them.

Chip, if you want to include them in the reviewboard releases let me
know how you'd like to handle that and I can make that happen too.

Paul

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


Problem with $PATH in 1.0 reviewboard installation

2010-03-04 Thread ebneter
I'm having a problem with my reviewboard installation -- it seems to
be unable to find the git executable (which is in /usr/local/bin/ ). I
can't figure out what user's PATH var it is using when it looks for
this file. I'm using httpd + mod_python; httpd runs as the svn user
(it's a long story... ;-)). The svn user's path includes /usr/local/
bin and running 'which git' as svn returns /usr/local/bin/git. root's
path also includes /usr/local/bin and returns /usr/local/bin/git for
'which git'.

Can anyone enlighten me on this? I've hacked around it temporarily by
hard-coding a value in git.py, but clearly that's not the right thing
to do!

Thanks,
Kate Ebneter
Build Engineer

-- 
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: Problem with $PATH in 1.0 reviewboard installation

2010-03-04 Thread Christian Hammond
Hi,

It's going to use the Apache user's environment. This likely doesn't include
/usr/local/bin on your system. You can add this to your environment by
adding a SetEnv call to your Apache configuration (see the generated config
for other SetEnv calls).

Christian

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


On Thu, Mar 4, 2010 at 6:35 PM, ebneter kebne...@gmail.com wrote:

 I'm having a problem with my reviewboard installation -- it seems to
 be unable to find the git executable (which is in /usr/local/bin/ ). I
 can't figure out what user's PATH var it is using when it looks for
 this file. I'm using httpd + mod_python; httpd runs as the svn user
 (it's a long story... ;-)). The svn user's path includes /usr/local/
 bin and running 'which git' as svn returns /usr/local/bin/git. root's
 path also includes /usr/local/bin and returns /usr/local/bin/git for
 'which git'.

 Can anyone enlighten me on this? I've hacked around it temporarily by
 hard-coding a value in git.py, but clearly that's not the right thing
 to do!

 Thanks,
 Kate Ebneter
 Build Engineer

 --
 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.comreviewboard%2bunsubscr...@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: Issue 1520 in reviewboard: User Permission UI block is too small , user permissions are not readable since they are hide behind the selection box

2010-03-04 Thread reviewboard

Updates:
Status: Started
Owner: chipx86
Labels: Milestone-Release1.5 Component-Admin

Comment #1 on issue 1520 by chipx86: User Permission UI block is too  
small , user permissions are not readable since they are hide behind the  
selection box

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

(No comment was entered for this change.)

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



Re: Issue 1458 in reviewboard: User View on site button has broken path

2010-03-04 Thread reviewboard

Updates:
Status: NeedInfo

Comment #2 on issue 1458 by chipx86: User View on site button has broken  
path

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

I verified that this does work. It seems you probably don't have your  
SITE_ROOT in

your settings_local.py set correctly. Can you verify that it is not / ?

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



Re: Issue 1431 in reviewboard: Need support for TortoiseSVN diffs

2010-03-04 Thread reviewboard


Comment #7 on issue 1431 by caffeinatedcoder: Need support for TortoiseSVN  
diffs

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

There are two ways I was creating a diff.  1) You right click on the file  
and choose
diff with previous version (our organization has to post-commit reviews and  
we cannot
put the command line svn on every developer workstation) and then Save-As.   
I was not
able to get this diff to work at all.  2) You can right-click on the file ,  
choose
show log, right click on a specific entry and choose show unified diff.   
Then you
copy all the text into a separate diff file.  This adds the index line I  
mentioned

that you have to remove.

I have never tried creating a patch but I don't see an option to do this  
from the svn

context menu or the repo browser.  Where is this at?

--
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-iss...@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 1529 in reviewboard: Review Request: in subject is too long, please revert to [review]

2010-03-04 Thread reviewboard

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

New issue 1529 by manjlanata: Review Request: in subject is too long,  
please revert to [review]

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

*NOTE: Do not post confidential information in this bug report.*

What version are you running?
Latest

What's the URL of the page containing the problem?
All reviews.

What steps will reproduce the problem?
1. Receive a review request mail
2.
3.

What is the expected output? What do you see instead?
Subject should start with [review]

What operating system are you using? What browser?
NA

Please provide any additional information below.
Before the latest reviewboard upgrade, the review request mails had subject
containing [review]:. Now subject contains Review Request:. [review]:
is concise and makes subject not to run too long.

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



Re: Issue 1529 in reviewboard: Review Request: in subject is too long, please revert to [review]

2010-03-04 Thread reviewboard

Updates:
Status: ThirdParty

Comment #1 on issue 1529 by trowbrds: Review Request: in subject is too  
long, please revert to [review]

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

This is an issue with your particular deployment. Upstream Review Board has  
always said

Review Request. Please contact your administrator.

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



Re: Issue 1511 in reviewboard: Diffs containing only indentation changes causes the diff viewer to look empty

2010-03-04 Thread reviewboard


Comment #4 on issue 1511 by jagdmann: Diffs containing only indentation  
changes causes the diff viewer to look empty

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

I have just run into this on our company review board as well. A fix would  
be nice,

since I often change indention in our legacy code.

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