Issue 1222 - Send e-mails from static address

2011-03-14 Thread grimbeaver
We really need to reopen this issue as more and more people are going
to have problems with this design of sending as the logged in user.

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

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


Finally a PyLucene Package

2010-04-30 Thread grimbeaver
For anyone interested I just installed an Ubuntu 10.04 LTS server and
the PyLucene package is finally built with Python 2.6 which means it
is finally usable via modpython.  No more painful building of
PyLucene, just an easy to install package.

I just got the system installed and restored a backup so I have not
done much testing but so far everything seems to be working fine.

-- 
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: Finally a PyLucene Package

2010-04-30 Thread grimbeaver
I just got the package through apt-get. Looks like it's 2.3.1 so it's
actually a bit dated.  But it seems to work.

http://packages.ubuntu.com/lucid/pylucene

On Apr 30, 12:35 pm, Stephen Gallagher step...@gallagherhome.com
wrote:
 On 04/30/2010 01:32 PM, grimbeaver wrote:

  For anyone interested I just installed an Ubuntu 10.04 LTS server and
  the PyLucene package is finally built with Python 2.6 which means it
  is finally usable via modpython.  No more painful building of
  PyLucene, just an easy to install package.

  I just got the system installed and restored a backup so I have not
  done much testing but so far everything seems to be working fine.

 A link to the package would be helpful :)

 Also, is it 3.0 (which if I remember correctly is not compatible with
 ReviewBoard), or is it an older version?

 (I'm very interested, because I want to put together a Fedora package
 for it)

 --
 Want to help the Review Board project? Donate today 
 athttp://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 
 athttp://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: AD Settings in RB

2010-04-29 Thread grimbeaver
You might be able to do it by setting the group name or a custom
search root in the settings but I'm not real familiar with the AD
scheme.  Currently I'm just using the Find DC from DNS option.  The
other thing to remember is that a user is not created in reviewboard
until after the user logs in once.  This makes assigning privileges
kind of difficult.

On Apr 29, 2:50 am, Christian Hammond chip...@chipx86.com wrote:
 Hi,

 I was hoping someone else would respond to this. AD is a
 contributor-supplied feature, which I have little personal knowledge of.

 We make use of the Python ldap and DNS modules in order to handle
 authentication. I don't know what is needed to support multiple security
 groups, whether we need to modify code to allow for it or what. I'd love to
 give you a better answer, but this is just outside my area of expertise. I'd
 be fine with providing such support in our ActiveDirectory backend if
 someone with the ability to test this could provide a patch.

 Christian

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





 On Wed, Apr 28, 2010 at 9:43 PM, Kunjal kunjal.par...@gmail.com wrote:
  Can someone please replay as soon as possible?

  On Apr 27, 5:42 pm, Kunjal kunjal.par...@gmail.com wrote:
   We have RB 1.0.5.1 installed.
   We have configured AD settings so all the users can login easily.
   Now, the issue is that we want to restrict users to only few
   departments in our company.
   So, we have created new windows security groups which has nested
   multiple department names in it.
   After doing this, the users of this departments can not access RB.
   If we put one department group then it works. But nesting of
   departments does not work.
   Does the RB 1.0.5.1 has ability to put multiple windows security
   groups for access/authentication? Is nesting possible?

   --
   Want to help the Review Board project? Donate today athttp://
 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...@googlegr 
  oups.com
   For more options, visit this group athttp://
  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.comreviewboard%2bunsubscr...@googlegr 
  oups.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 
 athttp://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 
 athttp://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: PyLucene installation

2010-04-25 Thread grimbeaver
A quick search turned up Xapian.  Is that what you were thinking about
using?

I somewhat question the value of the search though.  If you know what
group the review was opened under and you know who opened the review
it's not difficult to find the review.  Plus it's not that frequent
that you go back and look at an old review.  I have my doubts that any
of my coworkers even are using it.

