Re: Add Repository UI Dropdown list for Repository Type empty

2012-06-11 Thread Christian Hammond
Can you try running:

$ rb-site manage /path/to/site/dir shell
 from reviewboard.scmtools.models import Tool
 Tool.objects.all()

And paste the results?

Christian

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


On Mon, Jun 11, 2012 at 2:34 AM, Dan Miller email.mille...@gmail.comwrote:

 Restarted the webserver and nothing changed there.  No Javascript
 errors are coming in the UI

 In Authentication I see:

 Standard Registration
 Active Directory
 LDAP
 NIS
 X.509 Public Key
 Legacy Authentication Module

 Dan

 On Jun 7, 9:42 pm, Christian Hammond chip...@chipx86.com wrote:
  You shouldn't need to reinstall or anything if you fix PySVN. Maybe just
  restart the web server.
 
  The JavaScript errors would be in your browser when you reach the page.
  It's possible that's causing it, but my guess would be it's some issue
 with
  how what's called Python entrypoints are registered.
 
  Actually, let's check that. Can you also go into the Authentication
  Settings and see if NIS, LDAP, and ActiveDirectory are options?
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.reviewboard.org
  VMware, Inc. -http://www.vmware.com
 
 
 
  On Thu, Jun 7, 2012 at 4:49 AM, Dan Miller email.mille...@gmail.com
 wrote:
   Understood about OEL support.  I kind of assumed it would work the
   same as RHEL but that might be true
 
   Where can I check for the JavaScript errors?  I don't remember seeing
   any during installation, were they logged anywhere?
 
   I installed RB 1.6.7.1.
 
   I thought I may have messed up the pysvn installation part.  Assuming
   I have corrected it now, do I just need to create a new ReviewBoard
   site via rb-site install /var/www/newsite?  Would that populate the
   dropdown list correctly?
 
   Dan
 
   On Jun 6, 1:53 pm, Christian Hammond chip...@chipx86.com wrote:
Hi Dan,
 
This sounds like the installation once again partially failed. The
 list
   of
repository types is populated during install, and should be
 available in
that dropdown, but that may not be happening.
 
Just to check, can you see if there are any JavaScript errors? If
 not,
   then
it was the installation.
 
I should point out that we don't officially support Oracle
 Enterprise.
Given your previous e-mail and this one, it sounds like there may be
 some
issues...
 
What version of Review Board did you install?
 
Christian
 
--
Christian Hammond - chip...@chipx86.com
Review Board -http://www.reviewboard.org
VMware, Inc. -http://www.vmware.com
 
On Wed, Jun 6, 2012 at 10:08 AM, Dan Miller 
 email.mille...@gmail.com
   wrote:
 
 So I gave up on my previous installation that just wasn't
 returning my
 web requests.  No idea what was going on there, but I switched to a
 new machine running Oracle Enterprise Linux 5 this time.
 
 I have RB up now and the web requests are working fine.  My problem
 now is that when I go to setup my source control repository the Add
 repository page has a blank Repository Type dropdown list.
 
 I'm using subversion so my guess is that there is some problem
 with my
 pysvn installation.  I wasn't able to find an rpm package for my
 distro so I built it manually.  I downloaded 1.7.6 from
http://pysvn.tigris.org/project_downloads.htmlandfollowed the
 instructions there.  The tests that I built seem to work so I'm not
 sure what could be wrong.
 
 Does anyone have ideas about how I can troubleshoot this.  Am I on
 the
 right track that it's my pysvn installation that is the problem or
 is
 there some other cause of having an empty dropdown list there?
 
 Thanks!
 
 Dan
 
 --
 Want to help the Review Board project? Donate today at
http://www.reviewboard.org/donate/
 Happy user? Let us know athttp://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group at
http://groups.google.com/group/reviewboard?hl=en-Hide quoted text -
 
- Show quoted text -
 
   --
   Want to help the Review Board project? Donate today at
  http://www.reviewboard.org/donate/
   Happy user? Let us know athttp://www.reviewboard.org/users/
   -~--~~~~--~~--~--~---
   To unsubscribe from this group, send email to
   reviewboard+unsubscr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/reviewboard?hl=en

 --
 Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to
 reviewboard+unsubscr...@googlegroups.com
 For more 

Re: Add Repository UI Dropdown list for Repository Type empty

2012-06-11 Thread Chris Tooley
Be sure to check the permissions on /usr/python2.X/lib directories
where the python libraries installed. (replace X with python versions,
ie: 4, 6). On RHEL using easy_install means that everything gets
installed as the user you run easy_install as. If you do what 99% of
people do when using RHEL(OEL) and run Apache HTTPD as a service, you
probably installed those as root. For me that means they get put into
place with root as the owner and group and 700 as the permissions.
Hence, the apache user can't read or execute anything.

