MySQL vs SQLite

2011-10-19 Thread Nelson Jones
Your documentation says While useful and portable, SQLite does not
handle large loads with many concurrent users very well. We strongly
recommend using MySQL or PostgreSQL for a real deployment.
So does it mean that MySQL is a winner over SQLite for scalabilty and
stalability? Is there a boundary say X TeraBytes? Or X PteraBytes?
Any infomation or detail would be helpful. Thanks.

-- 
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: Is Review Board mostly useful in offline code review?

2011-09-30 Thread Nelson Jones
I agree. Thanks David.

On Sep 29, 1:55 pm, David Trowbridge trowb...@gmail.com wrote:
 You could use it for either. It's maybe not perfect during a meeting
 but it does mean that
 you have a full record of all the comments.

 -David



 On Thu, Sep 29, 2011 at 10:49 AM, Nelson Jones huawen@gmail.com wrote:
  Is it overkill if used for  meeting type code review (face to face
  code review)? Any comments?
  Thanks

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


Is there a print function in review board?

2011-09-30 Thread Nelson Jones
Hi, Just wonder is there a print function in review board? In case, a
face to face review is needed? Thanks,

-- 
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: Is there a print function in review board?

2011-09-30 Thread Nelson Jones
I see. Thanks Christian!

On Sep 30, 12:00 pm, Christian Hammond chip...@chipx86.com wrote:
 Hi Nelson,

 There's just the standard browser print capabilities. We don't do any
 special formatting.

 Christian

 On Friday, September 30, 2011, Nelson Jones huawen@gmail.com wrote:
  Hi, Just wonder is there a print function in review board? In case, a
  face to face review is needed? Thanks,

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


Does Creating Review Requests /Publish Comments send email notifications?

2011-09-30 Thread Nelson Jones
Hi,
Does Creating Review Requests/Publish Comments send email
notifications?
Mine doesn't. Wonder if it's the same for every body?

Thanks,

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


Is Review Board mostly useful in offline code review?

2011-09-29 Thread Nelson Jones
Is it overkill if used for  meeting type code review (face to face
code review)? Any comments?
Thanks

-- 
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: Is Review Board mostly useful in offline code review?

2011-09-29 Thread Nelson Jones
Interesting comment. Thanks Jeff!

On Sep 29, 1:52 pm, Jeff Andros j...@seguetonowhere.com wrote:
 This is how we started using reviewboard: we would use it more as meeting
 notes during a conference room code review.

 We progressed through that by everyone reviewing the code and leaving notes,
 then meeting in the conference room to go over them, but dropped the face to
 face part shortly afterwards.  Reviewboard just makes it unneccessary.

 but to answer your question, it works pretty well for face to face reviews.

 --Jeff



 On Thu, Sep 29, 2011 at 10:49 AM, Nelson Jones huawen@gmail.com wrote:
  Is it overkill if used for  meeting type code review (face to face
  code review)? Any comments?
  Thanks

  --
  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 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: post-review svn - Your review request still exists, but the diff is not attached

2011-09-27 Thread Nelson Jones
That was it. Thank you Christian !

On Sep 26, 11:23 pm, Christian Hammond chip...@chipx86.com wrote:
 What do you have in your .reviewboardrc file?

 Christian

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



 On Mon, Sep 26, 2011 at 8:22 PM, Nelson Jones huawen@gmail.com wrote:
  I deleted repository1. But post-review will still attempt to create
  review request on repository1.

  On Sep 26, 10:28 pm, Nelson Jones huawen@gmail.com wrote:
   I am using svn. I got Your review request still exists, but the diff
   is not attached  when I issue post-review.
   I have two repositories. repository1 for cvs and repository2 for svn.
   For some reason, it always trying to create request on repository1 and
   not repository2.

   What do I do to make post-review to use repository 2?  and not
   repository 1. Please advise.  Thanks,

   mysvn/project/src  post-review --debug

RBTools 0.3.3
Home = /u/george
svn info
diff --version
repository info: Path: file:///home/george/var/svnroot, Base path:
  /src, Supports changesets: False
HTTP GETting api/
HTTP GETtinghttp://mynode:8090/api/info/
Using the new web API
svn diff --diff-cmd=diff
svn info p1000.ksh
svn info p1000.ksh
svn info p1000.ksh
svn info p1000.ksh
HTTP GETtinghttp://mynode:8090/api/repositories/
HTTP GETtinghttp://mynode:8090/api/repositories/2/
HTTP GETtinghttp://mynode:8090/api/repositories/2/info/
repository info: Path: file:///home/george/var/svnroot, Base path:
  /src, Supports changesets: False
Attempting to create review request on repository1 for None
HTTP POSTing tohttp://mynode:8090/api/review-requests/:{'repository':
  'repository1'}
Review request created
Uploading diff, size: 374
HTTP POSTing
  tohttp://mynode:8090/api/review-requests/49/diffs/:{'basedir': '/src'}
Got API Error 105 (HTTP code 400): One or more fields had errors
Error data: {'fields': {'path': ['Unable to find RCS line']}, 'stat':
  'fail', 'err': {'msg': 'One or more fields had errors', 'code': 105}}

   Error uploading diff

   The generated diff file was empty. This usually means no files were
   modified in this change.

   Try running with --output-diff and --debug for more information.

   Your review request still exists, but the diff is not attached.

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


post-review svn - Your review request still exists, but the diff is not attached

2011-09-26 Thread Nelson Jones
I am using svn. I got Your review request still exists, but the diff
is not attached  when I issue post-review.
I have two repositories. repository1 for cvs and repository2 for svn.
For some reason, it always trying to create request on repository1 and
not repository2.

What do I do to make post-review to use repository 2?  and not
repository 1. Please advise.  Thanks,


mysvn/project/src  post-review --debug
 RBTools 0.3.3
 Home = /u/george
 svn info
 diff --version
 repository info: Path: file:///home/george/var/svnroot, Base path: /src, 
 Supports changesets: False
 HTTP GETting api/
 HTTP GETting http://mynode:8090/api/info/
 Using the new web API
 svn diff --diff-cmd=diff
 svn info p1000.ksh
 svn info p1000.ksh
 svn info p1000.ksh
 svn info p1000.ksh
 HTTP GETting http://mynode:8090/api/repositories/
 HTTP GETting http://mynode:8090/api/repositories/2/
 HTTP GETting http://mynode:8090/api/repositories/2/info/
 repository info: Path: file:///home/george/var/svnroot, Base path: /src, 
 Supports changesets: False
 Attempting to create review request on repository1 for None
 HTTP POSTing to http://mynode:8090/api/review-requests/: {'repository': 
 'repository1'}
 Review request created
 Uploading diff, size: 374
 HTTP POSTing to http://mynode:8090/api/review-requests/49/diffs/: 
 {'basedir': '/src'}
 Got API Error 105 (HTTP code 400): One or more fields had errors
 Error data: {'fields': {'path': ['Unable to find RCS line']}, 'stat': 
 'fail', 'err': {'msg': 'One or more fields had errors', 'code': 105}}

Error uploading diff

The generated diff file was empty. This usually means no files were
modified in this change.

Try running with --output-diff and --debug for more information.

Your review request still exists, but the diff is not attached.

-- 
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: post-review svn - Your review request still exists, but the diff is not attached

2011-09-26 Thread Nelson Jones
I deleted repository1. But post-review will still attempt to create
review request on repository1.

On Sep 26, 10:28 pm, Nelson Jones huawen@gmail.com wrote:
 I am using svn. I got Your review request still exists, but the diff
 is not attached  when I issue post-review.
 I have two repositories. repository1 for cvs and repository2 for svn.
 For some reason, it always trying to create request on repository1 and
 not repository2.

 What do I do to make post-review to use repository 2?  and not
 repository 1. Please advise.  Thanks,

 mysvn/project/src  post-review --debug









  RBTools 0.3.3
  Home = /u/george
  svn info
  diff --version
  repository info: Path: file:///home/george/var/svnroot, Base path: /src, 
  Supports changesets: False
  HTTP GETting api/
  HTTP GETtinghttp://mynode:8090/api/info/
  Using the new web API
  svn diff --diff-cmd=diff
  svn info p1000.ksh
  svn info p1000.ksh
  svn info p1000.ksh
  svn info p1000.ksh
  HTTP GETtinghttp://mynode:8090/api/repositories/
  HTTP GETtinghttp://mynode:8090/api/repositories/2/
  HTTP GETtinghttp://mynode:8090/api/repositories/2/info/
  repository info: Path: file:///home/george/var/svnroot, Base path: /src, 
  Supports changesets: False
  Attempting to create review request on repository1 for None
  HTTP POSTing tohttp://mynode:8090/api/review-requests/:{'repository': 
  'repository1'}
  Review request created
  Uploading diff, size: 374
  HTTP POSTing 
  tohttp://mynode:8090/api/review-requests/49/diffs/:{'basedir': '/src'}
  Got API Error 105 (HTTP code 400): One or more fields had errors
  Error data: {'fields': {'path': ['Unable to find RCS line']}, 'stat': 
  'fail', 'err': {'msg': 'One or more fields had errors', 'code': 105}}

 Error uploading diff

 The generated diff file was empty. This usually means no files were
 modified in this change.

 Try running with --output-diff and --debug for more information.

 Your review request still exists, but the diff is not attached.

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


review a new file