On Apr 25, 1:08 am, Christian Hammond chip...@chipx86.com wrote:
 I want to use something else. The problem is, the only good, extensive,
 performant search indexing systems are equally hard to install, and many
 actually require Lucene under the hood.

 There's a new project for doing search that may be easier to use, and I'm
 looking into switching to it (even worked on this for a bit) but it's still
 too immature. Hopefully in time we can offer support for things other than
 Lucene.

 Christian

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





 On Sat, Apr 24, 2010 at 6:01 AM, grimbeaver tbrez...@gmail.com wrote:
  I just went though installing PyLucene on a new server.  Thought I had
  it documented how I did it last time but I was missing a few steps.
  PyLucene is the biggest pain in the $# to install and I really wish
  they would use something else.

  On Apr 23, 1:21 pm, Titi Ala'ilima tigreti...@gmail.com wrote:
   In a followup to an old thread from last year (http://
   groups.google.com/group/reviewboard/browse_thread/thread/
   615b108947474d86?pli=1), I encountered this error while trying to
   install PyLucene:

   /usr/bin/python: module jcc has no associated file

   Like the OP, I am new to most things python and lucene.  The OP
   figured out the issue but then didn't give specifics.  I likewise
   figured it out eventually, so I figured I'd give a little more info in
   case it should help others.  It's more accurately a pylucene issue,
   but since it happened in the course of installing reviewboard for me
   as well, and since this came up at the top of my search even excluding
   reviewboard from the criteria, it seemed as good a place as any to
   record the info.

   In my case, I'm on CentOS 5.4 64-bit, Python 2.4, OpenJDK 1.6.
   setuptools 0.6c11.  Looking at the options in the Makefile, I picked
   the one that seemed to match the best:
   # Linux     (Ubuntu 8.10 64-bit, Python 2.5.2, OpenJDK 1.6, setuptools
   0.6c9)
   PREFIX_PYTHON=/usr
   ANT=ant
   PYTHON=$(PREFIX_PYTHON)/bin/python
   JCC=$(PYTHON) -m jcc --shared
   NUM_FILES=2

   Well it turns out that the python version impacts the JCC command
   significantly.  For my version of python, they suggested:
   JCC=$(PYTHON) $(PREFIX_PYTHON)/lib/python2.4/site-packages/jcc/
   __init__.py

   But I didn't have my jcc files located there.  I had to pay attention
   to where the jcc installation placed the files.  What I ended up with
   was:
   JCC=$(PYTHON) $(PREFIX_PYTHON)/lib64/python2.4/site-packages/JCC-2.5.1-
   py2.4-linux-x86_64.egg/jcc/__init__.py

   Hope this helps!

   Titi

   --
   Want to help the Review Board project? Donate today athttp://
 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...@googlegr 
  oups.com
   For more options, visit this group athttp://
  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.comreviewboard%2bunsubscr...@googlegr 
  oups.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 
 athttp://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 
 athttp://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


Misaligned Dashboard w/ 1.0.6

2010-03-31 Thread grimbeaver
After updating to 1.0.6 the dashboard is often misaligned or text is
under the wrong columns if you use the pencil to add fields or change
the position of the columns.  Refreshing the screen will sometimes
correct it or sometimes make it worse.

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

To unsubscribe, reply using remove me as the subject.


Re: Misaligned Dashboard w/ 1.0.6

2010-03-31 Thread grimbeaver
Issue 1582 has been created with screenshot.

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

Normally I would not have worried about blanking stuff out but we have
some education issues still with getting some users to actually
close out the review when they are done with them.

On Mar 31, 1:50 pm, Christian Hammond chip...@chipx86.com wrote:
 Might be an issue with the new caching. Will look into it.

 Can you file a bug? Preferably with a screenshot, if you can blur anything
 out.

 Christian

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



 On Wed, Mar 31, 2010 at 11:40 AM, grimbeaver tbrez...@gmail.com wrote:
  After updating to 1.0.6 the dashboard is often misaligned or text is
  under the wrong columns if you use the pencil to add fields or change
  the position of the columns.  Refreshing the screen will sometimes
  correct it or sometimes make it worse.

  --
  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...@googlegr 
  oups.com
  For more options, visit this group at
 http://groups.google.com/group/reviewboard?hl=en

  To unsubscribe, reply using remove me as the subject.

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


Totals / Reports?