On Mon, Jun 11, 2012 at 5:23 AM, Christian Hammond chip...@chipx86.com wrote:
 Can you try running:

     $ rb-site manage /path/to/site/dir shell
      from reviewboard.scmtools.models import Tool
      Tool.objects.all()

 And paste the results?

 Christian

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


 On Mon, Jun 11, 2012 at 2:34 AM, Dan Miller email.mille...@gmail.com
 wrote:

 Restarted the webserver and nothing changed there.  No Javascript
 errors are coming in the UI

 In Authentication I see:

 Standard Registration
 Active Directory
 LDAP
 NIS
 X.509 Public Key
 Legacy Authentication Module

 Dan

 On Jun 7, 9:42 pm, Christian Hammond chip...@chipx86.com wrote:
  You shouldn't need to reinstall or anything if you fix PySVN. Maybe just
  restart the web server.
 
  The JavaScript errors would be in your browser when you reach the page.
  It's possible that's causing it, but my guess would be it's some issue
  with
  how what's called Python entrypoints are registered.
 
  Actually, let's check that. Can you also go into the Authentication
  Settings and see if NIS, LDAP, and ActiveDirectory are options?
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.reviewboard.org
  VMware, Inc. -http://www.vmware.com
 
 
 
  On Thu, Jun 7, 2012 at 4:49 AM, Dan Miller email.mille...@gmail.com
  wrote:
   Understood about OEL support.  I kind of assumed it would work the
   same as RHEL but that might be true
 
   Where can I check for the JavaScript errors?  I don't remember seeing
   any during installation, were they logged anywhere?
 
   I installed RB 1.6.7.1.
 
   I thought I may have messed up the pysvn installation part.  Assuming
   I have corrected it now, do I just need to create a new ReviewBoard
   site via rb-site install /var/www/newsite?  Would that populate the
   dropdown list correctly?
 
   Dan
 
   On Jun 6, 1:53 pm, Christian Hammond chip...@chipx86.com wrote:
Hi Dan,
 
This sounds like the installation once again partially failed. The
list
   of
repository types is populated during install, and should be
available in
that dropdown, but that may not be happening.
 
Just to check, can you see if there are any JavaScript errors? If
not,
   then
it was the installation.
 
I should point out that we don't officially support Oracle
Enterprise.
Given your previous e-mail and this one, it sounds like there may be
some
issues...
 
What version of Review Board did you install?
 
Christian
 
--
Christian Hammond - chip...@chipx86.com
Review Board -http://www.reviewboard.org
VMware, Inc. -http://www.vmware.com
 
On Wed, Jun 6, 2012 at 10:08 AM, Dan Miller
email.mille...@gmail.com
   wrote:
 
 So I gave up on my previous installation that just wasn't
 returning my
 web requests.  No idea what was going on there, but I switched to
 a
 new machine running Oracle Enterprise Linux 5 this time.
 
 I have RB up now and the web requests are working fine.  My
 problem
 now is that when I go to setup my source control repository the
 Add
 repository page has a blank Repository Type dropdown list.
 
 I'm using subversion so my guess is that there is some problem
 with my
 pysvn installation.  I wasn't able to find an rpm package for my
 distro so I built it manually.  I downloaded 1.7.6 from
http://pysvn.tigris.org/project_downloads.htmlandfollowed the
 instructions there.  The tests that I built seem to work so I'm
 not
 sure what could be wrong.
 
 Does anyone have ideas about how I can troubleshoot this.  Am I on
 the
 right track that it's my pysvn installation that is the problem or
 is
 there some other cause of having an empty dropdown list there?
 
 Thanks!
 
 Dan
 
 --
 Want to help the Review Board project? Donate today at
http://www.reviewboard.org/donate/
 Happy user? Let us know athttp://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group at
http://groups.google.com/group/reviewboard?hl=en-Hide quoted text -
 
- Show quoted text -
 
   --
   Want to help the Review Board 

Re: Add Repository UI Dropdown list for Repository Type empty

