Installed EPEL package. But now I got a new exception.

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

Please advise.

On Sep 15, 5:41 am, Stephen Gallagher <step...@gallagherhome.com>
wrote:
> If you follow the instructions on the EPEL page, you can install the EPEL
> yum repo and then just do
> yum install ReviewBoard
> which will resolve dependencies for you.
>
>
>
> On Wed, Sep 14, 2011 at 9:11 PM, Nelson Jones <huawen....@gmail.com> wrote:
> > I think you are right it is Red Hat 5.
> > I did some search and found this one : ReviewBoard-1.5.6-2.el5 RPM for
> > noarch
> > It did mention it require the following packages
>
> > Requires
>
> > /usr/bin/env
> > /usr/bin/python
> > Django >= 1.1.1
> > django-evolution >= 0.6.5
> > httpd
> > patchutils
> > pysvn
> > python(abi) = 2.4
> > python-dateutil
> > python-djblets
> > python-flup
> > python-imaging
> > python-memcached
> > python-nose
> > python-paramiko
> > python-pygments
> > python-recaptcha-client
> > python-sqlite
> > pytz
> > rpmlib(CompressedFileNames) <= 3.0.4-1
> > rpmlib(PayloadFilesHavePrefix) <= 4.0-1
>
> > Do I have to individually download and install each of them? Or the
> > rpm install will automatically install these for me?
>
> > Thanks,
>
> > On Sep 14, 8:53 pm, Stephen Gallagher <step...@gallagherhome.com>
> > wrote:
> > > If you're using Red Hat Enterprise Linux 5.x (I'm guessing 5.2, not 2.5),
> > > you might want to try using the 1.5.6 RPM I maintain in EPEL.
>
> > > See  http://fedoraproject.org/wiki/EPELfordetails on how to get it set
> > up.
>
> > > I should warn you that there's one catch: MySQL doesn't work with this
> > > version because RHEL's copy of python-MySQL is too old (this is going to
> > be
> > > fixed in RHEL 5.8).
>
> > > But this RPM should make it easier to get up and running on RHEL 5.
>
> > > On Wed, Sep 14, 2011 at 6:32 PM, Nelson Jones <huawen....@gmail.com>
> > wrote:
> > > > So are you saying we should stay on Python 2.4?
>
> > > > But with 2.4, after installing the required packages
>
> > > > python-setuptools
> > > > python-devel
> > > > ReviewBoard
>
> > > > rb-site crashed due to missing packages.
> > > > $ rb-site install /var/www/myrb
> > > > Traceback (most recent call last):
> > > >  File "/usr/bin/rb-site", line 7, in ?
> > > >    sys.exit(
> > > >  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 236,
> > > > in load_entry_point
> > > >    return get_distribution(dist).load_entry_point(group, name)
> > > >  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line
> > > > 2096,
> > > > in load_entry_point
> > > >    raise ImportError("Entry point %r not found" % ((group,name),))
> > > > ImportError: Entry point ('console_scripts', 'rb-site') not found
>
> > > > And as displayed above, the Django was not installed either.
>
> > > > So with Python 2.4,  did I miss any step to cause the library missing
> > > > issue?
> > > > Please advise.
>
> > > > Btw, I am using Red Hat 2.5 which seems to ship Python 2.4 by
> > > > default.
>
> > > > Thanks,
>
> > > > On Sep 14, 3:05 pm, Christian Hammond <chip...@chipx86.com> wrote:
> > > > > We can't really support a custom Python install. I would suggest if
> > your
> > > > > distro doesn't ship 2.7, just use the latest it does ship. 2.7 won't
> > gain
> > > > > you anything with RB.
>
> > > > > If you install 2.7 and the distro doesn't provide it, yum won't be
> > able
> > > > to
> > > > > find any compatible modules for you.
>
> > > > > Christian
>
> > > > > On Wednesday, September 14, 2011, Nelson Jones <huawen....@gmail.com
>
> > > > wrote:
> > > > > > I am using Python 2.7.2 compressed source tarball (for Linux, Unix
> > or
> > > > > > Mac OS X) fromwww.python.org.
>
> > > > > > Built from the source and did install via make install.
>
> > > > > > However, nothing was created under /usr/lib such as /usr/lib/
> > > > > > python2.7.  I guess that is a result of not installing  python27-
> > > > > > devel ?
>
> > > > > > yum list python-devel
> > > > > > Loaded plugins: kmod, security
> > > > > > Installed Packages
> > > > > > python-
> > > > > > devel.i386
> > > > > > 2.4.3-44.el5
> > > > > > installed
> > > > > > python-
> > > > > > devel.x86_64
> > > > > > 2.4.3-44.el5
> > > > > > installed
>
> > > > > > yum list python-setuptools
> > > > > > Loaded plugins: kmod, security
> > > > > > Installed Packages
> > > > > > python-
> > > > > > setuptools.noarch
> > > > > > 0.6c5-2.el5
> > > > > > installed
>
> > > > > > They are  under python2.4
>
> > > > > > /usr/lib/python2.4/site-packages > ll
> > > > > > total 1080
> > > > > > -rw-r--r-- 1 root  14223 Sep  7  2006 aotcompile.py
> > > > > > -rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyc
> > > > > > -rw-r--r-- 1 root  14200 Apr 17  2008 aotcompile.pyo
> > > > > > -rw-r--r-- 1 root   7389 Aug 30  2006 classfile.py
> > > > > > -rw-r--r-- 1 root   7671 Apr 17  2008 classfile.pyc
> > > > > > -rw-r--r-- 1 root   7441 Apr 17  2008 classfile.pyo
> > > > > > -rwxr-xr-x 1 root   4996 Jun 20  2007 cracklibmodule.so
> > > > > > -rw------- 1 root    368 Sep 13 15:10 easy-install.pth
> > > > > > drwxr-xr-x 2 root   4096 Jun 17 08:05 elementtree
> > > > > > drwxr-xr-x 2 root   4096 Jun 17 08:06 iniparse
> > > > > > -rw-r--r-- 1 root  39388 Oct 20  2008 instnum.py
> > > > > > -rw-r--r-- 1 root  30738 Oct 20  2008 instnum.pyc
> > > > > > -rw-r--r-- 1 root  30738 Oct 20  2008 instnum.pyo
> > > > > > -rw------- 1 root 294582 Sep 13 15:10 paramiko-1.7.7.1-py2.4.egg
> > > > > > drwx------ 4 root   4096 Sep 13 15:10 python_dateutil-1.5-py2.4.egg
> > > > > > drwx------ 3 root   4096 Sep 13 15:10
> > python_memcached-1.47-py2.4.egg
> > > > > > -rw------- 1 root 508900 Sep 13 15:10 pytz-2011h-py2.4.egg
> > > > > > -rw------- 1 root   8428 Sep 13 15:10
> > recaptcha_client-1.0.6-py2.4.egg
> > > > > > drwx------ 5 root   4096 Sep 13 15:10 ReviewBoard-1.6.1-py2.4.egg
> > > > > > drwxr-xr-x 2 root   4096 Jun 17 08:12 rhn
> > > > > > drwxr-xr-x 2 root   4096 Jun 17 08:12 rpmUtils
> > > > > > drwxr-xr-x 3 root   4096 Jun 17 08:12 sos
> > > > > > drwxr-xr-x 2 root   4096 Jun 17 08:12 urlgrabber
> > > > > > drwxr-xr-x 2 root   4096 Jun 17 08:12 yum
>
> > > > > > And not 2.7
>
> > > > > > And I can't install them to 2.7.
>
> > > > > > #yum update python-setuptools
> > > > > > Loaded plugins: kmod, security
> > > > > > Skipping security plugin, no data
> > > > > > Setting up Update Process
> > > > > > No Packages marked for Update
> > > > > > # yum update python-devel
> > > > > > Loaded plugins: kmod, security
> > > > > > Skipping security plugin, no data
> > > > > > Setting up Update Process
> > > > > > No Packages marked for Update
>
> > > > > > What might I missed?
>
> > > > > > Thanks
>
> > > > > > On Sep 14, 2:45 am, Christian Hammond <chip...@chipx86.com> wrote:
> > > > > >> You can't move the packages to 2.7. You have to re-install.  It
> > looks
> > > > > like
> > > > > >> you may have tried that, and that's why it broke?
>
> > > > > >> You need to make sure easy_install is working with Python 2.7, or
> > > > you're
> > > > > >> using easy_install-2.7 (if provided by your distro), and then
> > install
> > > > the
> > > > > >> packages.
>
> > > > > >> You don't need to remove anything from 2.4, and moving packages
> > from
> > > > 2.4
> > > > > >> into 2.7 will just break things.
>
> > > > > >> What distro are you using?
>
> > > > > >> Christian
>
> > > > > >> --
> > > > > >> Christian Hammond - chip...@chipx86.com
> > > > > >> Review Board -http://www.reviewboard.org
> > > > > >> VMware, Inc. -http://www.vmware.com
>
> > > > > >> On Tue, Sep 13, 2011 at 7:32 PM, Nelson Jones <
> > huawen....@gmail.com>
> > > > > wrote:
> > > > > >> > Do I need to remove
> > > > > >> > python-setuptools
> > > > > >> > python-devel
> > > > > >> > ReviewBoard
>
> > > > > >> > from Python 2.4?
> > > > > >> > And install them int Python 2.7?
> > > > > >> > How do I remove these egg files?
>
> > > > > >> > Thanks,
>
> > > > > >> > On Sep 13, 9:16 pm, Nelson Jones <huawen....@gmail.com> wrote:
> > > > > >> > > when I ran rb-site install. I got the following error.
> > > > > >> > > $ rb-site install /var/www/myrb
> > > > > >> > > Traceback (most recent call last):
> > > > > >> > >   File "/usr/bin/rb-site", line 7, in ?
> > > > > >> > >     sys.exit(
> > > > > >> > >   File "/usr/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-Hidequotedtext
> > -
>
> > > > > >> - Show quoted text -
>
> > > > > > --
> > > > > > Want to help the Review Board project? Donate today at
>
> > > > >http://www.reviewboard.org/donate/> Happy user? Let us know athttp://
> > > >www.reviewboard.org/users/
> > > > > > -~----------~----~----~----~------~----~------~--~---
> > > > > > To unsubscribe from this group, send email to
>
> > > > > reviewboard+unsubscr...@googlegroups.com> For more options, visit
> > this
> > > > group at
>
> > > > >http://groups.google.com/group/reviewboard?hl=en
>
> > > > > --
> > > > > --
> > > > > Christian Hammond - chip...@chipx86.com
> > > > > Review Board -http://www.reviewboard.org
> > > > > VMware, Inc. -http://www.vmware.com
>
> > > > --
> > > > Want to help the Review Board project? Donate today at
>
> ...
>
> read more »- 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

Reply via email to