Uploading Diff for ClearCase files using the GUI

2012-06-07 Thread Sanjay Lal
Hi,
I am using ClearCase as repository (we are on review Board 1.6). I am
on th enew Review screen and trying to upload the diff file. But I
am getting error

The selected file does not appear to be a diff.


here are the values i have entered on th eGUI -

Repository: selected the ClearCase repository The clearcase setup is
OK and
Review Board is abel to access clearcase files.
Base Directory: /view/anujdas_oc4.6_patchset_view/vobs/tms
Diff:  Diff1.txt this is the diff file i have generated manually
using cleartool diff command and redirected the output to Diff1.txt
file.

I am sure I might be doing somethign wrong here.
Could you please let me know what is expected in the Diff: box .
I am using review board GUI.

Thanks in advamce for your help!
sanjay

-- 
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: Uploading Diff for ClearCase files using the GUI

2012-06-07 Thread Sanjay Lal
Thanks. I have installed RBTools now and trying following command, but
getting some errors. Wondering if I am doing anythign wrong -

[root@burhs40001v mvfs_src]# post-review --revision-range=/view/
anujdas_oc4.6_patchset_view/vobs/tms/label_exclusions.txt@@/main/3@@/
view/anujdas_oc4.6_patchset_view/vobs/tms/label_exclusions.txt@@/main/
2
Traceback (most recent call last):
  File /usr/bin/post-review, line 7, in ?