2010-01-05 Thread grimbeaver
I need a simple way to get the total number of reviews in a group.
We've assigned all the code reviews into groups based on project.
Project management has to report the total number of code reviews
completed for a project to our partner.  When you look at the group
view it only gives you a count of the pending reviews, no total
count.  Obviously in an ideal world there will be better reports some
day, but for now I just need an easy way to get this number when
needed.
-- 
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: Totals / Reports?

2010-01-05 Thread grimbeaver
That worked.  I wanted the total number of review requests, not the
number of reviews.  Perhaps that could be added as a column some day
to the groups page.

On Jan 5, 2:21 pm, Christian Hammond chip...@chipx86.com wrote:
 On Tue, Jan 5, 2010 at 10:04 AM, Chris Clark chris.cl...@ingres.com wrote:
  grimbeaver wrote:

  I need a simple way to get the total number of reviews in a group.
  We've assigned all the code reviews into groups based on project.
  Project management has to report the total number of code reviews
  completed for a project to our partner.  When you look at the group
  view it only gives you a count of the pending reviews, no total
  count.  Obviously in an ideal world there will be better reports some
  day, but for now I just need an easy way to get this number when
  needed.

  Off the top of my head there are 2 options:

   1. use the Django manage shell and write simple Python queries
   2. access the database directly, e.g. using native sql terminal
      monitor tools and query the table(s) directly

  I don't have queries for these but it probably wouldn't take long by poking
  around. The Django tutorials are pretty good if you want to try option #1
  which requires basic Python skills. Option #2 requires basic SQL skills.

  If you create useful scripts they would be good to post back to the mailing
  list.

  Chris

 Yeah, these options are necessary for now.

 Is it the total number of reviews, or review requests?

 To get into the Python shell for Review Board, run:

     $ rb-site manage /path/to/site shell

 Then:

     from django.db.models import Count
     from reviewboard.reviews.models import ReviewRequest
    
     # Total number of public review requests to a group (pending and
 closed)
     review_requests = ReviewRequest.objects.to_group(yourgroupname,
 status=None)
     print review_requests.count()
    
     # Total number of public reviews to all review requests in a group
     print
 review_requests.filter(reviews__public=True).aggregate(Count(reviews))['r 
 eviews__count']

 I think that should work off-hand. Let me know if there are problems with
 it.

 Christian

 --
 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: Can't enable search though PyLucene is installed

2009-10-21 Thread grimbeaver

I ran into this same problem.  Ubuntu 9.04 has a package for PyLucene
but it is built for Python 2.5.  Apache uses libapache2-mod-python
built for Python 2.6 so no changes to the path or default python are
going to make any difference.  The only way I got it to work was to
manually build PyLucene instead of using the package.  Hope this
helps.

-Tom

On Oct 21, 2:34 am, David Resnick abune...@gmail.com wrote:
 Do you have any idea how I can reinstall PyLucene with 2.6? I'm running a
 vanilla installation of Ubuntu 9.04.

 There's nothing in the browser JavaScript log. I'm running Firefox 3.5.3.

 Thanks,
 David

 On Tue, Oct 20, 2009 at 8:52 PM, Christian Hammond chip...@chipx86.comwrote:





  Switching Python paths will certainly break things if you're switching
  to a different version of Python. If you're using mod_python with 2.6
  and using the 2.5 search path, you'll experience a number of issues.
  Instead, you should reinstall PyLucene with 2.6.

  Did you see anything in your browser's JavaScript debug log? And which
  browser are you using?

  Christian

  On Tuesday, October 20, 2009, David Resnick abune...@gmail.com wrote:
   I got an ImportError when I tried doing imp.find_module(lucene).
   I saw that lucene is installed in python2.5 and the default python used
  was 2.6. So I changed the default python to 2.5 and now the import does
  work.

   But after restarting Apache the checkbox is still disabled. How does
  mod_python choose the installation of python to use?
   -David
   On Tue, Oct 20, 2009 at 11:55 AM, Christian Hammond chip...@chipx86.com
  wrote:
   Also, can you manually run Python and type:

       import imp
       imp.find_module(lucene)

   If that throws an exception (an ImportError), then PyLucene isn't set up
  properly. If it simply returns without any message, then it's installed fine
  and Review Board is seeing it, so something else is going wrong.

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

   On Tue, Oct 20, 2009 at 2:08 AM, David Resnick abune...@gmail.com
  wrote:

   Yes.
   -David

   On Tue, Oct 20, 2009 at 10:46 AM, Christian Hammond chip...@chipx86.com
  wrote:

   Did you restart the web server after installing PyLucene?

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

   On Tue, Oct 20, 2009 at 1:39 AM, David Resnick abune...@gmail.com
  wrote:

   I've installed PyLucene on an Ubuntu server and would like to enable
  search in Review Board but the check box is disabled.
   Any ideas?
   Thanks,David

    To unsubscribe from this group, send email to

    reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegr
oups.com

    For more options, visit this group at

    http://groups.google.com/group/reviewboard?hl=en
   -~--~~~~--~~--~--~---

    To unsubscribe from this group, send email to

    reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegr
oups.com

    For more options, visit this group at

    http://groups.google.com/group/reviewboard?hl=en
   -~--~~~~--~~--~--~---

    To unsubscribe from this group, send email to

    reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegr
oups.com

    For more options, visit this group at

    http://groups.google.com/group/reviewboard?hl=en
   -~--~~~~--~~--~--~---

    To unsubscribe from this group, send email to

    reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegr
oups.com

    For more options, visit this group at

    http://groups.google.com/group/reviewboard?hl=en
   -~--~~~~--~~--~--~---

    To unsubscribe from this group, send email to

    reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegr
oups.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

   To unsubscribe from this group, send email to
  reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegr 
  oups.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: Review Board 1.0.2 released

2009-09-16 Thread grimbeaver

It's taking a nap for me after upgrade.  Kind of in panic mode that
I'll have ticked off people coming to see me soon.  I started a thread
here:
http://groups.google.com/group/reviewboard/browse_thread/thread/981a2bdff7e99433#

On Sep 16, 9:35 am, roshan pius roshanpiustho...@gmail.com wrote:
 Hi Christian,
 I'm having issues upgrading to the latest 1.02 release, when i try upgrading
 i get a mesage saying that the latest release ReviewBoard
 1.1alpha1.dev-20090916 is already the active version in easy-install.pth is
 already installed. I was initially running reviewboard from the svn
 checkout, but i had migrated to the normal install about 2 months back, so i
 don't know if that history has something to do with this.

 linux-izbn:~ #  easy_install -U ReviewBoard
 Searching for ReviewBoard
 Readinghttp://www.review-board.org/downloads/nightlies/
 Readinghttp://pypi.python.org/simple/ReviewBoard/
 Readinghttp://www.review-board.org/
 Readinghttp://downloads.review-board.org/releases/ReviewBoard/1.0/
 Readinghttp://downloads.review-board.org/releases/
 Best match: ReviewBoard 1.1alpha1.dev-20090916
 Processing ReviewBoard-1.1alpha1.dev_20090916-py2.6.egg
 ReviewBoard 1.1alpha1.dev-20090916 is already the active version in
 easy-install.pth
 Installing rb-site script to /usr/local/bin

 Using
 /usr/local/lib/python2.6/site-packages/ReviewBoard-1.1alpha1.dev_20090916-p 
 y2.6.egg
 Readinghttp://downloads.review-board.org/mirror/
 Readinghttp://downloads.review-board.org/nightlies/
 Processing dependencies for ReviewBoard
 Finished processing dependencies for ReviewBoard

 Thanks,
 Roshan Pius

 On Wed, Sep 16, 2009 at 1:35 PM, Christian Hammond chip...@chipx86.comwrote:



  Hi everyone,

  We just put out the 1.0.2 release, which contains many bug fixes that users
  have hit, and improved error logging to help diagnose problems. We strongly
  encourage everyone to upgrade, and if you hit any new page crashes, we'll
  probably ask you to upgrade and send us your log file.

  There's a brief news post at
 http://review-board.org/news/2009/09/16/review-board-102-released/

  Full release notes are up at
 http://www.review-board.org/docs/releasenotes/dev/reviewboard/1.0.2/

  As always, we're looking to fill out our page of Happy Users (
 http://review-board.org/users/), so if you use Review Board and can give
  us permission to list you, please let us know!

  Thanks,

  Christian

  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.review-board.org
  VMware, Inc. -http://www.vmware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: Reviewboard taking a nap after 1.0.2 upgrade!

2009-09-16 Thread grimbeaver

Anyone have any help at all on this?  I don't really want to reload
the server because of this.  I'm using Ubuntu 8.0(4) LTS and have
tried getting the latest updates for all the packages.

On Sep 16, 10:43 am, grimbeaver tbrez...@gmail.com wrote:
 Ok this is really not good, after upgrading to 1.0.2 I get the
 following error and reviewboard won't load.  Someone please help.

 [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137] mod_python
 (pid=5369, interpreter='reviewboard_reviewboard',
 phase='PythonHandler', handler='django.core.handlers.modpython'):
 Application error
 [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137] ServerName:
 'reviewboard.xxx.xxx'
 [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137] DocumentRoot:
 '/var/www/reviewboard/htdocs'
 [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137] URI: '/'
 [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137] Location: '/'
 [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137] Directory:
 None
 [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137] Filename: '/
 var/www/reviewboard/htdocs/'
 [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137] PathInfo: ''
 [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137] Traceback
 (most recent call last):
 [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137]   File /usr/
 lib/python2.5/site-packages/mod_python/importer.py, line 1537, in
 HandlerDispatch\n    default=default_handler, arg=req,
 silent=hlist.silent)
 [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137]   File /usr/
 lib/python2.5/site-packages/mod_python/importer.py, line 1229, in
 _process_target\n    result = _execute_target(config, req, object,
 arg)
 [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137]   File /usr/
 lib/python2.5/site-packages/mod_python/importer.py, line 1128, in
 _execute_target\n    result = object(arg)
 [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137]   File /usr/
 lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/core/
 handlers/modpython.py, line 228, in handler\n    return
 ModPythonHandler()(req)
 [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137]   File /usr/
 lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/core/
 handlers/modpython.py, line 191, in __call__\n    self.load_middleware
 ()
 [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137]   File /usr/
 lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/core/
 handlers/base.py, line 40, in load_middleware\n    raise
 exceptions.ImproperlyConfigured, 'Error importing middleware %s: %s'
 % (mw_module, e)
 [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137]
 ImproperlyConfigured: Error importing middleware
 reviewboard.admin.middleware: cannot import name parse_backend_uri
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: Reviewboard taking a nap after 1.0.2 upgrade!