2011-09-24 Thread Nelson Jones
Hello,

For a new file to be reviewed, there obviously is no diff. How do I
submit a review without a diff?

The only way I can think of, however I don't like very much, is to
create an empty file in cvs and then issue the new file to
artificially create a diff. But I am looking for a better way. Is
there any? Please advise.

Thanks !

-- 
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: review a new file

2011-09-24 Thread Nelson Jones
Yes. Both cvs dif -Nn and post-review worked fine. Thank you David.

On Sep 24, 10:20 am, David Trowbridge trowb...@gmail.com wrote:
 By virtue of adding the file, you're creating a change that can be
 expressed via a diff. `cvs diff -Nu` will create a diff that includes
 newly-added files that reviewboard can understand (though of course,
 we recommend using post-review, which will just do that for you).

 -David







 On Sat, Sep 24, 2011 at 10:14 AM, Nelson Jones huawen@gmail.com wrote:
  Hello,

  For a new file to be reviewed, there obviously is no diff. How do I
  submit a review without a diff?

  The only way I can think of, however I don't like very much, is to
  create an empty file in cvs and then issue the new file to
  artificially create a diff. But I am looking for a better way. Is
  there any? Please advise.

  Thanks !

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


Repository: (None - Graphics only)

2011-09-17 Thread Nelson Jones
I was finally able to get review board up and running.  When I created
a new request. The repository was graphics only.
How do I resolve this?

Thanks,

New Review Request
Repository:  (None - Graphics only)
 You won't be able to add any diffs to this review request. The review
request will only be usable for reviewing screenshots and other
graphic files.
Change Number:
Base Directory:
 The absolute path in the repository the diff was generated in.
Diff:
 The new diff to upload.
Parent Diff:
 An optional diff that the main diff is based on. This is usually used
for distributed revision control systems (Git, Mercurial, etc.).

-- 
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: rb-site install failed - ImportError: Entry point ('console_scripts', 'rb-site') not found

2011-09-17 Thread Nelson Jones


On Sep 16, 4:45 pm, Nelson Jones huawen@gmail.com wrote:
 On Sep 16, 3:02 pm, Stephen Gallagher step...@gallagherhome.com
 wrote:









  On Fri, 2011-09-16 at 11:36 -0700, Nelson Jones wrote:
   Switched with --console

   rb-site --console install /var/www/mysite1

   * Welcome to the Review Board site installation wizard

       This will prepare a Review Board site installation in:

       /var/www/mysite1

       We need to know a few things before we can prepare your site for
       installation. This will only take a few minutes.

   * Required modules are missing

       You are missing Python modules that are needed before the
       installation process. You will need to install the necessary
       modules and restart the install.

       Databases (required):
           * sqlite3 (pysqlite2, sqlite3)
           * MySQL (MySQLdb)
           * PostgreSQL (psycopg2)

   I have MySQL installed and MySQL-python-1.2.3 installed (Saw your
   warning before about-- I should warn you that there's one catch: MySQL
   doesn't work with this
   version because RHEL's copy of python-MySQL is too old (this is going
   to be fixed in RHEL 5.8). --) Thought this should took care
   of it?

  Hmm, version 1.2.3 SHOULD fix the issue. I wonder, did you install it in
  the right Python path? How did you install 1.2.3?

   But why rb-site still complained MySQLdb missing?

   Thanks,

   $/usr/lib  file -L _mysql.so
   _mysql.so: ELF 32-bit LSB shared object, Intel 80386, version 1
   (SYSV), not stripped

   $/usr/lib/python2.4/site-packages  ll MySMySQLdb/
   total 116
   -rwxr-xr-x 1 root 10930 Jun 17  2010 connections.py
   -rwxr-xr-x 1 root 11854 Sep 16 09:37 connections.pyc
   drwxr-xr-x 2 root  4096 Sep 16 09:37 constants
   -rwxr-xr-x 1 root  4624 Jun 17  2010 converters.py
   -rwxr-xr-x 1 root  5956 Sep 16 09:37 converters.pyc
   -rwxr-xr-x 1 root 16644 Jun 17  2010 cursors.py
   -rwxr-xr-x 1 root 18667 Sep 16 09:37 cursors.pyc
   -rwxr-xr-x 1 root  3121 Jun 17  2010 __init__.py
   -rwxr-xr-x 1 root  4218 Sep 16 09:37 __init__.pyc
   -rw--- 1 root   117 Sep 16 11:37 release.py
   -rwxr-xr-x 1 root   343 Sep 16 11:37 release.pyc
   -rwxr-xr-x 1 root  2845 Jun 17  2010 times.py
   -rwxr-xr-x 1 root  4335 Sep 16 09:37 times.pyc

   On Sep 16, 2:09 pm, Nelson Jones huawen@gmail.com wrote:
Installed EPEL package. But now I got a new exception.

rb-site install /var/www/mysite1
Traceback (most recent call last):
  File /usr/bin/rb-site, line 7, in ?
    sys.exit(
  File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
rbsite.py, line 1674, in main
    command.run()
  File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
rbsite.py, line 1193, in run
    self.print_introduction()
  File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
rbsite.py, line 1260, in print_introduction
    page = ui.page(Welcome to the Review Board site installation
wizard)
  File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
rbsite.py, line 875, in page
    image = gtk.image_new_from_file(logo_file)
AttributeError: 'module' object has no attribute 'image_new_from_file'

Please advise.

  Hmm, looks like there may be a GUI requirement that increased (without
  being mentioned in requires.txt.) I'll have to look into that and see if
  I can patch around it. In the meantime, you have the right idea with
  using the console version.

  Please file a BZ at bugzilla.redhat.com against ReviewBoard on Fedora
  EPEL.- Hide quoted text -

  - Show quoted text -- Hide quoted text -

  - Show quoted text -

 Downloaded package but no luck to install.

 rpm -ivh MySQL-python-1.2.3-0.c1.sgallagh.el5.i386.rpm
 error: Failed dependencies:
         libmysqlclient_r.so.15 is needed by MySQL-
 python-1.2.3-0.c1.sgallagh.el5.i386
         libmysqlclient_r.so.15(libmysqlclient_15) is needed by MySQL-
 python-1.2.3-0.c1.sgallagh.el5.i386

 Mine are 18 not 15.

 /var/mydir/mysql-5.5.16-linux2.6-i686/lib  ll

 10354460 Sep  9 10:09 libmysqlclient.a
       16 Sep 16 11:13 libmysqlclient_r.a - libmysqlclient.a
       17 Sep 16 11:13 libmysqlclient_r.so - libmysqlclient.so
       17 Sep 16 11:13 libmysqlclient_r.so.18 - libmysqlclient.so
       17 Sep 16 11:13 libmysqlclient_r.so.18.0.0 - libmysqlclient.so
       20 Sep 16 11:13 libmysqlclient.so - libmysqlclient.so.18
       24 Sep 16 11:13 libmysqlclient.so.18 - libmysqlclient.so.18.0.0
  6054381 Sep  9 10:09 libmysqlclient.so.18.0.0
 66604110 Sep  9 10:10 libmysqld.a
 67165644 Sep  9 10:03 libmysqld-debug.a
     6916 Sep  9 10:06 libmysqlservices.a
   888700 Sep  9 09:59 libtcmalloc_minimal.so
     4096 Sep 16 11:13 plugin



I was able to move on with the original EPEL package via the following
two steps
1. locally install MySQL Python and 2. Explicitly setup the PYTHONPATH
to contain that local directory.

Now I hit another error.

Installing index for reviews.Comment model
Installing index

Re: rb-site install failed - ImportError: Entry point ('console_scripts', 'rb-site') not found

2011-09-17 Thread Nelson Jones


On Sep 16, 4:45 pm, Nelson Jones huawen@gmail.com wrote:
 On Sep 16, 3:02 pm, Stephen Gallagher step...@gallagherhome.com
 wrote:









  On Fri, 2011-09-16 at 11:36 -0700, Nelson Jones wrote:
   Switched with --console

   rb-site --console install /var/www/mysite1

   * Welcome to the Review Board site installation wizard

       This will prepare a Review Board site installation in:

       /var/www/mysite1

       We need to know a few things before we can prepare your site for
       installation. This will only take a few minutes.

   * Required modules are missing

       You are missing Python modules that are needed before the
       installation process. You will need to install the necessary
       modules and restart the install.

       Databases (required):
           * sqlite3 (pysqlite2, sqlite3)
           * MySQL (MySQLdb)
           * PostgreSQL (psycopg2)

   I have MySQL installed and MySQL-python-1.2.3 installed (Saw your
   warning before about-- I should warn you that there's one catch: MySQL
   doesn't work with this
   version because RHEL's copy of python-MySQL is too old (this is going
   to be fixed in RHEL 5.8). --) Thought this should took care
   of it?

  Hmm, version 1.2.3 SHOULD fix the issue. I wonder, did you install it in
  the right Python path? How did you install 1.2.3?

   But why rb-site still complained MySQLdb missing?

   Thanks,

   $/usr/lib  file -L _mysql.so
   _mysql.so: ELF 32-bit LSB shared object, Intel 80386, version 1
   (SYSV), not stripped

   $/usr/lib/python2.4/site-packages  ll MySMySQLdb/
   total 116
   -rwxr-xr-x 1 root 10930 Jun 17  2010 connections.py
   -rwxr-xr-x 1 root 11854 Sep 16 09:37 connections.pyc
   drwxr-xr-x 2 root  4096 Sep 16 09:37 constants
   -rwxr-xr-x 1 root  4624 Jun 17  2010 converters.py
   -rwxr-xr-x 1 root  5956 Sep 16 09:37 converters.pyc
   -rwxr-xr-x 1 root 16644 Jun 17  2010 cursors.py
   -rwxr-xr-x 1 root 18667 Sep 16 09:37 cursors.pyc
   -rwxr-xr-x 1 root  3121 Jun 17  2010 __init__.py
   -rwxr-xr-x 1 root  4218 Sep 16 09:37 __init__.pyc
   -rw--- 1 root   117 Sep 16 11:37 release.py
   -rwxr-xr-x 1 root   343 Sep 16 11:37 release.pyc
   -rwxr-xr-x 1 root  2845 Jun 17  2010 times.py
   -rwxr-xr-x 1 root  4335 Sep 16 09:37 times.pyc

   On Sep 16, 2:09 pm, Nelson Jones huawen@gmail.com wrote:
Installed EPEL package. But now I got a new exception.

rb-site install /var/www/mysite1
Traceback (most recent call last):
  File /usr/bin/rb-site, line 7, in ?
    sys.exit(
  File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
rbsite.py, line 1674, in main
    command.run()
  File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
rbsite.py, line 1193, in run
    self.print_introduction()
  File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
rbsite.py, line 1260, in print_introduction
    page = ui.page(Welcome to the Review Board site installation
wizard)
  File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
rbsite.py, line 875, in page
    image = gtk.image_new_from_file(logo_file)
AttributeError: 'module' object has no attribute 'image_new_from_file'

Please advise.

  Hmm, looks like there may be a GUI requirement that increased (without
  being mentioned in requires.txt.) I'll have to look into that and see if
  I can patch around it. In the meantime, you have the right idea with
  using the console version.

  Please file a BZ at bugzilla.redhat.com against ReviewBoard on Fedora
  EPEL.- Hide quoted text -

  - Show quoted text -- Hide quoted text -

  - Show quoted text -

 Downloaded package but no luck to install.

 rpm -ivh MySQL-python-1.2.3-0.c1.sgallagh.el5.i386.rpm
 error: Failed dependencies:
         libmysqlclient_r.so.15 is needed by MySQL-
 python-1.2.3-0.c1.sgallagh.el5.i386
         libmysqlclient_r.so.15(libmysqlclient_15) is needed by MySQL-
 python-1.2.3-0.c1.sgallagh.el5.i386

 Mine are 18 not 15.

 /var/mydir/mysql-5.5.16-linux2.6-i686/lib  ll

 10354460 Sep  9 10:09 libmysqlclient.a
       16 Sep 16 11:13 libmysqlclient_r.a - libmysqlclient.a
       17 Sep 16 11:13 libmysqlclient_r.so - libmysqlclient.so
       17 Sep 16 11:13 libmysqlclient_r.so.18 - libmysqlclient.so
       17 Sep 16 11:13 libmysqlclient_r.so.18.0.0 - libmysqlclient.so
       20 Sep 16 11:13 libmysqlclient.so - libmysqlclient.so.18
       24 Sep 16 11:13 libmysqlclient.so.18 - libmysqlclient.so.18.0.0
  6054381 Sep  9 10:09 libmysqlclient.so.18.0.0
 66604110 Sep  9 10:10 libmysqld.a
 67165644 Sep  9 10:03 libmysqld-debug.a
     6916 Sep  9 10:06 libmysqlservices.a
   888700 Sep  9 09:59 libtcmalloc_minimal.so
     4096 Sep 16 11:13 plugin



I was able to move on with original EPEL package via explicitly
setting PYTHONPATH.  But now I hit a new problem. Please advise.
Thanks
(Many times, after I sent a post, it indicated the post was sent
successfully but it never displays my post
so I had to post again. Am

Re: rb-site install failed - ImportError: Entry point ('console_scripts', 'rb-site') not found

2011-09-17 Thread Nelson Jones


On Sep 17, 10:56 am, Nelson Jones huawen@gmail.com wrote:
 On Sep 16, 4:45 pm, Nelson Jones huawen@gmail.com wrote:









  On Sep 16, 3:02 pm, Stephen Gallagher step...@gallagherhome.com
  wrote:

   On Fri, 2011-09-16 at 11:36 -0700, Nelson Jones wrote:
Switched with --console

rb-site --console install /var/www/mysite1

* Welcome to the Review Board site installation wizard

    This will prepare a Review Board site installation in:

    /var/www/mysite1

    We need to know a few things before we can prepare your site for
    installation. This will only take a few minutes.

* Required modules are missing

    You are missing Python modules that are needed before the
    installation process. You will need to install the necessary
    modules and restart the install.

    Databases (required):
        * sqlite3 (pysqlite2, sqlite3)
        * MySQL (MySQLdb)
        * PostgreSQL (psycopg2)

I have MySQL installed and MySQL-python-1.2.3 installed (Saw your
warning before about-- I should warn you that there's one catch: MySQL
doesn't work with this
version because RHEL's copy of python-MySQL is too old (this is going
to be fixed in RHEL 5.8). --) Thought this should took care
of it?

   Hmm, version 1.2.3 SHOULD fix the issue. I wonder, did you install it in
   the right Python path? How did you install 1.2.3?

But why rb-site still complained MySQLdb missing?

Thanks,

$/usr/lib  file -L _mysql.so
_mysql.so: ELF 32-bit LSB shared object, Intel 80386, version 1
(SYSV), not stripped

$/usr/lib/python2.4/site-packages  ll MySMySQLdb/
total 116
-rwxr-xr-x 1 root 10930 Jun 17  2010 connections.py
-rwxr-xr-x 1 root 11854 Sep 16 09:37 connections.pyc
drwxr-xr-x 2 root  4096 Sep 16 09:37 constants
-rwxr-xr-x 1 root  4624 Jun 17  2010 converters.py
-rwxr-xr-x 1 root  5956 Sep 16 09:37 converters.pyc
-rwxr-xr-x 1 root 16644 Jun 17  2010 cursors.py
-rwxr-xr-x 1 root 18667 Sep 16 09:37 cursors.pyc
-rwxr-xr-x 1 root  3121 Jun 17  2010 __init__.py
-rwxr-xr-x 1 root  4218 Sep 16 09:37 __init__.pyc
-rw--- 1 root   117 Sep 16 11:37 release.py
-rwxr-xr-x 1 root   343 Sep 16 11:37 release.pyc
-rwxr-xr-x 1 root  2845 Jun 17  2010 times.py
-rwxr-xr-x 1 root  4335 Sep 16 09:37 times.pyc

On Sep 16, 2:09 pm, Nelson Jones huawen@gmail.com wrote:
 Installed EPEL package. But now I got a new exception.

 rb-site install /var/www/mysite1
 Traceback (most recent call last):
   File /usr/bin/rb-site, line 7, in ?
     sys.exit(
   File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
 rbsite.py, line 1674, in main
     command.run()
   File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
 rbsite.py, line 1193, in run
     self.print_introduction()
   File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
 rbsite.py, line 1260, in print_introduction
     page = ui.page(Welcome to the Review Board site installation
 wizard)
   File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
 rbsite.py, line 875, in page
     image = gtk.image_new_from_file(logo_file)
 AttributeError: 'module' object has no attribute 'image_new_from_file'

 Please advise.

   Hmm, looks like there may be a GUI requirement that increased (without
   being mentioned in requires.txt.) I'll have to look into that and see if
   I can patch around it. In the meantime, you have the right idea with
   using the console version.

   Please file a BZ at bugzilla.redhat.com against ReviewBoard on Fedora
   EPEL.- Hide quoted text -

   - Show quoted text -- Hide quoted text -

   - Show quoted text -

  Downloaded package but no luck to install.

  rpm -ivh MySQL-python-1.2.3-0.c1.sgallagh.el5.i386.rpm
  error: Failed dependencies:
          libmysqlclient_r.so.15 is needed by MySQL-
  python-1.2.3-0.c1.sgallagh.el5.i386
          libmysqlclient_r.so.15(libmysqlclient_15) is needed by MySQL-
  python-1.2.3-0.c1.sgallagh.el5.i386

  Mine are 18 not 15.

  /var/mydir/mysql-5.5.16-linux2.6-i686/lib  ll

  10354460 Sep  9 10:09 libmysqlclient.a
        16 Sep 16 11:13 libmysqlclient_r.a - libmysqlclient.a
        17 Sep 16 11:13 libmysqlclient_r.so - libmysqlclient.so
        17 Sep 16 11:13 libmysqlclient_r.so.18 - libmysqlclient.so
        17 Sep 16 11:13 libmysqlclient_r.so.18.0.0 - libmysqlclient.so
        20 Sep 16 11:13 libmysqlclient.so - libmysqlclient.so.18
        24 Sep 16 11:13 libmysqlclient.so.18 - libmysqlclient.so.18.0.0
   6054381 Sep  9 10:09 libmysqlclient.so.18.0.0
  66604110 Sep  9 10:10 libmysqld.a
  67165644 Sep  9 10:03 libmysqld-debug.a
      6916 Sep  9 10:06 libmysqlservices.a
    888700 Sep  9 09:59 libtcmalloc_minimal.so
      4096 Sep 16 11:13 plugin

 I was able to move on with original EPEL package via explicitly
 setting PYTHONPATH.  But now I hit a new

Re: rb-site install failed - ImportError: Entry point ('console_scripts', 'rb-site') not found

2011-09-16 Thread Nelson Jones
Installed EPEL package. But now I got a new exception.

rb-site install /var/www/mysite1
Traceback (most recent call last):
  File /usr/bin/rb-site, line 7, in ?
sys.exit(
  File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
rbsite.py, line 1674, in main
command.run()
  File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
rbsite.py, line 1193, in run
self.print_introduction()
  File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
rbsite.py, line 1260, in print_introduction
page = ui.page(Welcome to the Review Board site installation
wizard)
  File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
rbsite.py, line 875, in page
image = gtk.image_new_from_file(logo_file)
AttributeError: 'module' object has no attribute 'image_new_from_file'

Please advise.

On Sep 15, 5:41 am, Stephen Gallagher step...@gallagherhome.com
wrote:
 If you follow the instructions on the EPEL page, you can install the EPEL
 yum repo and then just do
 yum install ReviewBoard
 which will resolve dependencies for you.



 On Wed, Sep 14, 2011 at 9:11 PM, Nelson Jones huawen@gmail.com wrote:
  I think you are right it is Red Hat 5.
  I did some search and found this one : ReviewBoard-1.5.6-2.el5 RPM for
  noarch
  It did mention it require the following packages

  Requires

  /usr/bin/env
  /usr/bin/python
  Django = 1.1.1
  django-evolution = 0.6.5
  httpd
  patchutils
  pysvn
  python(abi) = 2.4
  python-dateutil
  python-djblets
  python-flup
  python-imaging
  python-memcached
  python-nose
  python-paramiko
  python-pygments
  python-recaptcha-client
  python-sqlite
  pytz
  rpmlib(CompressedFileNames) = 3.0.4-1
  rpmlib(PayloadFilesHavePrefix) = 4.0-1

  Do I have to individually download and install each of them? Or the
  rpm install will automatically install these for me?

  Thanks,

  On Sep 14, 8:53 pm, Stephen Gallagher step...@gallagherhome.com
  wrote:
   If you're using Red Hat Enterprise Linux 5.x (I'm guessing 5.2, not 2.5),
   you might want to try using the 1.5.6 RPM I maintain in EPEL.

   See  http://fedoraproject.org/wiki/EPELfordetails on how to get it set
  up.

   I should warn you that there's one catch: MySQL doesn't work with this
   version because RHEL's copy of python-MySQL is too old (this is going to
  be
   fixed in RHEL 5.8).

   But this RPM should make it easier to get up and running on RHEL 5.

   On Wed, Sep 14, 2011 at 6:32 PM, Nelson Jones huawen@gmail.com
  wrote:
So are you saying we should stay on Python 2.4?

But with 2.4, after installing the required packages

python-setuptools
python-devel
ReviewBoard

rb-site crashed due to missing packages.
$ rb-site install /var/www/myrb
Traceback (most recent call last):
 File /usr/bin/rb-site, line 7, in ?
   sys.exit(
 File /usr/lib/python2.4/site-packages/pkg_resources.py, line 236,
in load_entry_point
   return get_distribution(dist).load_entry_point(group, name)
 File /usr/lib/python2.4/site-packages/pkg_resources.py, line
2096,
in load_entry_point
   raise ImportError(Entry point %r not found % ((group,name),))
ImportError: Entry point ('console_scripts', 'rb-site') not found

And as displayed above, the Django was not installed either.

So with Python 2.4,  did I miss any step to cause the library missing
issue?
Please advise.

Btw, I am using Red Hat 2.5 which seems to ship Python 2.4 by
default.

Thanks,

On Sep 14, 3:05 pm, Christian Hammond chip...@chipx86.com wrote:
 We can't really support a custom Python install. I would suggest if
  your
 distro doesn't ship 2.7, just use the latest it does ship. 2.7 won't
  gain
 you anything with RB.

 If you install 2.7 and the distro doesn't provide it, yum won't be
  able
to
 find any compatible modules for you.

 Christian

 On Wednesday, September 14, 2011, Nelson Jones huawen@gmail.com

wrote:
  I am using Python 2.7.2 compressed source tarball (for Linux, Unix
  or
  Mac OS X) fromwww.python.org.

  Built from the source and did install via make install.

  However, nothing was created under /usr/lib such as /usr/lib/
  python2.7.  I guess that is a result of not installing  python27-
  devel ?

  yum list python-devel
  Loaded plugins: kmod, security
  Installed Packages
  python-
  devel.i386
  2.4.3-44.el5
  installed
  python-
  devel.x86_64
  2.4.3-44.el5
  installed

  yum list python-setuptools
  Loaded plugins: kmod, security
  Installed Packages
  python-
  setuptools.noarch
  0.6c5-2.el5
  installed

  They are  under python2.4

  /usr/lib/python2.4/site-packages  ll
  total 1080
  -rw-r--r-- 1 root  14223 Sep  7  2006 aotcompile.py
  -rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyc
  -rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyo
  -rw-r--r-- 1 root   7389

Re: rb-site install failed - ImportError: Entry point ('console_scripts', 'rb-site') not found

2011-09-16 Thread Nelson Jones
Installed EPEL package. But now I got a new exception.

rb-site install /var/www/mysite1
Traceback (most recent call last):
  File /usr/bin/rb-site, line 7, in ?
sys.exit(
  File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
rbsite.py, line 1674, in main
command.run()
  File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
rbsite.py, line 1193, in run
self.print_introduction()
  File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
rbsite.py, line 1260, in print_introduction
page = ui.page(Welcome to the Review Board site installation
wizard)
  File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
rbsite.py, line 875, in page
image = gtk.image_new_from_file(logo_file)
AttributeError: 'module' object has no attribute 'image_new_from_file'

Please advise.

On Sep 15, 5:41 am, Stephen Gallagher step...@gallagherhome.com
wrote:
 If you follow the instructions on the EPEL page, you can install the EPEL
 yum repo and then just do
 yum install ReviewBoard
 which will resolve dependencies for you.



 On Wed, Sep 14, 2011 at 9:11 PM, Nelson Jones huawen@gmail.com wrote:
  I think you are right it is Red Hat 5.
  I did some search and found this one : ReviewBoard-1.5.6-2.el5 RPM for
  noarch
  It did mention it require the following packages

  Requires

  /usr/bin/env
  /usr/bin/python
  Django = 1.1.1
  django-evolution = 0.6.5
  httpd
  patchutils
  pysvn
  python(abi) = 2.4
  python-dateutil
  python-djblets
  python-flup
  python-imaging
  python-memcached
  python-nose
  python-paramiko
  python-pygments
  python-recaptcha-client
  python-sqlite
  pytz
  rpmlib(CompressedFileNames) = 3.0.4-1
  rpmlib(PayloadFilesHavePrefix) = 4.0-1

  Do I have to individually download and install each of them? Or the
  rpm install will automatically install these for me?

  Thanks,

  On Sep 14, 8:53 pm, Stephen Gallagher step...@gallagherhome.com
  wrote:
   If you're using Red Hat Enterprise Linux 5.x (I'm guessing 5.2, not 2.5),
   you might want to try using the 1.5.6 RPM I maintain in EPEL.

   See  http://fedoraproject.org/wiki/EPELfordetails on how to get it set
  up.

   I should warn you that there's one catch: MySQL doesn't work with this
   version because RHEL's copy of python-MySQL is too old (this is going to
  be
   fixed in RHEL 5.8).

   But this RPM should make it easier to get up and running on RHEL 5.

   On Wed, Sep 14, 2011 at 6:32 PM, Nelson Jones huawen@gmail.com
  wrote:
So are you saying we should stay on Python 2.4?

But with 2.4, after installing the required packages

python-setuptools
python-devel
ReviewBoard

rb-site crashed due to missing packages.
$ rb-site install /var/www/myrb
Traceback (most recent call last):
 File /usr/bin/rb-site, line 7, in ?
   sys.exit(
 File /usr/lib/python2.4/site-packages/pkg_resources.py, line 236,
in load_entry_point
   return get_distribution(dist).load_entry_point(group, name)
 File /usr/lib/python2.4/site-packages/pkg_resources.py, line
2096,
in load_entry_point
   raise ImportError(Entry point %r not found % ((group,name),))
ImportError: Entry point ('console_scripts', 'rb-site') not found

And as displayed above, the Django was not installed either.

So with Python 2.4,  did I miss any step to cause the library missing
issue?
Please advise.

Btw, I am using Red Hat 2.5 which seems to ship Python 2.4 by
default.

Thanks,

On Sep 14, 3:05 pm, Christian Hammond chip...@chipx86.com wrote:
 We can't really support a custom Python install. I would suggest if
  your
 distro doesn't ship 2.7, just use the latest it does ship. 2.7 won't
  gain
 you anything with RB.

 If you install 2.7 and the distro doesn't provide it, yum won't be
  able
to
 find any compatible modules for you.

 Christian

 On Wednesday, September 14, 2011, Nelson Jones huawen@gmail.com

wrote:
  I am using Python 2.7.2 compressed source tarball (for Linux, Unix
  or
  Mac OS X) fromwww.python.org.

  Built from the source and did install via make install.

  However, nothing was created under /usr/lib such as /usr/lib/
  python2.7.  I guess that is a result of not installing  python27-
  devel ?

  yum list python-devel
  Loaded plugins: kmod, security
  Installed Packages
  python-
  devel.i386
  2.4.3-44.el5
  installed
  python-
  devel.x86_64
  2.4.3-44.el5
  installed

  yum list python-setuptools
  Loaded plugins: kmod, security
  Installed Packages
  python-
  setuptools.noarch
  0.6c5-2.el5
  installed

  They are  under python2.4

  /usr/lib/python2.4/site-packages  ll
  total 1080
  -rw-r--r-- 1 root  14223 Sep  7  2006 aotcompile.py
  -rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyc
  -rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyo
  -rw-r--r-- 1 root   7389

Re: rb-site install failed - ImportError: Entry point ('console_scripts', 'rb-site') not found

2011-09-16 Thread Nelson Jones
Switched with --console

rb-site --console install /var/www/mysite1


* Welcome to the Review Board site installation wizard

This will prepare a Review Board site installation in:

/var/www/mysite1


We need to know a few things before we can prepare your site for
installation. This will only take a few minutes.


* Required modules are missing

You are missing Python modules that are needed before the
installation process. You will need to install the necessary
modules and restart the install.

Databases (required):
* sqlite3 (pysqlite2, sqlite3)
* MySQL (MySQLdb)
* PostgreSQL (psycopg2)


I have MySQL installed and MySQL-python-1.2.3 installed (Saw your
warning before about-- I should warn you that there's one catch: MySQL
doesn't work with this
version because RHEL's copy of python-MySQL is too old (this is going
to be fixed in RHEL 5.8). --) Thought this should took care
of it?

But why rb-site still complained MySQLdb missing?

Thanks,

$/usr/lib  file -L _mysql.so
_mysql.so: ELF 32-bit LSB shared object, Intel 80386, version 1
(SYSV), not stripped

$/usr/lib/python2.4/site-packages  ll MySMySQLdb/
total 116
-rwxr-xr-x 1 root 10930 Jun 17  2010 connections.py
-rwxr-xr-x 1 root 11854 Sep 16 09:37 connections.pyc
drwxr-xr-x 2 root  4096 Sep 16 09:37 constants
-rwxr-xr-x 1 root  4624 Jun 17  2010 converters.py
-rwxr-xr-x 1 root  5956 Sep 16 09:37 converters.pyc
-rwxr-xr-x 1 root 16644 Jun 17  2010 cursors.py
-rwxr-xr-x 1 root 18667 Sep 16 09:37 cursors.pyc
-rwxr-xr-x 1 root  3121 Jun 17  2010 __init__.py
-rwxr-xr-x 1 root  4218 Sep 16 09:37 __init__.pyc
-rw--- 1 root   117 Sep 16 11:37 release.py
-rwxr-xr-x 1 root   343 Sep 16 11:37 release.pyc
-rwxr-xr-x 1 root  2845 Jun 17  2010 times.py
-rwxr-xr-x 1 root  4335 Sep 16 09:37 times.pyc


On Sep 16, 2:09 pm, Nelson Jones huawen@gmail.com wrote:
 Installed EPEL package. But now I got a new exception.

 rb-site install /var/www/mysite1
 Traceback (most recent call last):
   File /usr/bin/rb-site, line 7, in ?
     sys.exit(
   File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
 rbsite.py, line 1674, in main
     command.run()
   File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
 rbsite.py, line 1193, in run
     self.print_introduction()
   File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
 rbsite.py, line 1260, in print_introduction
     page = ui.page(Welcome to the Review Board site installation
 wizard)
   File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
 rbsite.py, line 875, in page
     image = gtk.image_new_from_file(logo_file)
 AttributeError: 'module' object has no attribute 'image_new_from_file'

 Please advise.

 On Sep 15, 5:41 am, Stephen Gallagher step...@gallagherhome.com
 wrote:



  If you follow the instructions on the EPEL page, you can install the EPEL
  yum repo and then just do
  yum install ReviewBoard
  which will resolve dependencies for you.

  On Wed, Sep 14, 2011 at 9:11 PM, Nelson Jones huawen@gmail.com wrote:
   I think you are right it is Red Hat 5.
   I did some search and found this one : ReviewBoard-1.5.6-2.el5 RPM for
   noarch
   It did mention it require the following packages

   Requires

   /usr/bin/env
   /usr/bin/python
   Django = 1.1.1
   django-evolution = 0.6.5
   httpd
   patchutils
   pysvn
   python(abi) = 2.4
   python-dateutil
   python-djblets
   python-flup
   python-imaging
   python-memcached
   python-nose
   python-paramiko
   python-pygments
   python-recaptcha-client
   python-sqlite
   pytz
   rpmlib(CompressedFileNames) = 3.0.4-1
   rpmlib(PayloadFilesHavePrefix) = 4.0-1

   Do I have to individually download and install each of them? Or the
   rpm install will automatically install these for me?

   Thanks,

   On Sep 14, 8:53 pm, Stephen Gallagher step...@gallagherhome.com
   wrote:
If you're using Red Hat Enterprise Linux 5.x (I'm guessing 5.2, not 
2.5),
you might want to try using the 1.5.6 RPM I maintain in EPEL.

See  http://fedoraproject.org/wiki/EPELfordetailson how to get it set
   up.

I should warn you that there's one catch: MySQL doesn't work with this
version because RHEL's copy of python-MySQL is too old (this is going to
   be
fixed in RHEL 5.8).