sys.exit(
  File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
pkg_resources.py, line 318, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
  File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
pkg_resources.py, line 2221, in load_entry_point
return ep.load()
  File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
pkg_resources.py, line 1954, in load
entry = __import__(self.module_name, globals(),globals(),
['__name__'])
  File /usr/lib/python2.4/site-packages/RBTools-0.4.1-py2.4.egg/
rbtools/postreview.py, line 27, in ?
  File /usr/lib/python2.4/site-packages/simplejson-2.5.2-py2.4-linux-
x86_64.egg/simplejson/__init__.py, line 112, in ?
from encoder import JSONEncoder
  File /usr/lib/python2.4/site-packages/simplejson-2.5.2-py2.4-linux-
x86_64.egg/simplejson/encoder.py, line 400
if (not _bigint_as_string or
 ^





On Jun 7, 3:55 pm, Christian Hammond chip...@chipx86.com wrote:
 I recommend you use our post-review tool, which should ensure a properly
 formatted diff that Review Board can use.

 You'll currently need a Python installation for this. 
 Seehttp://www.reviewboard.org/docs/manual/dev/users/tools/post-review/

 Christian

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







 On Thu, Jun 7, 2012 at 12:17 PM, Sanjay Lal sklqui...@gmail.com wrote:
  Hi,
  I am using ClearCase as repository (we are on review Board 1.6). I am
  on th enew Review screen and trying to upload the diff file. But I
  am getting error

     The selected file does not appear to be a diff.

  here are the values i have entered on th eGUI -

  Repository: selected the ClearCase repository The clearcase setup is
  OK and
  Review Board is abel to access clearcase files.
  Base Directory: /view/anujdas_oc4.6_patchset_view/vobs/tms
  Diff:  Diff1.txt this is the diff file i have generated manually
  using cleartool diff command and redirected the output to Diff1.txt
  file.

  I am sure I might be doing somethign wrong here.
  Could you please let me know what is expected in the Diff: box .
  I am using review board GUI.

  Thanks in advamce for your help!
  sanjay

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

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


Re: Uploading Diff for ClearCase files using the GUI

2012-06-07 Thread Sanjay Lal
BTW the python version is - Python 2.4.3

in am new to python, so sorry in case my above question is a dumb
question.
Any help to move forward will be really appreciated.

thanks



On Jun 7, 4:06 pm, Sanjay Lal sklqui...@gmail.com wrote:
 Thanks. I have installed RBTools now and trying following command, but
 getting some errors. Wondering if I am doing anythign wrong -

 [root@burhs40001v mvfs_src]# post-review --revision-range=/view/
 anujdas_oc4.6_patchset_view/vobs/tms/label_exclusions.txt@@/main/3@@/
 view/anujdas_oc4.6_patchset_view/vobs/tms/label_exclusions.txt@@/main/
 2
 Traceback (most recent call last):
   File /usr/bin/post-review, line 7, in ?
     sys.exit(
   File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
 pkg_resources.py, line 318, in load_entry_point
     return get_distribution(dist).load_entry_point(group, name)
   File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
 pkg_resources.py, line 2221, in load_entry_point
     return ep.load()
   File /usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/
 pkg_resources.py, line 1954, in load
     entry = __import__(self.module_name, globals(),globals(),
 ['__name__'])
   File /usr/lib/python2.4/site-packages/RBTools-0.4.1-py2.4.egg/
 rbtools/postreview.py, line 27, in ?
   File /usr/lib/python2.4/site-packages/simplejson-2.5.2-py2.4-linux-
 x86_64.egg/simplejson/__init__.py, line 112, in ?
     from encoder import JSONEncoder
   File /usr/lib/python2.4/site-packages/simplejson-2.5.2-py2.4-linux-
 x86_64.egg/simplejson/encoder.py, line 400
     if (not _bigint_as_string or
      ^

 On Jun 7, 3:55 pm, Christian Hammond chip...@chipx86.com wrote:







  I recommend you use our post-review tool, which should ensure a properly
  formatted diff that Review Board can use.

  You'll currently need a Python installation for this. 
  Seehttp://www.reviewboard.org/docs/manual/dev/users/tools/post-review/

  Christian

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

  On Thu, Jun 7, 2012 at 12:17 PM, Sanjay Lal sklqui...@gmail.com wrote:
   Hi,
   I am using ClearCase as repository (we are on review Board 1.6). I am
   on th enew Review screen and trying to upload the diff file. But I
   am getting error

      The selected file does not appear to be a diff.

   here are the values i have entered on th eGUI -

   Repository: selected the ClearCase repository The clearcase setup is
   OK and
   Review Board is abel to access clearcase files.
   Base Directory: /view/anujdas_oc4.6_patchset_view/vobs/tms
   Diff:  Diff1.txt this is the diff file i have generated manually
   using cleartool diff command and redirected the output to Diff1.txt
   file.

   I am sure I might be doing somethign wrong here.
   Could you please let me know what is expected in the Diff: box .
   I am using review board GUI.

   Thanks in advamce for your help!
   sanjay

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

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


Can I access the ReviewBoard Database from command line

2012-03-07 Thread Sanjay Lal
Hi,
We are using review board 1.6 with default MySQL database. I have
couple of question about accessing data and reports -
(1) Does review board provide any reporting capabilities? Any built in
report that we can get .
(2) In case no reporting , is there a way we can acces sthe review
board databas thru SQL scripts/commands? If yes, how do I find out the
DB name for connecting to MySQL (any connection string etc). Also is
there any details available about the schema.

Thanks!

sanjay

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


Can I access the ReviewBoard Database from command line

2012-03-07 Thread Sanjay Lal
Hi,
We are using review board 1.6 with default MySQL database. I have
couple of question about accessing data and reports -
(1) Does review board provide any reporting capabilities? Any built in
report that we can get .
(2) In case no reporting , is there a way we can acces sthe review
board databas thru SQL scripts/commands? If yes, how do I find out the
DB name for connecting to MySQL (any connection string etc). Also is
there any details available about the schema.

Thanks!

sanjay

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


Getting Error The executable cleartool is not in the path. while adding ClearCase Repository

2012-02-26 Thread Sanjay Lal
Hi,
I am trying to add a ClearCase vob as a repositoy in Review Board 1.6
and getting the error The executable cleartool is not in the
path. . Any idea where am I supposed to provide the path to
cleartool? In the shell PATH it is already added in PATH. Here are the
details -
RB version - 1.6
OS - RHEL 5.5 (Tikanga)

While adding ClearCase vob, i am using the following value in path - /
dynamic viewname/vobs/vob name.

ClearCase details -
ClearCase version = 7.1
CearCase works fine from command promt

thanks
sanjay





-- 
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: mod_python mandatory for reviewboard 1.6?

2011-10-05 Thread Sanjay Lal
Hi Christian, as suggested I am using http://server.us.oracle.com
and it works.
BTW, a very good product!

On Oct 5, 1:49 pm, Sanjay Lal sklqui...@gmail.com wrote:
 Thanks. My reviewboard install is working fine.

 Thanks all for your help!

 On Sep 21, 2:35 pm, Christian Hammond chip...@chipx86.com wrote:







  It looks like you've set this up for a virtual host install (
  reviews.hsgbu.com) but are accessing it like a subdirectory (sever.
  us.oracle.com). From the looks of it, http://server.us.oracle.com should
  work instead.

  Christian

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

  On Wed, Sep 21, 2011 at 11:32 AM,SanjayLal sklqui...@gmail.com wrote:
   Thanks Anton. These details are very helpful. I am making progress
   now. I am now able to use yum install mod_wsgi. I have enabled the
   mod_wsgi now.
   Now, After restarting http server, I am trying to access reviewboard
   from the URL http://server.us.oracle.com/reviews.hsgbu.com/ but
   geting 404 error. I am sure I am doing somethign wrong.. below is the
   debug info -

   ---
   Page not found (404)
   Request Method:         GET
   Request URL:    http://burhs40001v.us.oracle.com/reviews.hsgbu.com/

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

      ^ ^admin/
      ^ ^media/(?Ppath.*)$
      ^ ^account/
      ^ ^reports/
      ^ ^s/(?Plocal_site_name[A-Za-z0-9\-_.]+)/
      ^ ^$ [name='root']
      ^ ^api/
      ^ ^r/
      ^ ^dashboard/$ [name='dashboard']
      ^ ^users/$ [name='all-users']
      ^ ^users/(?Pusername[A-Za-z0-9@_\-\.]+)/$ [name='user']
      ^ ^users/(?Pusername[A-Za-z0-9@_\-\.]+)/infobox/$ [name='user-
   infobox']
      ^ ^groups/$ [name='all-groups']
      ^ ^groups/(?Pname[A-Za-z0-9_-]+)/$ [name='group']
      ^ ^groups/(?Pname[A-Za-z0-9_-]+)/members/$
   [name='group_members']
      ^ ^account/logout/$ [name='logout']

   The current URL, reviews.hsgbu.com/, didn't match any of these.

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

   ---

   Here is the contents of /etc/httpd/conf.d/apache-wsgi.conf -

   VirtualHost *:80
          ServerName burhs40001v.us.oracle.com
          DocumentRoot /usr/local/apache2/htdocs/reviews.hsgbu.com/
   htdocs

          # Error handlers
          ErrorDocument 500 /errordocs/500.html

          WSGIPassAuthorization On
          WSGIScriptAlias / /usr/local/apache2/htdocs/
   reviews.hsgbu.com/htdocs/reviewboard.wsgi

          Directory /usr/local/apache2/htdocs/reviews.hsgbu.com/
   htdocs
                  AllowOverride All
          /Directory

          # Alias static media requests to filesystem
          Alias /media /usr/local/apache2/htdocs/reviews.hsgbu.com/
   htdocs/media http://reviews.hsgbu.com/%0Ahtdocs/media
          Alias /errordocs /usr/local/apache2/htdocs/reviews.hsgbu.com/
   htdocs/errordocs http://reviews.hsgbu.com/%0Ahtdocs/errordocs
   ##      Alias /favicon.ico /usr/local/apache2/htdocs/
   reviews.hsgbu.com/htdocs/media/rbcommons/images/favicon.png

   Please let me know in case any other detail is needed.

   Thanks
  sanjay

   On Sep 21, 5:45 am, Anton Cohen an...@antoncohen.com wrote:
On Tue, Sep 20, 2011 at 9:18 PM,SanjayLal sklqui...@gmail.com wrote:
 [root ReviewBoard-1.6]# yum install mod_wsgi
 Loaded plugins: security
http://cheeseshop.python.org/pypi/ReviewBoard/repodata/repomd.xml:
 [Errno 14] HTTP Error 404: Not Found ()
 Trying other mirror.
 Error: Cannot retrieve repository metadata (repomd.xml) for
 repository: download_base. Please verify its path and try again

Is it really giving an error that mentions ReviewBoard when you are
trying to install an unrelated package? Did you modify anything in
/etc/yum.conf or /etc/yum.repos.d? It seems like you might have put a
Python pypi URL in a yum config.

Do this to list the repositories:
yum -v repolist

 I have set following
 http_proxy=www-proxy.us.oracle.com:80
 ftp_proxy=www-proxy.us.oracle.com:80
 secure_proxy=www-proxy.us.oracle.com:80

Here is how to setup yum through a proxy:
  http://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html

If a proxy is always required, it's probably best to do it in
yum.conf, instead of as an environment variable. If you do the env
method, don't forget to export http_proxy so it works outside your
shell.

If you are just playing around, maybe consider installing RB in
OpenShift. That way you won't have to do any of the Linux stuff, all
you have to do is git pull/push:

   https://github.com/openshift/reviewboard-example

-Anton

   --
   Want

Too many emails from ReviewBoard ?

2011-10-05 Thread Sanjay Lal
Hi,
Not sure if something doable but wanted to check anyway - My users are
receiving lot of emails fro ReviewBoard - for example, Requester1 adds
Revieer1 and Reviewer2  as reviewers. When Reviewer1 is publishing a
comments he is always copied in those emails. Is there a way we can
reduce the emails that are sent out (I believe a reviewer shouldn't be
copied on reviews he is doing, just the requester and other reviewers
should be sent emails).
In the admin-ui -- Email I have checked   Send e-mails for review
requests and reviews   and  Send e-mails when new users register an
account .

Any suggestions/ideas?

Thanks in advance for your time.

-- 
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: PySVN not installed.

2011-09-23 Thread Sanjay Lal
Hi,
Does yum install pysvn work for you? if this works, it should take
care of all the dependencies. I tried the same and it installed pysvn
withough any issues.

-sanjay

On Sep 13, 12:40 pm, Monica Sanchez castaneda.mon...@gmail.com
wrote:
 I have the configuration below,

 Fedora 2.6
 Subversion 1.4.6
 ReviewBoard 1.5.6
 python 2.5.1

 When I try to add repositories, I'm getting the following:

 The Python module pysvn is not installed. You may need to restart the
 server after installing it.

 How can I install this?
 I downloaded pysvn-1.7.1. it requires Pycxx_5.5.0 (because svn 1.4) but I'm
 trying to compile following the instruction in the INSTALL.html

 I'm getting the following.
 Info: Found  PyCXX include in /software/tools/pysvn-1.7.1/Import/pycxx-5.5.0
 Info: Found   PyCXX Source in
 /software/tools/pysvn-1.7.1/Import/pycxx-5.5.0/Src
 Info: Found Python include in /software/tools/pysvn-1.7.1/Import/pycxx-5.5.0
 /software/tools/pysvn-1.7.1/Import/pycxx-5.5.0/Src /usr/include/python2.5
 ('Error:', 'cannot find SVN include svn_client.h - use --svn-inc-dir=')

 I changed the version of PyCXX from 6.1.1 to 5.5.0 (because of SVN 1.4)

 I search for this error and it looks like this file can be installed on
 svn_dev package, but I cannot find it download it.

 Please help how can I debug this problem.
 Thank you
 Monica

-- 
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: mod_python mandatory for reviewboard 1.6?

2011-09-21 Thread Sanjay Lal
Thanks Anton. These details are very helpful. I am making progress
now. I am now able to use yum install mod_wsgi. I have enabled the
mod_wsgi now.
Now, After restarting http server, I am trying to access reviewboard
from the URL http://server.us.oracle.com/reviews.hsgbu.com/ but
geting 404 error. I am sure I am doing somethign wrong.. below is the
debug info -
---
Page not found (404)
Request Method: GET
Request URL:http://burhs40001v.us.oracle.com/reviews.hsgbu.com/

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

^ ^admin/
^ ^media/(?Ppath.*)$
^ ^account/
^ ^reports/
^ ^s/(?Plocal_site_name[A-Za-z0-9\-_.]+)/
^ ^$ [name='root']
^ ^api/
^ ^r/
^ ^dashboard/$ [name='dashboard']
^ ^users/$ [name='all-users']
^ ^users/(?Pusername[A-Za-z0-9@_\-\.]+)/$ [name='user']
^ ^users/(?Pusername[A-Za-z0-9@_\-\.]+)/infobox/$ [name='user-
infobox']
^ ^groups/$ [name='all-groups']
^ ^groups/(?Pname[A-Za-z0-9_-]+)/$ [name='group']
^ ^groups/(?Pname[A-Za-z0-9_-]+)/members/$
[name='group_members']
^ ^account/logout/$ [name='logout']

The current URL, reviews.hsgbu.com/, didn't match any of these.

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

---

Here is the contents of /etc/httpd/conf.d/apache-wsgi.conf -

VirtualHost *:80
ServerName burhs40001v.us.oracle.com
DocumentRoot /usr/local/apache2/htdocs/reviews.hsgbu.com/
htdocs

# Error handlers
ErrorDocument 500 /errordocs/500.html

WSGIPassAuthorization On
WSGIScriptAlias / /usr/local/apache2/htdocs/
reviews.hsgbu.com/htdocs/reviewboard.wsgi

Directory /usr/local/apache2/htdocs/reviews.hsgbu.com/
htdocs
AllowOverride All
/Directory

# Alias static media requests to filesystem
Alias /media /usr/local/apache2/htdocs/reviews.hsgbu.com/
htdocs/media
Alias /errordocs /usr/local/apache2/htdocs/reviews.hsgbu.com/
htdocs/errordocs
##  Alias /favicon.ico /usr/local/apache2/htdocs/
reviews.hsgbu.com/htdocs/media/rbcommons/images/favicon.png


Please let me know in case any other detail is needed.

Thanks
sanjay



On Sep 21, 5:45 am, Anton Cohen an...@antoncohen.com wrote:
 On Tue, Sep 20, 2011 at 9:18 PM, Sanjay Lal sklqui...@gmail.com wrote:
  [root ReviewBoard-1.6]# yum install mod_wsgi
  Loaded plugins: security
 http://cheeseshop.python.org/pypi/ReviewBoard/repodata/repomd.xml:
  [Errno 14] HTTP Error 404: Not Found ()
  Trying other mirror.
  Error: Cannot retrieve repository metadata (repomd.xml) for
  repository: download_base. Please verify its path and try again

 Is it really giving an error that mentions ReviewBoard when you are
 trying to install an unrelated package? Did you modify anything in
 /etc/yum.conf or /etc/yum.repos.d? It seems like you might have put a
 Python pypi URL in a yum config.

 Do this to list the repositories:
 yum -v repolist

  I have set following
  http_proxy=www-proxy.us.oracle.com:80
  ftp_proxy=www-proxy.us.oracle.com:80
  secure_proxy=www-proxy.us.oracle.com:80

 Here is how to setup yum through a 
 proxy:http://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html

 If a proxy is always required, it's probably best to do it in
 yum.conf, instead of as an environment variable. If you do the env
 method, don't forget to export http_proxy so it works outside your
 shell.

 If you are just playing around, maybe consider installing RB in
 OpenShift. That way you won't have to do any of the Linux stuff, all
 you have to do is git pull/push:

 https://github.com/openshift/reviewboard-example

 -Anton

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


Re: Error Installing ReviewBoard 1.6 on Redhat Linux 5.5

2011-09-20 Thread Sanjay Lal
Thanks. Finally I was able to download thru the web browser.

thanks
sanjay

On Sep 19, 2:32 pm, Christian Hammond chip...@chipx86.com wrote:
 Hi Sanjay,

 It's possible that tummy.com was down. That's not our site so we don't have
 any control over it. I can connect to it here.

 What happens when you connect through a web browser?

 Christian









 On Monday, September 19, 2011, Sanjay Lal sklqui...@gmail.com wrote:
  Hi,
  I am trying to install ReviewBoard 1.6 on Redhat Linux 5.5. I am
  getting following error.. Any ideas/thoughts -

  [root  ReviewBoard-1.6]# easy_install ReviewBoard
  Searching for ReviewBoard
  Best match: ReviewBoard 1.6
  Processing ReviewBoard-1.6-py2.4.egg
  ReviewBoard 1.6 is already the active version in easy-install.pth
  Installing rb-site script to /usr/bin
  Installing rbssh script to /usr/bin

  Using /usr/lib/python2.4/site-packages/ReviewBoard-1.6-py2.4.egg
  Processing dependencies for ReviewBoard
  Searching for python-memcached
  Readinghttp://downloads.reviewboard.org/mirror/
  Readinghttp://downloads.reviewboard.org/releases/ReviewBoard/1.6/
  Readinghttp://pypi.python.org/simple/python-memcached/
  Readinghttp://www.tummy.com/Community/software/python-memcached/
  Readingftp://ftp.tummy.com/pub/python-memcached/
  error: HTTP/1.1 408 Request Timeout

  I have defined the variables -
     http_proxy=www-proxy.us.oracle.com:80
     ftp_proxy=www-proxy.us.oracle.com:80
     secure_proxy=www-proxy.us.oracle.com:80
  Do I need to do any other settings?

  By any chance is the serverwww.tummy.comdown? When I pingwww.tummy.com
  from my Windows desktop, I get  Request Time out-
     C:\pingwww.tummy.com
     Pingingwww.tummy.com[198.49.126.248] with 32 bytes of data:

     Reply from 10.149.120.2: Destination host unreachable.
     Request timed out.
     Request timed out.
     Reply from 10.149.120.2: Destination host unreachable.

     Ping statistics for 198.49.126.248:
         Packets: Sent = 4, Received = 2, Lost = 2 (50% loss),
     Approximate round trip times in milli-seconds:
         Minimum = 0ms, Maximum = 0ms, Average = 0ms

  Here are more details -
  uname -a :
         Linux hostname  2.6.18-194.26.1.0.1.el5xen #1 SMP Tue Nov 9
  19:05:00 EST 2010 x86_64 x86_64 x86_64 GNU/Linux

  cat /etc/redhat-release
         Red Hat Enterprise Linux Server release 5.5 (Tikanga)

  /etc/yum.conf :

     [main]
     cachedir=/var/cache/yum
     keepcache=0
     debuglevel=2
     logfile=/var/log/yum.log
     distroverpkg=redhat-release
     tolerant=1
     exactarch=1
     obsoletes=1
     gpgcheck=1
     plugins=1

     # Note: yum-RHN-plugin doesn't honor this.
     metadata_expire=1h

     # Default.
     # installonly_limit = 3

     # PUT YOUR REPOS HERE OR IN separate files named file.repo
     # in /etc/yum.repos.d
     [download_base]
     name=Fedora Core $releasever - $basearch - ATrpms
     baseurl=http://cheeseshop.python.org/pypi/ReviewBoard/
     gpgcheck=1

  files in /etc/yum.repos.d:
     mirrors-rpmforge  rpmforge.repo  ULN-Base.repo  ULN-Base.repo.uln-
  int

  Thanks in advance for your time,
  sanjay

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

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


mod_python mandatory for reviewboard 1.6?

2011-09-20 Thread Sanjay Lal
Hi Is mod_python.so load module mandatory for reviewBoard 1.6? I have
redhad linux 5.5, python 2.4.3 , apache 2.1.9.
While building mod_python.so I was getting the error - connobject.c:
142: error: request for member next in something not a structure or
union . So I got the connobject.c from 
https://svn.apache.org/repos/asf/quetzalcoatl/mod_python/trunk
then th ecompile completed successfully.
Then I appended the contents of  apache-wsgi.conf to the httpd.conf .
Now I am not able to restart the apache HTTP server . gettin gerror -

[root: apache2]# apachectl restart
httpd: Syntax error on line 54 of /usr/local/apache2/conf/httpd.conf:
Can't locate API module structure `mod_python' in file /usr/local/
apache2/modules/mod_python.so: /usr/local/apache2/modules/
mod_python.so: undefined symbol: mod_python

Any ideas/suggestions?
thanks in advance for your help!
-sanjay

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


Not able to access ReviewBoard using Apache HTTp server

2011-09-20 Thread Sanjay Lal
Hi,
I would like to verify if I am doing things correctly - I have install
reviewboard 1.6, apache 2.1.9 and all the dependencies etc. I have
following conf files in /usr/local/apache2/htdocs/reviews.hsgbu.com/
conf -

apache-wsgi.conf  search-cron.conf  settings_local.py
settings_local.pyc

Should I just append the contents of  /usr/local/apache2/htdocs/
reviews.hsgbu.com/conf/apache-wsgi.conf  to /usr/local/apache2/conf/
httpd.conf?  Or I am supposed to do anything else?

Also once this is done, should I be able to access the ReviewBoard
using the URL - http://server name:80   ? Or would I need some other
URL to access the ReviewBoard?

here is my full httpd.conf (I have removed the comments ) -

ServerRoot /usr/local/apache2

Listen 80

LoadModule mod_python  modules/mod_python.so

IfModule !mpm_netware_module
IfModule !mpm_winnt_module
User daemon
Group daemon

/IfModule
/IfModule


ServerAdmin y...@example.com


DocumentRoot /usr/local/apache2/htdocs

Directory /
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
/Directory


Directory /usr/local/apache2/htdocs
#
# Possible values for the Options directive are None, All,
# or any combination of:
#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI
MultiViews
#
# Note that MultiViews must be named *explicitly* --- Options
All
# doesn't give it to you.
#
# The Options directive is both complicated and important.  Please
see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed
in .htaccess files.
# It can be All, None, or any combination of the keywords:
#   Options FileInfo AuthConfig Limit
#
AllowOverride None

#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all

/Directory

IfModule dir_module
DirectoryIndex index.html
/IfModule

FilesMatch ^\.ht
Order allow,deny
Deny from all
Satisfy All
/FilesMatch

ErrorLog logs/error_log

LogLevel warn

IfModule log_config_module
#
# The following directives define some format nicknames for use
with
# a CustomLog directive (see below).
#
LogFormat %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-
Agent}i\ combined
LogFormat %h %l %u %t \%r\ %s %b common

IfModule logio_module
  # You need to enable mod_logio.c to use %I and %O
  LogFormat %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-
Agent}i\ %I %O combinedio
/IfModule

#
# The location and format of the access logfile (Common Logfile
Format).
# If you do not define any access logfiles within a VirtualHost
# container, they will be logged here.  Contrariwise, if you *do*
# define per-VirtualHost access logfiles, transactions will be
# logged therein and *not* in this file.
#
CustomLog logs/access_log common

#
# If you prefer a logfile with access, agent, and referer
information
# (Combined Logfile Format) you can use the following directive.
#
#CustomLog logs/access_log combined
/IfModule

IfModule alias_module
#
# Redirect: Allows you to tell clients about documents that used
to
# exist in your server's namespace, but do not anymore. The client
# will make a new request for the document at its new location.
# Example:
# Redirect permanent /foo http://www.example.com/bar

#
# Alias: Maps web paths into filesystem paths and is used to
# access content that does not live under the DocumentRoot.
# Example:
# Alias /webpath /full/filesystem/path
#
#
# If you include a trailing / on /webpath then the server will
# require it to be present in the URL.  You will also likely
# need to provide a Directory section to allow access to
# the filesystem path.

#
# ScriptAlias: This controls which directories contain server
scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the target directory are treated as applications
and
# run by the server when requested rather than as documents sent
to the
# client.  The same rules about trailing / apply to ScriptAlias
# directives as to Alias.
#
ScriptAlias /cgi-bin/ /usr/local/apache2/cgi-bin/

/IfModule

IfModule cgid_module
#
# ScriptSock: On threaded servers, designate the path to the UNIX
# socket used to communicate with the CGI daemon of mod_cgid.
#
#Scriptsock logs/cgisock
/IfModule

Directory /usr/local/apache2/cgi-bin
AllowOverride None
Options None
Order allow,deny
Allow from all
/Directory

DefaultType text/plain

IfModule mime_module
#
# TypesConfig points to the file containing the list of mappings
from
# filename extension to MIME-type.
#
TypesConfig conf/mime.types

#
# AddType allows you to add to or override the MIME 

Re: mod_python mandatory for reviewboard 1.6?

2011-09-20 Thread Sanjay Lal
Thanks for the suggestions.
When I use yum to install mod_pythin and mod_wsgi i get following
error. Any ideas?
[root ReviewBoard-1.6]# yum install mod_python
Loaded plugins: security
http://cheeseshop.python.org/pypi/ReviewBoard/repodata/repomd.xml:
[Errno 14] HTTP Error 404: Not Found ()
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for
repository: download_base. Please verify its path and try again

[root ReviewBoard-1.6]# yum install mod_wsgi
Loaded plugins: security
http://cheeseshop.python.org/pypi/ReviewBoard/repodata/repomd.xml:
[Errno 14] HTTP Error 404: Not Found ()
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for
repository: download_base. Please verify its path and try again

I have set following
http_proxy=www-proxy.us.oracle.com:80
ftp_proxy=www-proxy.us.oracle.com:80
secure_proxy=www-proxy.us.oracle.com:80

I am new to Linux admin so not very familier with how to make changes
to force it to use some other site,

thanks
sanjay
On Sep 20, 7:13 pm, Anton Cohen an...@antoncohen.com wrote:
 On Tue, Sep 20, 2011 at 2:13 PM, Sanjay Lal sklqui...@gmail.com wrote:
  Hi Is mod_python.so load module mandatory for reviewBoard 1.6? I have
  redhad linux 5.5, python 2.4.3 , apache 2.1.9.
  While building mod_python.so I was getting the error - connobject.c:
  142: error: request for member next in something not a structure or
  union . So I got the connobject.c from
 On Tue, Sep 20, 2011 at 2:49 PM, Sanjay Lal sklqui...@gmail.com wrote:
  Hi,
  I would like to verify if I am doing things correctly - I have install
  reviewboard 1.6, apache 2.1.9 and all the dependencies etc. I have
  following conf files in /usr/local/apache2/htdocs/reviews.hsgbu.com/
  conf -

  apache-wsgi.conf  search-cron.conf  settings_local.py
  settings_local.pyc

  Should I just append the contents of  /usr/local/apache2/htdocs/
  reviews.hsgbu.com/conf/apache-wsgi.conf  to /usr/local/apache2/conf/
  httpd.conf?  Or I am supposed to do anything else?

 Are you able to start fresh, maybe with a different Linux distro?

 There are a few things wrong here.
 * You said redhad linux 5.5, I'm going to assume that is RHEL 5 or a
 rebuild of it like Oracle or CentOS. RHEL 5 has pretty old versions of
 things, like Python 2.4. You would be better off with something based
 on RHEL 6, like CentOS 6. RHEL 5 will work if you have to use it.

 * You should not compile apache from source, almost no one should.
 2.1.9 is really ancient, even RHEL comes with 2.2.3 by default.
 Install apache with:
 yum groupinstall Web Server

 * You do not need mod_python. It would be better to use mod_wsgi.
 mod_wsgi is in the EPEL repository for RHEL 5, Google will tell you
 how to install the EPEL repository. Neither of them should be
 installed from source, instead do:
 yum install mod_python
 yum install mod_wsgi

 * In a normal install of Red Hat, you should avoid editing httpd.conf
 (in /etc/httpd/conf/), instead copy the virtual host configs to
 /etc/httpd/conf.d/.

 * Avoid using apachectl. Instead use:
 service httpd start|stop|restart|graceful
 OR
 /etc/init.d/httpd start|stop|restart|graceful

 Overall advice for Linux admins, do not install from source. If you
 find yourself about to install from source, step back, and find a
 package/repository. Even fairly cutting-edge things like CouchDB and
 Redis have packages in EPEL.

 Hope that helps,
 Anton

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


Error Installing ReviewBoard 1.6 on Redhat Linux 5.5

2011-09-19 Thread Sanjay Lal
Hi,
I am trying to install ReviewBoard 1.6 on Redhat Linux 5.5. I am
getting following error.. Any ideas/thoughts -

[root  ReviewBoard-1.6]# easy_install ReviewBoard
Searching for ReviewBoard
Best match: ReviewBoard 1.6
Processing ReviewBoard-1.6-py2.4.egg
ReviewBoard 1.6 is already the active version in easy-install.pth
Installing rb-site script to /usr/bin
Installing rbssh script to /usr/bin

Using /usr/lib/python2.4/site-packages/ReviewBoard-1.6-py2.4.egg
Processing dependencies for ReviewBoard
Searching for python-memcached
Reading http://downloads.reviewboard.org/mirror/
Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.6/
Reading http://pypi.python.org/simple/python-memcached/
Reading http://www.tummy.com/Community/software/python-memcached/
Reading ftp://ftp.tummy.com/pub/python-memcached/
error: HTTP/1.1 408 Request Timeout

I have defined the variables -
http_proxy=www-proxy.us.oracle.com:80
ftp_proxy=www-proxy.us.oracle.com:80
secure_proxy=www-proxy.us.oracle.com:80
Do I need to do any other settings?

By any chance is the server www.tummy.com down? When I ping www.tummy.com
from my Windows desktop, I get  Request Time out-
C:\ping www.tummy.com
Pinging www.tummy.com [198.49.126.248] with 32 bytes of data:

Reply from 10.149.120.2: Destination host unreachable.
Request timed out.
Request timed out.
Reply from 10.149.120.2: Destination host unreachable.

Ping statistics for 198.49.126.248:
Packets: Sent = 4, Received = 2, Lost = 2 (50% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms



Here are more details -
uname -a :
Linux hostname  2.6.18-194.26.1.0.1.el5xen #1 SMP Tue Nov 9
19:05:00 EST 2010 x86_64 x86_64 x86_64 GNU/Linux

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)


/etc/yum.conf :

[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1

# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h

# Default.
# installonly_limit = 3

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[download_base]
name=Fedora Core $releasever - $basearch - ATrpms
baseurl=http://cheeseshop.python.org/pypi/ReviewBoard/
gpgcheck=1


files in /etc/yum.repos.d:
mirrors-rpmforge  rpmforge.repo  ULN-Base.repo  ULN-Base.repo.uln-
int

Thanks in advance for your time,
sanjay

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