2009-09-16 Thread grimbeaver

Thank you, thank you so much.

I removed:
/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg

Then when I ran easy_setup again it downloaded Django 1.1 instead and
everything works fine.

On Sep 16, 12:31 pm, David Trowbridge trowb...@gmail.com wrote:
 It looks like maybe Django got installed wrong? Can you remove the egg
 directory and try reinstalling it?

 -David



 On Wed, Sep 16, 2009 at 10:02 AM, grimbeaver tbrez...@gmail.com wrote:

  Anyone have any help at all on this?  I don't really want to reload
  the server because of this.  I'm using Ubuntu 8.0(4) LTS and have
  tried getting the latest updates for all the packages.

  On Sep 16, 10:43 am, grimbeaver tbrez...@gmail.com wrote:
  Ok this is really not good, after upgrading to 1.0.2 I get the
  following error and reviewboard won't load.  Someone please help.

  [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137] mod_python
  (pid=5369, interpreter='reviewboard_reviewboard',
  phase='PythonHandler', handler='django.core.handlers.modpython'):
  Application error
  [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137] ServerName:
  'reviewboard.xxx.xxx'
  [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137] DocumentRoot:
  '/var/www/reviewboard/htdocs'
  [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137] URI: '/'
  [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137] Location: '/'
  [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137] Directory:
  None
  [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137] Filename: '/
  var/www/reviewboard/htdocs/'
  [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137] PathInfo: ''
  [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137] Traceback
  (most recent call last):
  [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137]   File /usr/
  lib/python2.5/site-packages/mod_python/importer.py, line 1537, in
  HandlerDispatch\n    default=default_handler, arg=req,
  silent=hlist.silent)
  [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137]   File /usr/
  lib/python2.5/site-packages/mod_python/importer.py, line 1229, in
  _process_target\n    result = _execute_target(config, req, object,
  arg)
  [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137]   File /usr/
  lib/python2.5/site-packages/mod_python/importer.py, line 1128, in
  _execute_target\n    result = object(arg)
  [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137]   File /usr/
  lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/core/
  handlers/modpython.py, line 228, in handler\n    return
  ModPythonHandler()(req)
  [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137]   File /usr/
  lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/core/
  handlers/modpython.py, line 191, in __call__\n    self.load_middleware
  ()
  [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137]   File /usr/
  lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/core/
  handlers/base.py, line 40, in load_middleware\n    raise
  exceptions.ImproperlyConfigured, 'Error importing middleware %s: %s'
  % (mw_module, e)
  [Wed Sep 16 08:35:19 2009] [error] [client 10.10.10.137]
  ImproperlyConfigured: Error importing middleware
  reviewboard.admin.middleware: cannot import name parse_backend_uri
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: Email Settings