2012-06-11 Thread Dan Miller
# rb-site manage /var/www/reviews/ shell
Python 2.4.3 (#1, Feb 24 2012, 13:04:26)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
Type help, copyright, credits or license for more information.
(InteractiveConsole)
 from reviewboard.scmtools.models import Tool
 Tool.objects.all()
[]



Regarding Chris Tooley's comment:

I had to manually install the pysvn package, and I put the files I
built at the following:
drwxr-xr-x 2 root root 4096 Jun  6 07:24 /usr/lib/python2.4/site-
packages/pysvn

I did make it owned by root but I think it should be accessible to the
apache user

The files I put inside the directory are:

-rw-r--r--  1 root root   12219 Jun  6 07:24 __init__.py
-rw-r--r--  1 root root   15044 Jun  6 07:24 __init__.pyc
-rwxr-xr-x  1 root root 2806058 Jun  6 07:24 _pysvn_2_4.so

Dan

On Jun 11, 5:23 am, Christian Hammond chip...@chipx86.com wrote:
 Can you try running:

     $ rb-site manage /path/to/site/dir shell
      from reviewboard.scmtools.models import Tool
      Tool.objects.all()

 And paste the results?

 Christian

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

 On Mon, Jun 11, 2012 at 2:34 AM, Dan Miller email.mille...@gmail.comwrote:



  Restarted the webserver and nothing changed there.  No Javascript
  errors are coming in the UI

  In Authentication I see:

  Standard Registration
  Active Directory
  LDAP
  NIS
  X.509 Public Key
  Legacy Authentication Module

  Dan

  On Jun 7, 9:42 pm, Christian Hammond chip...@chipx86.com wrote:
   You shouldn't need to reinstall or anything if you fix PySVN. Maybe just
   restart the web server.

   The JavaScript errors would be in your browser when you reach the page.
   It's possible that's causing it, but my guess would be it's some issue
  with
   how what's called Python entrypoints are registered.

   Actually, let's check that. Can you also go into the Authentication
   Settings and see if NIS, LDAP, and ActiveDirectory are options?

   Christian

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

   On Thu, Jun 7, 2012 at 4:49 AM, Dan Miller email.mille...@gmail.com
  wrote:
Understood about OEL support.  I kind of assumed it would work the
same as RHEL but that might be true

Where can I check for the JavaScript errors?  I don't remember seeing
any during installation, were they logged anywhere?

I installed RB 1.6.7.1.

I thought I may have messed up the pysvn installation part.  Assuming
I have corrected it now, do I just need to create a new ReviewBoard
site via rb-site install /var/www/newsite?  Would that populate the
dropdown list correctly?

Dan

On Jun 6, 1:53 pm, Christian Hammond chip...@chipx86.com wrote:
 Hi Dan,

 This sounds like the installation once again partially failed. The
  list
of
 repository types is populated during install, and should be
  available in
 that dropdown, but that may not be happening.

 Just to check, can you see if there are any JavaScript errors? If
  not,
then
 it was the installation.

 I should point out that we don't officially support Oracle
  Enterprise.
 Given your previous e-mail and this one, it sounds like there may be
  some
 issues...

 What version of Review Board did you install?

 Christian

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

 On Wed, Jun 6, 2012 at 10:08 AM, Dan Miller 
  email.mille...@gmail.com
wrote:

  So I gave up on my previous installation that just wasn't
  returning my
  web requests.  No idea what was going on there, but I switched to a
  new machine running Oracle Enterprise Linux 5 this time.

  I have RB up now and the web requests are working fine.  My problem
  now is that when I go to setup my source control repository the Add
  repository page has a blank Repository Type dropdown list.

  I'm using subversion so my guess is that there is some problem
  with my
  pysvn installation.  I wasn't able to find an rpm package for my
  distro so I built it manually.  I downloaded 1.7.6 from
 http://pysvn.tigris.org/project_downloads.htmlandfollowedthe
  instructions there.  The tests that I built seem to work so I'm not
  sure what could be wrong.

  Does anyone have ideas about how I can troubleshoot this.  Am I on
  the
  right track that it's my pysvn installation that is the problem or
  is
  there some other cause of having an empty dropdown list there?

  Thanks!

  Dan

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

Re: Add Repository UI Dropdown list for Repository Type empty

2012-06-11 Thread Christian Hammond
It looks like either there was a problem syncing the database initially or the 
database was wiped. Assuming you don't have anything of value in there yet, try 
nuking the database and starting over.

Pay close attention to any errors shown in the terminal during rb-site install.

Christian



On Jun 11, 2012, at 7:48, Dan Miller email.mille...@gmail.com wrote:

 # rb-site manage /var/www/reviews/ shell
 Python 2.4.3 (#1, Feb 24 2012, 13:04:26)
 [GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
 Type help, copyright, credits or license for more information.
 (InteractiveConsole)
 from reviewboard.scmtools.models import Tool
 Tool.objects.all()
 []
 
 
 
 Regarding Chris Tooley's comment:
 
 I had to manually install the pysvn package, and I put the files I
 built at the following:
 drwxr-xr-x 2 root root 4096 Jun  6 07:24 /usr/lib/python2.4/site-
 packages/pysvn
 
 I did make it owned by root but I think it should be accessible to the
 apache user
 
 The files I put inside the directory are:
 
 -rw-r--r--  1 root root   12219 Jun  6 07:24 __init__.py
 -rw-r--r--  1 root root   15044 Jun  6 07:24 __init__.pyc
 -rwxr-xr-x  1 root root 2806058 Jun  6 07:24 _pysvn_2_4.so
 
 Dan
 
 On Jun 11, 5:23 am, Christian Hammond chip...@chipx86.com wrote:
 Can you try running:
 
 $ rb-site manage /path/to/site/dir shell
  from reviewboard.scmtools.models import Tool
  Tool.objects.all()
 
 And paste the results?
 
 Christian
 
 --
 Christian Hammond - chip...@chipx86.com
 Review Board -http://www.reviewboard.org
 VMware, Inc. -http://www.vmware.com
 
 On Mon, Jun 11, 2012 at 2:34 AM, Dan Miller email.mille...@gmail.comwrote:
 
 
 
 Restarted the webserver and nothing changed there.  No Javascript
 errors are coming in the UI
 
 In Authentication I see:
 
 Standard Registration
 Active Directory
 LDAP
 NIS
 X.509 Public Key
 Legacy Authentication Module
 
 Dan
 
 On Jun 7, 9:42 pm, Christian Hammond chip...@chipx86.com wrote:
 You shouldn't need to reinstall or anything if you fix PySVN. Maybe just
 restart the web server.
 
 The JavaScript errors would be in your browser when you reach the page.
 It's possible that's causing it, but my guess would be it's some issue
 with
 how what's called Python entrypoints are registered.
 
 Actually, let's check that. Can you also go into the Authentication
 Settings and see if NIS, LDAP, and ActiveDirectory are options?
 
 Christian
 
 --
 Christian Hammond - chip...@chipx86.com
 Review Board -http://www.reviewboard.org
 VMware, Inc. -http://www.vmware.com
 
 On Thu, Jun 7, 2012 at 4:49 AM, Dan Miller email.mille...@gmail.com
 wrote:
 Understood about OEL support.  I kind of assumed it would work the
 same as RHEL but that might be true
 
 Where can I check for the JavaScript errors?  I don't remember seeing
 any during installation, were they logged anywhere?
 
 I installed RB 1.6.7.1.
 
 I thought I may have messed up the pysvn installation part.  Assuming
 I have corrected it now, do I just need to create a new ReviewBoard
 site via rb-site install /var/www/newsite?  Would that populate the
 dropdown list correctly?
 
 Dan
 
 On Jun 6, 1:53 pm, Christian Hammond chip...@chipx86.com wrote:
 Hi Dan,
 
 This sounds like the installation once again partially failed. The
 list
 of
 repository types is populated during install, and should be
 available in
 that dropdown, but that may not be happening.
 
 Just to check, can you see if there are any JavaScript errors? If
 not,
 then
 it was the installation.
 
 I should point out that we don't officially support Oracle
 Enterprise.
 Given your previous e-mail and this one, it sounds like there may be
 some
 issues...
 
 What version of Review Board did you install?
 
 Christian
 
 --
 Christian Hammond - chip...@chipx86.com
 Review Board -http://www.reviewboard.org
 VMware, Inc. -http://www.vmware.com
 
 On Wed, Jun 6, 2012 at 10:08 AM, Dan Miller 
 email.mille...@gmail.com
 wrote:
 
 So I gave up on my previous installation that just wasn't
 returning my
 web requests.  No idea what was going on there, but I switched to a
 new machine running Oracle Enterprise Linux 5 this time.
 
 I have RB up now and the web requests are working fine.  My problem
 now is that when I go to setup my source control repository the Add
 repository page has a blank Repository Type dropdown list.
 
 I'm using subversion so my guess is that there is some problem
 with my
 pysvn installation.  I wasn't able to find an rpm package for my
 distro so I built it manually.  I downloaded 1.7.6 from
 http://pysvn.tigris.org/project_downloads.htmlandfollowedthe
 instructions there.  The tests that I built seem to work so I'm not
 sure what could be wrong.
 
 Does anyone have ideas about how I can troubleshoot this.  Am I on
 the
 right track that it's my pysvn installation that is the problem or
 is
 there some other cause of having an empty dropdown list there?
 
 Thanks!
 
 Dan
 
 --
 Want to help the Review Board project? Donate today at
 

Re: Issue 2187 in reviewboard: Add user of who closed review request

2012-06-11 Thread reviewboard

Updates:
Labels: -Milestone-Release1.8 Milestone-Release1.7

Comment #6 on issue 2187 by chip...@gmail.com: Add user of who closed  
review request

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

(No comment was entered for this change.)

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