But this RPM should make it easier to get up and running on RHEL 5.

On Wed, Sep 14, 2011 at 6:32 PM, Nelson Jones huawen@gmail.com
   wrote:
 So are you saying we should stay on Python 2.4?

 But with 2.4, after installing the required packages

 python-setuptools
 python-devel
 ReviewBoard

 rb-site crashed due to missing packages.
 $ rb-site install /var/www/myrb
 Traceback (most recent call last):
  File /usr/bin/rb-site, line 7, in ?
    sys.exit(
  File /usr/lib/python2.4/site-packages/pkg_resources.py, line 236,
 in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File /usr/lib/python2.4/site

Re: rb-site install failed - ImportError: Entry point ('console_scripts', 'rb-site') not found

2011-09-16 Thread Nelson Jones
Hi,

Here is the path
 ll -d /usr/lib/_mysql.so
-rwxr-xr-x 1 root 111441 Sep 16 11:35 /usr/lib/_mysql.so
ll -d /usr/lib/python2.4/site-packages/My*
drwxr-xr-x 3 root 4096 Sep 16 11:37 /usr/lib/python2.4/site-packages/
MySQLdb

I build from the source  MySQL-python-1.2.3.tar.gz
By default,
python setup.py build
python setup.py install

MySQL-python-1.2.3 was installed under /usr/lib64.

rb-site failed (missing db) .  I thought 64bit was wrong.

Rebuild it with 32 bit
CFLAGS=-m32 python setup.py build
CFLAGS=-m32 python setup.py install

Got 32 bit.

But installation still went to /usr/lib64

Moved the library from /usr/lib64 to /usr/lib

mv /usr/lib64/python2.4/site-packages/MySQLdb /usr/lib/python2.4/site-
packages/
mv /usr/lib64/python2.4/site-packages/_mysql.so /usr/lib

rb-site still failed with missing db.

On Sep 16, 3:02 pm, Stephen Gallagher step...@gallagherhome.com
wrote:
 On Fri, 2011-09-16 at 11:36 -0700, Nelson Jones wrote:
  Switched with --console

  rb-site --console install /var/www/mysite1

  * Welcome to the Review Board site installation wizard

      This will prepare a Review Board site installation in:

      /var/www/mysite1

      We need to know a few things before we can prepare your site for
      installation. This will only take a few minutes.

  * Required modules are missing

      You are missing Python modules that are needed before the
      installation process. You will need to install the necessary
      modules and restart the install.

      Databases (required):
          * sqlite3 (pysqlite2, sqlite3)
          * MySQL (MySQLdb)
          * PostgreSQL (psycopg2)

  I have MySQL installed and MySQL-python-1.2.3 installed (Saw your
  warning before about-- I should warn you that there's one catch: MySQL
  doesn't work with this
  version because RHEL's copy of python-MySQL is too old (this is going
  to be fixed in RHEL 5.8). --) Thought this should took care
  of it?

 Hmm, version 1.2.3 SHOULD fix the issue. I wonder, did you install it in
 the right Python path? How did you install 1.2.3?





  But why rb-site still complained MySQLdb missing?

  Thanks,

  $/usr/lib  file -L _mysql.so
  _mysql.so: ELF 32-bit LSB shared object, Intel 80386, version 1
  (SYSV), not stripped

  $/usr/lib/python2.4/site-packages  ll MySMySQLdb/
  total 116
  -rwxr-xr-x 1 root 10930 Jun 17  2010 connections.py
  -rwxr-xr-x 1 root 11854 Sep 16 09:37 connections.pyc
  drwxr-xr-x 2 root  4096 Sep 16 09:37 constants
  -rwxr-xr-x 1 root  4624 Jun 17  2010 converters.py
  -rwxr-xr-x 1 root  5956 Sep 16 09:37 converters.pyc
  -rwxr-xr-x 1 root 16644 Jun 17  2010 cursors.py
  -rwxr-xr-x 1 root 18667 Sep 16 09:37 cursors.pyc
  -rwxr-xr-x 1 root  3121 Jun 17  2010 __init__.py
  -rwxr-xr-x 1 root  4218 Sep 16 09:37 __init__.pyc
  -rw--- 1 root   117 Sep 16 11:37 release.py
  -rwxr-xr-x 1 root   343 Sep 16 11:37 release.pyc
  -rwxr-xr-x 1 root  2845 Jun 17  2010 times.py
  -rwxr-xr-x 1 root  4335 Sep 16 09:37 times.pyc

  On Sep 16, 2:09 pm, Nelson Jones huawen@gmail.com wrote:
   Installed EPEL package. But now I got a new exception.

   rb-site install /var/www/mysite1
   Traceback (most recent call last):
     File /usr/bin/rb-site, line 7, in ?
       sys.exit(
     File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
   rbsite.py, line 1674, in main
       command.run()
     File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
   rbsite.py, line 1193, in run
       self.print_introduction()
     File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
   rbsite.py, line 1260, in print_introduction
       page = ui.page(Welcome to the Review Board site installation
   wizard)
     File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
   rbsite.py, line 875, in page
       image = gtk.image_new_from_file(logo_file)
   AttributeError: 'module' object has no attribute 'image_new_from_file'

   Please advise.

 Hmm, looks like there may be a GUI requirement that increased (without
 being mentioned in requires.txt.) I'll have to look into that and see if
 I can patch around it. In the meantime, you have the right idea with
 using the console version.

 Please file a BZ at bugzilla.redhat.com against ReviewBoard on Fedora
 EPEL.- Hide quoted text -

 - Show quoted text -- 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 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: rb-site install failed - ImportError: Entry point ('console_scripts', 'rb-site') not found

2011-09-16 Thread Nelson Jones


On Sep 16, 3:49 pm, Stephen Gallagher step...@gallagherhome.com
wrote:
 On Fri, 2011-09-16 at 12:36 -0700, Nelson Jones wrote:
  Hi,

  Here is the path
   ll -d /usr/lib/_mysql.so
  -rwxr-xr-x 1 root 111441 Sep 16 11:35 /usr/lib/_mysql.so
  ll -d /usr/lib/python2.4/site-packages/My*
  drwxr-xr-x 3 root 4096 Sep 16 11:37 /usr/lib/python2.4/site-packages/
  MySQLdb

  I build from the source  MySQL-python-1.2.3.tar.gz
  By default,
  python setup.py build
  python setup.py install

  MySQL-python-1.2.3 was installed under /usr/lib64.

  rb-site failed (missing db) .  I thought 64bit was wrong.

  Rebuild it with 32 bit
  CFLAGS=-m32 python setup.py build
  CFLAGS=-m32 python setup.py install

  Got 32 bit.

  But installation still went to /usr/lib64

  Moved the library from /usr/lib64 to /usr/lib

  mv /usr/lib64/python2.4/site-packages/MySQLdb /usr/lib/python2.4/site-
  packages/
  mv /usr/lib64/python2.4/site-packages/_mysql.so /usr/lib

  rb-site still failed with missing db.

 Could you try:http://koji.fedoraproject.org/koji/taskinfo?taskID=3356271

 I did a scratch-build from the newer Fedora packages. Hopefully that
 will work for you.

 Please also open that BZ about the GTK GUI.- Hide quoted text -

 - Show quoted text -
Got it never mind.

-- 
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: rb-site install failed - ImportError: Entry point ('console_scripts', 'rb-site') not found

2011-09-16 Thread Nelson Jones


On Sep 16, 3:49 pm, Stephen Gallagher step...@gallagherhome.com
wrote:
 On Fri, 2011-09-16 at 12:36 -0700, Nelson Jones wrote:
  Hi,

  Here is the path
   ll -d /usr/lib/_mysql.so
  -rwxr-xr-x 1 root 111441 Sep 16 11:35 /usr/lib/_mysql.so
  ll -d /usr/lib/python2.4/site-packages/My*
  drwxr-xr-x 3 root 4096 Sep 16 11:37 /usr/lib/python2.4/site-packages/
  MySQLdb

  I build from the source  MySQL-python-1.2.3.tar.gz
  By default,
  python setup.py build
  python setup.py install

  MySQL-python-1.2.3 was installed under /usr/lib64.

  rb-site failed (missing db) .  I thought 64bit was wrong.

  Rebuild it with 32 bit
  CFLAGS=-m32 python setup.py build
  CFLAGS=-m32 python setup.py install

  Got 32 bit.

  But installation still went to /usr/lib64

  Moved the library from /usr/lib64 to /usr/lib

  mv /usr/lib64/python2.4/site-packages/MySQLdb /usr/lib/python2.4/site-
  packages/
  mv /usr/lib64/python2.4/site-packages/_mysql.so /usr/lib

  rb-site still failed with missing db.

 Could you try:http://koji.fedoraproject.org/koji/taskinfo?taskID=3356271

 I did a scratch-build from the newer Fedora packages. Hopefully that
 will work for you.

 Please also open that BZ about the GTK GUI.- Hide quoted text -

 - Show quoted text -

I am new to Fedora build system. How do I get the download pls?
I alredy filed BZ. Bug 739209
thanks,

-- 
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: rb-site install failed - ImportError: Entry point ('console_scripts', 'rb-site') not found

2011-09-16 Thread Nelson Jones


On Sep 16, 3:02 pm, Stephen Gallagher step...@gallagherhome.com
wrote:
 On Fri, 2011-09-16 at 11:36 -0700, Nelson Jones wrote:
  Switched with --console

  rb-site --console install /var/www/mysite1

  * Welcome to the Review Board site installation wizard

      This will prepare a Review Board site installation in:

      /var/www/mysite1

      We need to know a few things before we can prepare your site for
      installation. This will only take a few minutes.

  * Required modules are missing

      You are missing Python modules that are needed before the
      installation process. You will need to install the necessary
      modules and restart the install.

      Databases (required):
          * sqlite3 (pysqlite2, sqlite3)
          * MySQL (MySQLdb)
          * PostgreSQL (psycopg2)

  I have MySQL installed and MySQL-python-1.2.3 installed (Saw your
  warning before about-- I should warn you that there's one catch: MySQL
  doesn't work with this
  version because RHEL's copy of python-MySQL is too old (this is going
  to be fixed in RHEL 5.8). --) Thought this should took care
  of it?

 Hmm, version 1.2.3 SHOULD fix the issue. I wonder, did you install it in
 the right Python path? How did you install 1.2.3?





  But why rb-site still complained MySQLdb missing?

  Thanks,

  $/usr/lib  file -L _mysql.so
  _mysql.so: ELF 32-bit LSB shared object, Intel 80386, version 1
  (SYSV), not stripped

  $/usr/lib/python2.4/site-packages  ll MySMySQLdb/
  total 116
  -rwxr-xr-x 1 root 10930 Jun 17  2010 connections.py
  -rwxr-xr-x 1 root 11854 Sep 16 09:37 connections.pyc
  drwxr-xr-x 2 root  4096 Sep 16 09:37 constants
  -rwxr-xr-x 1 root  4624 Jun 17  2010 converters.py
  -rwxr-xr-x 1 root  5956 Sep 16 09:37 converters.pyc
  -rwxr-xr-x 1 root 16644 Jun 17  2010 cursors.py
  -rwxr-xr-x 1 root 18667 Sep 16 09:37 cursors.pyc
  -rwxr-xr-x 1 root  3121 Jun 17  2010 __init__.py
  -rwxr-xr-x 1 root  4218 Sep 16 09:37 __init__.pyc
  -rw--- 1 root   117 Sep 16 11:37 release.py
  -rwxr-xr-x 1 root   343 Sep 16 11:37 release.pyc
  -rwxr-xr-x 1 root  2845 Jun 17  2010 times.py
  -rwxr-xr-x 1 root  4335 Sep 16 09:37 times.pyc

  On Sep 16, 2:09 pm, Nelson Jones huawen@gmail.com wrote:
   Installed EPEL package. But now I got a new exception.

   rb-site install /var/www/mysite1
   Traceback (most recent call last):
     File /usr/bin/rb-site, line 7, in ?
       sys.exit(
     File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
   rbsite.py, line 1674, in main
       command.run()
     File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
   rbsite.py, line 1193, in run
       self.print_introduction()
     File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
   rbsite.py, line 1260, in print_introduction
       page = ui.page(Welcome to the Review Board site installation
   wizard)
     File /usr/lib/python2.4/site-packages/reviewboard/cmdline/
   rbsite.py, line 875, in page
       image = gtk.image_new_from_file(logo_file)
   AttributeError: 'module' object has no attribute 'image_new_from_file'

   Please advise.

 Hmm, looks like there may be a GUI requirement that increased (without
 being mentioned in requires.txt.) I'll have to look into that and see if
 I can patch around it. In the meantime, you have the right idea with
 using the console version.

 Please file a BZ at bugzilla.redhat.com against ReviewBoard on Fedora
 EPEL.- Hide quoted text -

 - Show quoted text -- Hide quoted text -

 - Show quoted text -

Downloaded package but no luck to install.

rpm -ivh MySQL-python-1.2.3-0.c1.sgallagh.el5.i386.rpm
error: Failed dependencies:
libmysqlclient_r.so.15 is needed by MySQL-
python-1.2.3-0.c1.sgallagh.el5.i386
libmysqlclient_r.so.15(libmysqlclient_15) is needed by MySQL-
python-1.2.3-0.c1.sgallagh.el5.i386

Mine are 18 not 15.

/var/mydir/mysql-5.5.16-linux2.6-i686/lib  ll

10354460 Sep  9 10:09 libmysqlclient.a
  16 Sep 16 11:13 libmysqlclient_r.a - libmysqlclient.a
  17 Sep 16 11:13 libmysqlclient_r.so - libmysqlclient.so
  17 Sep 16 11:13 libmysqlclient_r.so.18 - libmysqlclient.so
  17 Sep 16 11:13 libmysqlclient_r.so.18.0.0 - libmysqlclient.so
  20 Sep 16 11:13 libmysqlclient.so - libmysqlclient.so.18
  24 Sep 16 11:13 libmysqlclient.so.18 - libmysqlclient.so.18.0.0
 6054381 Sep  9 10:09 libmysqlclient.so.18.0.0
66604110 Sep  9 10:10 libmysqld.a
67165644 Sep  9 10:03 libmysqld-debug.a
6916 Sep  9 10:06 libmysqlservices.a
  888700 Sep  9 09:59 libtcmalloc_minimal.so
4096 Sep 16 11:13 plugin


-- 
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: rb-site install failed - ImportError: Entry point ('console_scripts', 'rb-site') not found

2011-09-14 Thread Nelson Jones
I am using Python 2.7.2 compressed source tarball (for Linux, Unix or
Mac OS X) from www.python.org.

Built from the source and did install via make install.

However, nothing was created under /usr/lib such as /usr/lib/
python2.7.  I guess that is a result of not installing  python27-
devel ?

yum list python-devel
Loaded plugins: kmod, security
Installed Packages
python-
devel.i386
2.4.3-44.el5
installed
python-
devel.x86_64
2.4.3-44.el5
installed

yum list python-setuptools
Loaded plugins: kmod, security
Installed Packages
python-
setuptools.noarch
0.6c5-2.el5
installed

They are  under python2.4

/usr/lib/python2.4/site-packages  ll
total 1080
-rw-r--r-- 1 root  14223 Sep  7  2006 aotcompile.py
-rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyc
-rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyo
-rw-r--r-- 1 root   7389 Aug 30  2006 classfile.py
-rw-r--r-- 1 root   7671 Apr 17  2008 classfile.pyc
-rw-r--r-- 1 root   7441 Apr 17  2008 classfile.pyo
-rwxr-xr-x 1 root   4996 Jun 20  2007 cracklibmodule.so
-rw--- 1 root368 Sep 13 15:10 easy-install.pth
drwxr-xr-x 2 root   4096 Jun 17 08:05 elementtree
drwxr-xr-x 2 root   4096 Jun 17 08:06 iniparse
-rw-r--r-- 1 root  39388 Oct 20  2008 instnum.py
-rw-r--r-- 1 root  30738 Oct 20  2008 instnum.pyc
-rw-r--r-- 1 root  30738 Oct 20  2008 instnum.pyo
-rw--- 1 root 294582 Sep 13 15:10 paramiko-1.7.7.1-py2.4.egg
drwx-- 4 root   4096 Sep 13 15:10 python_dateutil-1.5-py2.4.egg
drwx-- 3 root   4096 Sep 13 15:10 python_memcached-1.47-py2.4.egg
-rw--- 1 root 508900 Sep 13 15:10 pytz-2011h-py2.4.egg
-rw--- 1 root   8428 Sep 13 15:10 recaptcha_client-1.0.6-py2.4.egg
drwx-- 5 root   4096 Sep 13 15:10 ReviewBoard-1.6.1-py2.4.egg
drwxr-xr-x 2 root   4096 Jun 17 08:12 rhn
drwxr-xr-x 2 root   4096 Jun 17 08:12 rpmUtils
drwxr-xr-x 3 root   4096 Jun 17 08:12 sos
drwxr-xr-x 2 root   4096 Jun 17 08:12 urlgrabber
drwxr-xr-x 2 root   4096 Jun 17 08:12 yum

And not 2.7

And I can't install them to 2.7.

#yum update python-setuptools
Loaded plugins: kmod, security
Skipping security plugin, no data
Setting up Update Process
No Packages marked for Update
# yum update python-devel
Loaded plugins: kmod, security
Skipping security plugin, no data
Setting up Update Process
No Packages marked for Update

What might I missed?

Thanks

On Sep 14, 2:45 am, Christian Hammond chip...@chipx86.com wrote:
 You can't move the packages to 2.7. You have to re-install.  It looks like
 you may have tried that, and that's why it broke?

 You need to make sure easy_install is working with Python 2.7, or you're
 using easy_install-2.7 (if provided by your distro), and then install the
 packages.

 You don't need to remove anything from 2.4, and moving packages from 2.4
 into 2.7 will just break things.

 What distro are you using?

 Christian

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



 On Tue, Sep 13, 2011 at 7:32 PM, Nelson Jones huawen@gmail.com wrote:
  Do I need to remove
  python-setuptools
  python-devel
  ReviewBoard

  from Python 2.4?
  And install them int Python 2.7?
  How do I remove these egg files?

  Thanks,

  On Sep 13, 9:16 pm, Nelson Jones huawen@gmail.com wrote:
   when I ran rb-site install. I got the following error.
   $ rb-site install /var/www/myrb
   Traceback (most recent call last):
     File /usr/bin/rb-site, line 7, in ?
       sys.exit(
     File /usr/lib/python2.4/site-packages/pkg_resources.py, line 236,
   in load_entry_point
       return get_distribution(dist).load_entry_point(group, name)
     File /usr/lib/python2.4/site-packages/pkg_resources.py, line 2096,
   in load_entry_point
       raise ImportError(Entry point %r not found % ((group,name),))
   ImportError: Entry point ('console_scripts', 'rb-site') not found

   What might be my problem?

   The followings had been installed

   python-setuptools
   python-devel
   memcached
   patch
   ReviewBoard

   Python was 2.4 before these installation, and then upgraded to 2.7
   after the above installations.

   Thanks,

  --
  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 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: rb-site install failed - ImportError: Entry point ('console_scripts', 'rb-site') not found

2011-09-14 Thread Nelson Jones
So are you saying we should stay on Python 2.4?

But with 2.4, after installing the required packages

python-setuptools
python-devel
ReviewBoard

rb-site crashed due to missing packages.
$ rb-site install /var/www/myrb
Traceback (most recent call last):
  File /usr/bin/rb-site, line 7, in ?
sys.exit(
  File /usr/lib/python2.4/site-packages/pkg_resources.py, line 236,
in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
  File /usr/lib/python2.4/site-packages/pkg_resources.py, line
2096,
in load_entry_point
raise ImportError(Entry point %r not found % ((group,name),))
ImportError: Entry point ('console_scripts', 'rb-site') not found


And as displayed above, the Django was not installed either.

So with Python 2.4,  did I miss any step to cause the library missing
issue?
Please advise.

Btw, I am using Red Hat 2.5 which seems to ship Python 2.4 by
default.

Thanks,


On Sep 14, 3:05 pm, Christian Hammond chip...@chipx86.com wrote:
 We can't really support a custom Python install. I would suggest if your
 distro doesn't ship 2.7, just use the latest it does ship. 2.7 won't gain
 you anything with RB.

 If you install 2.7 and the distro doesn't provide it, yum won't be able to
 find any compatible modules for you.

 Christian









 On Wednesday, September 14, 2011, Nelson Jones huawen@gmail.com wrote:
  I am using Python 2.7.2 compressed source tarball (for Linux, Unix or
  Mac OS X) fromwww.python.org.

  Built from the source and did install via make install.

  However, nothing was created under /usr/lib such as /usr/lib/
  python2.7.  I guess that is a result of not installing  python27-
  devel ?

  yum list python-devel
  Loaded plugins: kmod, security
  Installed Packages
  python-
  devel.i386
  2.4.3-44.el5
  installed
  python-
  devel.x86_64
  2.4.3-44.el5
  installed

  yum list python-setuptools
  Loaded plugins: kmod, security
  Installed Packages
  python-
  setuptools.noarch
  0.6c5-2.el5
  installed

  They are  under python2.4

  /usr/lib/python2.4/site-packages  ll
  total 1080
  -rw-r--r-- 1 root  14223 Sep  7  2006 aotcompile.py
  -rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyc
  -rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyo
  -rw-r--r-- 1 root   7389 Aug 30  2006 classfile.py
  -rw-r--r-- 1 root   7671 Apr 17  2008 classfile.pyc
  -rw-r--r-- 1 root   7441 Apr 17  2008 classfile.pyo
  -rwxr-xr-x 1 root   4996 Jun 20  2007 cracklibmodule.so
  -rw--- 1 root    368 Sep 13 15:10 easy-install.pth
  drwxr-xr-x 2 root   4096 Jun 17 08:05 elementtree
  drwxr-xr-x 2 root   4096 Jun 17 08:06 iniparse
  -rw-r--r-- 1 root  39388 Oct 20  2008 instnum.py
  -rw-r--r-- 1 root  30738 Oct 20  2008 instnum.pyc
  -rw-r--r-- 1 root  30738 Oct 20  2008 instnum.pyo
  -rw--- 1 root 294582 Sep 13 15:10 paramiko-1.7.7.1-py2.4.egg
  drwx-- 4 root   4096 Sep 13 15:10 python_dateutil-1.5-py2.4.egg
  drwx-- 3 root   4096 Sep 13 15:10 python_memcached-1.47-py2.4.egg
  -rw--- 1 root 508900 Sep 13 15:10 pytz-2011h-py2.4.egg
  -rw--- 1 root   8428 Sep 13 15:10 recaptcha_client-1.0.6-py2.4.egg
  drwx-- 5 root   4096 Sep 13 15:10 ReviewBoard-1.6.1-py2.4.egg
  drwxr-xr-x 2 root   4096 Jun 17 08:12 rhn
  drwxr-xr-x 2 root   4096 Jun 17 08:12 rpmUtils
  drwxr-xr-x 3 root   4096 Jun 17 08:12 sos
  drwxr-xr-x 2 root   4096 Jun 17 08:12 urlgrabber
  drwxr-xr-x 2 root   4096 Jun 17 08:12 yum

  And not 2.7

  And I can't install them to 2.7.

  #yum update python-setuptools
  Loaded plugins: kmod, security
  Skipping security plugin, no data
  Setting up Update Process
  No Packages marked for Update
  # yum update python-devel
  Loaded plugins: kmod, security
  Skipping security plugin, no data
  Setting up Update Process
  No Packages marked for Update

  What might I missed?

  Thanks

  On Sep 14, 2:45 am, Christian Hammond chip...@chipx86.com wrote:
  You can't move the packages to 2.7. You have to re-install.  It looks
 like
  you may have tried that, and that's why it broke?

  You need to make sure easy_install is working with Python 2.7, or you're
  using easy_install-2.7 (if provided by your distro), and then install the
  packages.

  You don't need to remove anything from 2.4, and moving packages from 2.4
  into 2.7 will just break things.

  What distro are you using?

  Christian

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

  On Tue, Sep 13, 2011 at 7:32 PM, Nelson Jones huawen@gmail.com
 wrote:
   Do I need to remove
   python-setuptools
   python-devel
   ReviewBoard

   from Python 2.4?
   And install them int Python 2.7?
   How do I remove these egg files?

   Thanks,

   On Sep 13, 9:16 pm, Nelson Jones huawen@gmail.com wrote:
when I ran rb-site install. I got the following error.
$ rb-site install /var/www/myrb
Traceback (most recent call last):
  File /usr/bin/rb-site, line 7, in ?
    sys.exit(
  File /usr

Re: rb-site install failed - ImportError: Entry point ('console_scripts', 'rb-site') not found

2011-09-14 Thread Nelson Jones
I think you are right it is Red Hat 5.
I did some search and found this one : ReviewBoard-1.5.6-2.el5 RPM for
noarch
It did mention it require the following packages

Requires

/usr/bin/env
/usr/bin/python
Django = 1.1.1
django-evolution = 0.6.5
httpd
patchutils
pysvn
python(abi) = 2.4
python-dateutil
python-djblets
python-flup
python-imaging
python-memcached
python-nose
python-paramiko
python-pygments
python-recaptcha-client
python-sqlite
pytz
rpmlib(CompressedFileNames) = 3.0.4-1
rpmlib(PayloadFilesHavePrefix) = 4.0-1

Do I have to individually download and install each of them? Or the
rpm install will automatically install these for me?

Thanks,

On Sep 14, 8:53 pm, Stephen Gallagher step...@gallagherhome.com
wrote:
 If you're using Red Hat Enterprise Linux 5.x (I'm guessing 5.2, not 2.5),
 you might want to try using the 1.5.6 RPM I maintain in EPEL.

 See  http://fedoraproject.org/wiki/EPELfor details on how to get it set up.

 I should warn you that there's one catch: MySQL doesn't work with this
 version because RHEL's copy of python-MySQL is too old (this is going to be
 fixed in RHEL 5.8).

 But this RPM should make it easier to get up and running on RHEL 5.







 On Wed, Sep 14, 2011 at 6:32 PM, Nelson Jones huawen@gmail.com wrote:
  So are you saying we should stay on Python 2.4?

  But with 2.4, after installing the required packages

  python-setuptools
  python-devel
  ReviewBoard

  rb-site crashed due to missing packages.
  $ rb-site install /var/www/myrb
  Traceback (most recent call last):
   File /usr/bin/rb-site, line 7, in ?
     sys.exit(
   File /usr/lib/python2.4/site-packages/pkg_resources.py, line 236,
  in load_entry_point
     return get_distribution(dist).load_entry_point(group, name)
   File /usr/lib/python2.4/site-packages/pkg_resources.py, line
  2096,
  in load_entry_point
     raise ImportError(Entry point %r not found % ((group,name),))
  ImportError: Entry point ('console_scripts', 'rb-site') not found

  And as displayed above, the Django was not installed either.

  So with Python 2.4,  did I miss any step to cause the library missing
  issue?
  Please advise.

  Btw, I am using Red Hat 2.5 which seems to ship Python 2.4 by
  default.

  Thanks,

  On Sep 14, 3:05 pm, Christian Hammond chip...@chipx86.com wrote:
   We can't really support a custom Python install. I would suggest if your
   distro doesn't ship 2.7, just use the latest it does ship. 2.7 won't gain
   you anything with RB.

   If you install 2.7 and the distro doesn't provide it, yum won't be able
  to
   find any compatible modules for you.

   Christian

   On Wednesday, September 14, 2011, Nelson Jones huawen@gmail.com
  wrote:
I am using Python 2.7.2 compressed source tarball (for Linux, Unix or
Mac OS X) fromwww.python.org.

Built from the source and did install via make install.

However, nothing was created under /usr/lib such as /usr/lib/
python2.7.  I guess that is a result of not installing  python27-
devel ?

yum list python-devel
Loaded plugins: kmod, security
Installed Packages
python-
devel.i386
2.4.3-44.el5
installed
python-
devel.x86_64
2.4.3-44.el5
installed

yum list python-setuptools
Loaded plugins: kmod, security
Installed Packages
python-
setuptools.noarch
0.6c5-2.el5
installed

They are  under python2.4

/usr/lib/python2.4/site-packages  ll
total 1080
-rw-r--r-- 1 root  14223 Sep  7  2006 aotcompile.py
-rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyc
-rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyo
-rw-r--r-- 1 root   7389 Aug 30  2006 classfile.py
-rw-r--r-- 1 root   7671 Apr 17  2008 classfile.pyc
-rw-r--r-- 1 root   7441 Apr 17  2008 classfile.pyo
-rwxr-xr-x 1 root   4996 Jun 20  2007 cracklibmodule.so
-rw--- 1 root    368 Sep 13 15:10 easy-install.pth
drwxr-xr-x 2 root   4096 Jun 17 08:05 elementtree
drwxr-xr-x 2 root   4096 Jun 17 08:06 iniparse
-rw-r--r-- 1 root  39388 Oct 20  2008 instnum.py
-rw-r--r-- 1 root  30738 Oct 20  2008 instnum.pyc
-rw-r--r-- 1 root  30738 Oct 20  2008 instnum.pyo
-rw--- 1 root 294582 Sep 13 15:10 paramiko-1.7.7.1-py2.4.egg
drwx-- 4 root   4096 Sep 13 15:10 python_dateutil-1.5-py2.4.egg
drwx-- 3 root   4096 Sep 13 15:10 python_memcached-1.47-py2.4.egg
-rw--- 1 root 508900 Sep 13 15:10 pytz-2011h-py2.4.egg
-rw--- 1 root   8428 Sep 13 15:10 recaptcha_client-1.0.6-py2.4.egg
drwx-- 5 root   4096 Sep 13 15:10 ReviewBoard-1.6.1-py2.4.egg
drwxr-xr-x 2 root   4096 Jun 17 08:12 rhn
drwxr-xr-x 2 root   4096 Jun 17 08:12 rpmUtils
drwxr-xr-x 3 root   4096 Jun 17 08:12 sos
drwxr-xr-x 2 root   4096 Jun 17 08:12 urlgrabber
drwxr-xr-x 2 root   4096 Jun 17 08:12 yum

And not 2.7

And I can't install them to 2.7.

#yum update python-setuptools
Loaded plugins: kmod, security
Skipping security plugin

Re: rb-site install failed - ImportError: Entry point ('console_scripts', 'rb-site') not found

2011-09-13 Thread Nelson Jones
Do I need to remove
python-setuptools
python-devel
ReviewBoard

from Python 2.4?
And install them int Python 2.7?
How do I remove these egg files?

Thanks,

On Sep 13, 9:16 pm, Nelson Jones huawen@gmail.com wrote:
 when I ran rb-site install. I got the following error.
 $ rb-site install /var/www/myrb
 Traceback (most recent call last):
   File /usr/bin/rb-site, line 7, in ?
     sys.exit(
   File /usr/lib/python2.4/site-packages/pkg_resources.py, line 236,
 in load_entry_point
     return get_distribution(dist).load_entry_point(group, name)
   File /usr/lib/python2.4/site-packages/pkg_resources.py, line 2096,
 in load_entry_point
     raise ImportError(Entry point %r not found % ((group,name),))
 ImportError: Entry point ('console_scripts', 'rb-site') not found

 What might be my problem?

 The followings had been installed

 python-setuptools
 python-devel
 memcached
 patch
 ReviewBoard

 Python was 2.4 before these installation, and then upgraded to 2.7
 after the above installations.

 Thanks,

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