2009-08-28 Thread grimbeaver

I already asked about this once before.  The e-mails always come from
the address of the person who performed the action.  I've already
opened an enhancement request a while ago to have them come from a
single static address.

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

On Aug 28, 2:08 am, dartarrow dartar...@gmail.com wrote:
 Hey,

 how do i set the FROM email address?
 I have exim4 setup on my localhost which send the email from
 webmas...@localhost

 I would like to change that to something like
 reviewbo...@mycompany.com

 Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: email not working

2009-07-20 Thread grimbeaver

I would test smtp via telnet from the review board server.  Try
sending mail that way.  Many companies may restrict use of smtp to
certain hosts to avoid it being used for spam.

http://www.messagingtalk.org/content/470.html

On Jul 20, 3:35 am, chris ch...@thebayleys.net wrote:
 Thanks for your reply Christian

 The mail server concerned is the company's central mail server and it
 cooperates well with 'Trac'  when trac is configured with no more than
 the server's ip:port

 When you say configured correctly do you mean that there is any greater
 requirement than smtp on 25 ?

 I have no administration over that server but I do have an exim instance
 that I could test against.

 Is there no logging at all of email activity/connections etc within the
 RB/django logging subsystems ?

 Thanks and Kind regards,
 Chris BAYLEY




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



e-mail notifications from address

