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

2011-09-13 Thread Nelson Jones
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


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


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

2011-09-13 Thread Christian Hammond
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  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  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
>

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

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

2011-09-14 Thread Christian Hammond
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  wrote:
> 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  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 
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  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, 

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  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  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  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 
> 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  wrote:
> >> > > when I ran rb-site install. I got the fo

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

2011-09-14 Thread Stephen Gallagher
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/EPEL for 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  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  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 
> 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 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  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
> > >> usi

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

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

2011-09-15 Thread Stephen Gallagher
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  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 
> 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 
> 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  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  >
> > > 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 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 r

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

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

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

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

2011-09-16 Thread Stephen Gallagher
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  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.

-- 
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
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 
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  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 Stephen Gallagher
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.


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

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  wrote:
> On Sep 16, 3:02 pm, Stephen Gallagher 
> 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  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 th

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  wrote:
> On Sep 16, 3:02 pm, Stephen Gallagher 
> 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  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 or

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  wrote:
> On Sep 16, 4:45 pm, Nelson Jones  wrote:
>
>
>
>
>
>
>
>
>
> > On Sep 16, 3:02 pm, Stephen Gallagher 
> > 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  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
>

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

2011-09-17 Thread Christian Hammond
Hi Nelson,

Posts are moderated, which is why they don't show up right away.

Based on your other e-mail, I assume you got this figured out?

Btw, any reason you're not just using a newer distro? Looks like you put
yourself through a lot of trouble :(

Christian


On Saturday, September 17, 2011, Nelson Jones  wrote:
>
>
> On Sep 16, 4:45 pm, Nelson Jones  wrote:
>> On Sep 16, 3:02 pm, Stephen Gallagher 
>> 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  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-packageI 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 I the only one have this problem?)
>
> Installing index for reviews.Comment model
> Installing index for reviews.ScreenshotComment model
> Installing index for reviews.Review model
> Installing index for scmtools.Repository model
> Installing index for django_evolution.Evolution model
> OK
> Performing migrations ... 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 1214, in run
>self.show_install_status()
>  File "/usr/lib/python2.4/site-packages/reviewboard/cmdline/
> rbsite.py", line 1486, in show_instal
> l_status
>site.migrate_database)
>  File "/usr/lib/python2.4/site-packages/reviewboard/cmdline/
> rbsite.py", line 714, in step
>func()
>  File "/usr/lib/python2.4/site-packages/reviewboard/cmdline/
> rbsite.py", line 346, in migrate_data
> base
>self.run_manage_command("evolve", ["--noinput", "--execute"])
>  File "/usr/lib/python2.4/si

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

2011-09-17 Thread Christian Hammond
Pretty sure, yes. For most people, it's just a few commands. The problem
you're hitting is that you're trying to perform a custom Python install,
instead of using native distro packages. So you're doing far too much by
hand, instead of letting us and your distro do all the work.

Christian

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


On Sat, Sep 17, 2011 at 8:43 AM, Nelson Jones  wrote:

>
>
> On Sep 17, 10:56 am, Nelson Jones  wrote:
> > On Sep 16, 4:45 pm, Nelson Jones  wrote:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > > On Sep 16, 3:02 pm, Stephen Gallagher 
> > > 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  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.sgallag

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

2011-09-18 Thread Stephen Gallagher
Christian, did the minimum Django version get bumped in 1.5.6? (Or did that
change in Djblets?) That's definitely going to be an issue for RHEL users. I
remember you telling me that Django 1.1.x was going to be supported for the
whole 1.5.x series of releases (but dropped in 1.6.x)
On Sep 17, 2011 2:40 PM, "Nelson Jones"  wrote:

-- 
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-18 Thread Christian Hammond
No, we haven't done any version bumps in either Djblets or Review Board
1.5.x. We will have to in Djblets at some point down the road (very likely
to coincide with a RB 1.6.x release, for some of the Django static files
stuff we may need to tie into), but haven't yet.

Christian

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


On Sun, Sep 18, 2011 at 2:54 AM, Stephen Gallagher <
step...@gallagherhome.com> wrote:

> Christian, did the minimum Django version get bumped in 1.5.6? (Or did that
> change in Djblets?) That's definitely going to be an issue for RHEL users. I
> remember you telling me that Django 1.1.x was going to be supported for the
> whole 1.5.x series of releases (but dropped in 1.6.x)
> On Sep 17, 2011 2:40 PM, "Nelson Jones"  wrote:
>
> --
> 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
>

-- 
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-23 Thread Stephen Gallagher
On Fri, 2011-09-16 at 15:02 -0400, Stephen Gallagher 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  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.
> 

Ok, it turns out this isn't something new. We've never been able to
support the GUI installation on RHEL 5 (due to an old version of
pygtk2). I'm going to patch the next release of the package to just
disable the attempt to use the GUI setup.

-- 
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-23 Thread Stephen Gallagher
On Sat, 2011-09-17 at 12:02 -0700, Christian Hammond wrote:
> Pretty sure, yes. For most people, it's just a few commands. The
> problem you're hitting is that you're trying to perform a custom
> Python install, instead of using native distro packages. So you're
> doing far too much by hand, instead of letting us and your distro do
> all the work.

To be fair, the issue here is that he's trying to use MySQL on RHEL5,
which as I pointed out earlier in this thread is not supported (due to
very old versions of MySQL-python). This is going to be fixed when RHEL
5.8 is released (I have confirmation on that from the MySQL-python
maintainer). In the meantime, I've been trying to help him find a
short-term workaround.

If I had copious amounts of free time, the best solution would be for us
to migrate ReviewBoard on RHEL 5 to use the python26 packages (which
would allow us to parallel-install newer versions of various python
libraries on RHEL5).*

However, there are a LOT of RB deps that aren't currently available for
the python26 builds in EPEL, so I really can't take this approach
without a few volunteers to help me.


* The other benefit to doing this would be that it would then be
possible to include ReviewBoard 1.6.x in EPEL, which cannot be done at
this time because it requires Django 1.3.1 and RHEL only ships 1.1.x.

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

2012-02-14 Thread James
Nelson,

May I ask what version of Django you were on, and what version you upgraded 
to? I'm getting the same error on CentOS 5 with EPEL, using ReviewBoard 
from yum.

Thanks,

- James

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