2009-07-15 Thread grimbeaver

I'm sure this has been asked before but I can not seem to find it.  Is
there any way to set the FROM address the e-mail notificaitons use to
a specific address instead of it getting set to the TO address?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: e-mail notifications from address

2009-07-15 Thread grimbeaver

Yes that is what happens.  However it would be nice to have them come
from a general address to make them easier to sort out in the inbox.

On Jul 15, 4:20 pm, Manny Rodriques manny.rodriq...@gmail.com wrote:
 Hi grimbeaver,

    From my experience the emails should be coming from the person that
 perform the update to the review.  So, if you made the change to the review
 then the email should come from you.  If personA made an update, then the
 email comes from personA.



 On Wed, Jul 15, 2009 at 5:13 PM, grimbeaver tbrez...@gmail.com wrote:

  I'm sure this has been asked before but I can not seem to find it.  Is
  there any way to set the FROM address the e-mail notificaitons use to
  a specific address instead of it getting set to the TO address?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: e-mail notifications from address

2009-07-15 Thread grimbeaver

Enhancement opened...

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

Come to think of it something like this might help people who's e-mail
servers do not like the TO and FROM being identical.

On Jul 15, 7:08 pm, Christian Hammond chip...@chipx86.com wrote:
 This can perhaps be done in a future release. I don't recall if there's a
 bug filed on this or not, but it would be worth looking and filing.

 Christian

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



 On Wed, Jul 15, 2009 at 4:25 PM, grimbeaver tbrez...@gmail.com wrote:

  Yes that is what happens.  However it would be nice to have them come
  from a general address to make them easier to sort out in the inbox.

  On Jul 15, 4:20 pm, Manny Rodriques manny.rodriq...@gmail.com wrote:
   Hi grimbeaver,

      From my experience the emails should be coming from the person that
   perform the update to the review.  So, if you made the change to the
  review
   then the email should come from you.  If personA made an update, then the
   email comes from personA.

   On Wed, Jul 15, 2009 at 5:13 PM, grimbeaver tbrez...@gmail.com wrote:

I'm sure this has been asked before but I can not seem to find it.  Is
there any way to set the FROM address the e-mail notificaitons use to
a specific address instead of it getting set to the TO address?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: Enable Search?

2009-06-30 Thread grimbeaver

That did the trick.  Thanks.

On Jun 29, 4:15 pm, Christian Hammond chip...@chipx86.com wrote:
 You need to run a command periodically to update the search index, through a
 scheduled task. Specifically:

     rb-site manage /path/to/site index -- --full

 (Note the -- in there. It's important.)

 Christian

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



 On Mon, Jun 29, 2009 at 6:41 AM, grimbeaver tbrez...@gmail.com wrote:

  Seems it's throwing an exception because the search indexes do not
  exist.  What creates these files?  The folder gets created when I
  enable search but there are never any files in it.  Did I miss a step?

  Environment:

  Request Method: GET
  Request URL:http://10.10.10.97/r/search/
  Django Version: 1.0.2 final
  Python Version: 2.6.2
  Installed Applications:
  ['django.contrib.admin',
   'django.contrib.auth',
   'django.contrib.contenttypes',
   'django.contrib.markup',
   'django.contrib.sites',
   'django.contrib.sessions',
   'djblets.datagrid',
   'djblets.feedview',
   'djblets.siteconfig',
   'djblets.util',
   'djblets.webapi',
   'reviewboard.accounts',
   'reviewboard.admin',
   'reviewboard.changedescs',
   'reviewboard.diffviewer',
   'reviewboard.iphone',
   'reviewboard.reports',
   'reviewboard.reviews',
   'reviewboard.scmtools',
   'reviewboard.webapi',
   'django_evolution']
  Installed Middleware:
  ('django.middleware.gzip.GZipMiddleware',
   'django.middleware.common.CommonMiddleware',
   'django.middleware.doc.XViewMiddleware',
   'django.middleware.http.ConditionalGetMiddleware',
   'django.middleware.locale.LocaleMiddleware',
   'django.contrib.sessions.middleware.SessionMiddleware',
   'django.contrib.auth.middleware.AuthenticationMiddleware',
   'djblets.siteconfig.middleware.SettingsMiddleware',
   'reviewboard.admin.middleware.LoadSettingsMiddleware',
   'djblets.log.middleware.LoggingMiddleware',
   'reviewboard.admin.middleware.CheckUpdatesRequiredMiddleware')

  Traceback:
  File /usr/local/lib/python2.6/dist-packages/Django-1.0.2_final-
  py2.6.egg/django/core/handlers/base.py in get_response
   86.                 response = callback(request, *callback_args,
  **callback_kwargs)
  File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0-py2.6.egg/
  reviewboard/reviews/views.py in search
   743.         raise e

  Exception Type: JavaError at /r/search/
  Exception Value: java.io.FileNotFoundException: no segments* file
  found in org.apache.lucene.store.FSDirectory@/tmp/rbsearch_index:
  files:

  On Jun 26, 3:51 pm, Christian Hammond chip...@chipx86.com wrote:
   If you set DEBUG = True in your site's conf/settings_local.py and restart
   Apache, you should be able to get more debug information for the 500.

   Christian

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

   On Fri, Jun 26, 2009 at 6:58 AM, grimbeaver tbrez...@gmail.com wrote:

I removed the packages for PyLucene and JCC.  I downloaded and built
the source.  I can enable search now.  However when I try to use it I
get an Error 500 and the directory for the index gets created but is
empty.  Starting to think about giving up on search for now.

On Jun 26, 8:03 am, grimbeaver tbrez...@gmail.com wrote:
 Thanks.  That answers what's wrong.  The PyLucene package in Ubuntu
 9.04 is built against Python 2.5 (http://packages.ubuntu.com/jaunty/
 pylucene).  But mod_python is built using Python 2.6 (http://
 packages.ubuntu.com/jaunty/libapache2-mod-python).  So much for the
 idea of using Ubuntu 9.04 to avoid manually building PyLucene.
 Guessing there's no way around this.

 On Jun 26, 1:39 am, Christian Hammond chip...@chipx86.com wrote:

  Hi,

  Run python, and type:

      import lucene

  That's basically the entire check we use for search. If that fails,
then
  PyLucene isn't properly installed.

  Also make sure the version of Python that's being used to run
  Review
Board
  matches the version used to install PyLucene.

  Christian

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

  On Thu, Jun 25, 2009 at 11:22 AM, grimbeaver tbrez...@gmail.com
wrote:

   I've just installed on Ubuntu 9.04.  Everything is working great,
   included AD.  But I can not get it to allow me to enable search.
 I've
   installed the packages for PyLucene and JCC via APT.  Anyone know
what
   I might be missing?  Where would I look for an error to give me a
clue?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email

Re: Enable Search?

2009-06-26 Thread grimbeaver

Thanks.  That answers what's wrong.  The PyLucene package in Ubuntu
9.04 is built against Python 2.5 (http://packages.ubuntu.com/jaunty/
pylucene).  But mod_python is built using Python 2.6 (http://
packages.ubuntu.com/jaunty/libapache2-mod-python).  So much for the
idea of using Ubuntu 9.04 to avoid manually building PyLucene.
Guessing there's no way around this.

On Jun 26, 1:39 am, Christian Hammond chip...@chipx86.com wrote:
 Hi,

 Run python, and type:

     import lucene

 That's basically the entire check we use for search. If that fails, then
 PyLucene isn't properly installed.

 Also make sure the version of Python that's being used to run Review Board
 matches the version used to install PyLucene.

 Christian

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



 On Thu, Jun 25, 2009 at 11:22 AM, grimbeaver tbrez...@gmail.com wrote:

  I've just installed on Ubuntu 9.04.  Everything is working great,
  included AD.  But I can not get it to allow me to enable search.  I've
  installed the packages for PyLucene and JCC via APT.  Anyone know what
  I might be missing?  Where would I look for an error to give me a clue?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: rb-site install - Review Board is taking a nap

2009-06-25 Thread grimbeaver

Not sure about what you are seeing in the logs because I did not look
at my logs.  But I was getting that error when SELinux was enabled.
Try turning off SELinux.

On Jun 25, 12:34 pm, Eric P eric.maill...@gmail.com wrote:
 Hi (me again),

 I have all my dependency issues sorted, and I've installed my first
 Review Board site per the documentation.

 When I go to visit the site, I see the 'Review Board is taking a nap'
 dialog box.

 In my Apache error_log, I see some errors:

 [error] [client 127.0.0.1] mod_python (pid=3617,
 interpreter='reviewboard_reviews_mysite_com', phase='PythonHandler',
 handler='django.core.handlers.modpython'): Application error
 ...
 [error] [client 127.0.0.1] Traceback (most recent call last):
 [Thu Jun 25 09:51:56 2009] [error] [client 127.0.0.1]   File
 /usr/lib/python2.6/site-packages/mod_python/importer.py, line 1537,
 in HandlerDispatch\n    default=default_handler, arg=req,
 silent=hlist.silent)
 ...
 [error] [client 127.0.0.1] OperationalError: attempt to write a
 readonly database

 FYI. Here are the params I used to set up the site.

 rb-site install reviews.mysite.com \
 --domain-name=reviews.mysite.com \
 --site-root=/ \
 --media-url=/media \
 --db-type=sqlite3 \
 --cache-type=memcached \
 --cache-info=memcached://localhost:11211/ \
 --web-server-type=apache \
 --python-loader=modpython

 I'm not sure what to make of those errors.   It looks like there are a
 couple issues.

 Anyway, thanks for reading.
 Eric P

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---