Re: django.core.exceptions.ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is required; you have 1.2.1

2011-01-04 Thread Mohamed Mansour
I am sorry I didn't reply back. I didn't place the correct group email 
settings. I know this is 1 year too late :) But it might help others 
searching for a solution.

Basically, if you have installed MySQL-python from the yum like this:

yum install MySQL-python

That installs a really old version (nothing out of the ordinary with RHEL), 
you would need to install the package from easy_install as stated in the 
docs:

easy_install mysql-python

You will still have a problem doing that on a recent RHEL server with the 
following error:

Searching for mysql-python
Reading http://pypi.python.org/simple/mysql-python/
Reading http://sourceforge.net/projects/mysql-python/
Reading http://sourceforge.net/projects/mysql-python
Best match: MySQL-python 1.2.3
Downloading 
http://download.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.3.tar.gz
Processing MySQL-python-1.2.3.tar.gz
Running MySQL-python-1.2.3/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-JSe0sC/MySQL-python-1.2.3/e gg-dist-tmp-oEFDWM
warning: no files found matching 'MANIFEST'
warning: no files found matching 'ChangeLog'
warning: no files found matching 'GPL'
_mysql.c:36:23: error: my_config.h: No such file or directory
_mysql.c:38:19: error: mysql.h: No such file or directory
_mysql.c:39:26: error: mysqld_error.h: No such file or directory
_mysql.c:40:20: error: errmsg.h: No such file or directory
... 
...
_mysql.c:2422: error: initializer element is not constant
_mysql.c:2422: error: (near initialization for 
â_mysql_ResultObject_memberlist[0].offsetâ)
_mysql.c: In function â_mysql_ConnectionObject_getattrâ:
_mysql.c:2444: error: â_mysql_ConnectionObjectâ has no member named âopenâ
error: Setup script exited with error: command 'gcc' failed with exit status 
1

You should quickly realize that it requires the MySQL headers since at the 
beginning stated missing files, so if you install it:

yum install mysql-devel

It will work perfectly.

I hope this will help other people who are running Review Board on RHEL. 
Maybe worth adding to the docs that mysql-devel is needed t install 
mysql-python correctly.

Thanks,
Mohamed Mansour

-- 
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: django.core.exceptions.ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is required; you have 1.2.1

2011-01-04 Thread Stephen Gallagher
https://bugzilla.redhat.com/show_bug.cgi?id=555868

I opened a bug a while ago to have the version of MySQL-python in
RHEL5 brought up to a usable level. So hopefully it will be resolved
in the near future. In the meantime, it's off to RHEL 6 for me :)

Also, if you don't want to self-manage ReviewBoard in RHEL 5, I
maintain the EPEL RPMs for it, so you don't have to deal with
easy_install upgrading your python packages to unsupported versions.

On Jan 4, 3:26 pm, Mohamed Mansour m0.interact...@gmail.com wrote:
 I am sorry I didn't reply back. I didn't place the correct group email
 settings. I know this is 1 year too late :) But it might help others
 searching for a solution.

 Basically, if you have installed MySQL-python from the yum like this:

 yum install MySQL-python

 That installs a really old version (nothing out of the ordinary with RHEL),
 you would need to install the package from easy_install as stated in the
 docs:

 easy_install mysql-python

 You will still have a problem doing that on a recent RHEL server with the
 following error:

 Searching for mysql-python
 Readinghttp://pypi.python.org/simple/mysql-python/
 Readinghttp://sourceforge.net/projects/mysql-python/
 Readinghttp://sourceforge.net/projects/mysql-python
 Best match: MySQL-python 1.2.3
 Downloadinghttp://download.sourceforge.net/sourceforge/mysql-python/MySQL-python...
 Processing MySQL-python-1.2.3.tar.gz
 Running MySQL-python-1.2.3/setup.py -q bdist_egg --dist-dir
 /tmp/easy_install-JSe0sC/MySQL-python-1.2.3/e gg-dist-tmp-oEFDWM
 warning: no files found matching 'MANIFEST'
 warning: no files found matching 'ChangeLog'
 warning: no files found matching 'GPL'
 _mysql.c:36:23: error: my_config.h: No such file or directory
 _mysql.c:38:19: error: mysql.h: No such file or directory
 _mysql.c:39:26: error: mysqld_error.h: No such file or directory
 _mysql.c:40:20: error: errmsg.h: No such file or directory
 ...
 ...
 _mysql.c:2422: error: initializer element is not constant
 _mysql.c:2422: error: (near initialization for
 â_mysql_ResultObject_memberlist[0].offsetâ)
 _mysql.c: In function â_mysql_ConnectionObject_getattrâ:
 _mysql.c:2444: error: â_mysql_ConnectionObjectâ has no member named âopenâ
 error: Setup script exited with error: command 'gcc' failed with exit status
 1

 You should quickly realize that it requires the MySQL headers since at the
 beginning stated missing files, so if you install it:

 yum install mysql-devel

 It will work perfectly.

 I hope this will help other people who are running Review Board on RHEL.
 Maybe worth adding to the docs that mysql-devel is needed t install
 mysql-python correctly.

 Thanks,
 Mohamed Mansour

-- 
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: django.core.exceptions.ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is required; you have 1.2.1

2009-06-14 Thread Josh Joy

What I ended up doing was installing Python 2.6.2 to a different dir
(local dir) and updated by PATH to point to this. Seemed to resolve
the issue.

On Sat, Jun 13, 2009 at 4:22 PM, Christian Hammondchip...@chipx86.com wrote:
 Sometimes a distro will have Apache configured with one version of Python
 (say, 2.4) while /usr/bin/python is 2.5. I've seen this on a RHEL5 machine,
 though it's possible that's because someone installed a newer Python.

 What's the site-packages path containing the new MySQLdb?

 Also, do you see the old one installed in that site-packages?

 And did you restart the web server after upgrading this?

 Christian

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


 On Tue, Jun 2, 2009 at 5:54 AM, Josh Joy joshjd...@gmail.com wrote:

 I'm not entirely sure what that means?

 How do I now which Python is running Review Board? I'm just using the
 one under bin...I have a fresh install of CentOS...so I'm not seeing
 multiple versions of Python...

 Thanks,
 Josh

 On Tue, Jun 2, 2009 at 12:08 AM, Christian Hammond chip...@chipx86.com
 wrote:
  Make sure you installed the new MySQLdb using the same version of Python
  that's running Review Board.
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board - http://www.review-board.org
  VMware, Inc. - http://www.vmware.com
 
 
  On Mon, Jun 1, 2009 at 7:26 PM, joshjdevl joshjd...@gmail.com wrote:
 
  Hi,
 
  What exactly did you install for drivers that reoslved the issue?
 
  I'm still receiving ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is
  required; you have 1.2.1, though I  have 1.2.2 installed and in my
  site-package
 
  Thanks,
  Josh
 
  On Apr 7, 1:40 pm, Mohamed Mansour m0.interact...@gmail.com wrote:
   I had to install new drivers for python. Thanks!
  
   On Apr 7, 1:36 pm, Mohamed Mansour m0.interact...@gmail.com wrote:
  
Sorry, I forgot to say that I am using Red Hat Enterprise 5, on a
new
server. +
  
On Apr 7, 1:35 pm, Mohamed Mansour m0.interact...@gmail.com
wrote:
  
 Hello, I am getting errors while running the tool:
 rb-site install /var/www/reviews.example.com
  
 I have created the database, but have the following issues, any
 help
 is appreciated:
  
 * Installing the site...
 Building site directories ... OK
 Building site configuration files ... OK
 Creating database ... Traceback (most recent call last):
   File /usr/bin/rb-site, line 5, in ?
     pkg_resources.run_script('ReviewBoard==1.0beta2', 'rb-site')
   File /usr/lib/python2.4/site-packages/pkg_resources.py, line
 448,
 in run_script
     self.require(requires)[0].run_script(script_name, ns)
   File /usr/lib/python2.4/site-packages/pkg_resources.py, line
 1166,
 in run_script
     execfile(script_filename, namespace, namespace)
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 1280, in ?
     main(sys.argv[1:])
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 1275, in main
     command.run()
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 912, in run
     self.show_install_status()
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 1134, in
 show_install_status
     site.sync_database)
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 519, in step
     func()
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 224, in sync_database
     self.run_manage_command(syncdb, [--noinput])
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 261, in
 run_manage_command
     fix_django_evolution_issues(reviewboard.settings)
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/reviewboard/admin/migration.py, line 13, in
 fix_django_evolution_issues
     import django.db.models.fields as model_fields
   File
 /usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
 django/db/__init__.py, line 16, in ?
     backend = __import__('%s%s.base' % (_import_path,
 settings.DATABASE_ENGINE), {}, {}, [''])
   File
 /usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
 django/db/backends/mysql/base.py, line 22, in ?
     raiseImproperlyConfigured(MySQLdb-1.2.1p2 or newer is
 required;
 you have %s % Database.__version__)
 django.core.exceptions.ImproperlyConfigured:MySQLdb-1.2.1p2 or
 newer
 is required; you have 1.2.1
 
 
 
  
 




 


--~--~-~--~~~---~--~~
You received this 

Re: django.core.exceptions.ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is required; you have 1.2.1

2009-06-13 Thread Christian Hammond
Sometimes a distro will have Apache configured with one version of Python
(say, 2.4) while /usr/bin/python is 2.5. I've seen this on a RHEL5 machine,
though it's possible that's because someone installed a newer Python.

What's the site-packages path containing the new MySQLdb?

Also, do you see the old one installed in that site-packages?

And did you restart the web server after upgrading this?

Christian

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


On Tue, Jun 2, 2009 at 5:54 AM, Josh Joy joshjd...@gmail.com wrote:


 I'm not entirely sure what that means?

 How do I now which Python is running Review Board? I'm just using the
 one under bin...I have a fresh install of CentOS...so I'm not seeing
 multiple versions of Python...

 Thanks,
 Josh

 On Tue, Jun 2, 2009 at 12:08 AM, Christian Hammond chip...@chipx86.com
 wrote:
  Make sure you installed the new MySQLdb using the same version of Python
  that's running Review Board.
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board - http://www.review-board.org
  VMware, Inc. - http://www.vmware.com
 
 
  On Mon, Jun 1, 2009 at 7:26 PM, joshjdevl joshjd...@gmail.com wrote:
 
  Hi,
 
  What exactly did you install for drivers that reoslved the issue?
 
  I'm still receiving ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is
  required; you have 1.2.1, though I  have 1.2.2 installed and in my
  site-package
 
  Thanks,
  Josh
 
  On Apr 7, 1:40 pm, Mohamed Mansour m0.interact...@gmail.com wrote:
   I had to install new drivers for python. Thanks!
  
   On Apr 7, 1:36 pm, Mohamed Mansour m0.interact...@gmail.com wrote:
  
Sorry, I forgot to say that I am using Red Hat Enterprise 5, on a
 new
server. +
  
On Apr 7, 1:35 pm, Mohamed Mansour m0.interact...@gmail.com
 wrote:
  
 Hello, I am getting errors while running the tool:
 rb-site install /var/www/reviews.example.com
  
 I have created the database, but have the following issues, any
 help
 is appreciated:
  
 * Installing the site...
 Building site directories ... OK
 Building site configuration files ... OK
 Creating database ... Traceback (most recent call last):
   File /usr/bin/rb-site, line 5, in ?
 pkg_resources.run_script('ReviewBoard==1.0beta2', 'rb-site')
   File /usr/lib/python2.4/site-packages/pkg_resources.py, line
 448,
 in run_script
 self.require(requires)[0].run_script(script_name, ns)
   File /usr/lib/python2.4/site-packages/pkg_resources.py, line
 1166,
 in run_script
 execfile(script_filename, namespace, namespace)
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 1280, in ?
 main(sys.argv[1:])
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 1275, in main
 command.run()
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 912, in run
 self.show_install_status()
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 1134, in
 show_install_status
 site.sync_database)
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 519, in step
 func()
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 224, in sync_database
 self.run_manage_command(syncdb, [--noinput])
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 261, in
 run_manage_command
 fix_django_evolution_issues(reviewboard.settings)
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/reviewboard/admin/migration.py, line 13, in
 fix_django_evolution_issues
 import django.db.models.fields as model_fields
   File
 /usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
 django/db/__init__.py, line 16, in ?
 backend = __import__('%s%s.base' % (_import_path,
 settings.DATABASE_ENGINE), {}, {}, [''])
   File
 /usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
 django/db/backends/mysql/base.py, line 22, in ?
 raiseImproperlyConfigured(MySQLdb-1.2.1p2 or newer is
 required;
 you have %s % Database.__version__)
 django.core.exceptions.ImproperlyConfigured:MySQLdb-1.2.1p2 or
 newer
 is required; you have 1.2.1
 
 
 
  
 

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this 

Re: django.core.exceptions.ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is required; you have 1.2.1

2009-06-02 Thread Josh Joy

I'm not entirely sure what that means?

How do I now which Python is running Review Board? I'm just using the
one under bin...I have a fresh install of CentOS...so I'm not seeing
multiple versions of Python...

Thanks,
Josh

On Tue, Jun 2, 2009 at 12:08 AM, Christian Hammond chip...@chipx86.com wrote:
 Make sure you installed the new MySQLdb using the same version of Python
 that's running Review Board.

 Christian

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


 On Mon, Jun 1, 2009 at 7:26 PM, joshjdevl joshjd...@gmail.com wrote:

 Hi,

 What exactly did you install for drivers that reoslved the issue?

 I'm still receiving ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is
 required; you have 1.2.1, though I  have 1.2.2 installed and in my
 site-package

 Thanks,
 Josh

 On Apr 7, 1:40 pm, Mohamed Mansour m0.interact...@gmail.com wrote:
  I had to install new drivers for python. Thanks!
 
  On Apr 7, 1:36 pm, Mohamed Mansour m0.interact...@gmail.com wrote:
 
   Sorry, I forgot to say that I am using Red Hat Enterprise 5, on a new
   server. +
 
   On Apr 7, 1:35 pm, Mohamed Mansour m0.interact...@gmail.com wrote:
 
Hello, I am getting errors while running the tool:
rb-site install /var/www/reviews.example.com
 
I have created the database, but have the following issues, any help
is appreciated:
 
* Installing the site...
Building site directories ... OK
Building site configuration files ... OK
Creating database ... Traceback (most recent call last):
  File /usr/bin/rb-site, line 5, in ?
    pkg_resources.run_script('ReviewBoard==1.0beta2', 'rb-site')
  File /usr/lib/python2.4/site-packages/pkg_resources.py, line
448,
in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File /usr/lib/python2.4/site-packages/pkg_resources.py, line
1166,
in run_script
    execfile(script_filename, namespace, namespace)
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 1280, in ?
    main(sys.argv[1:])
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 1275, in main
    command.run()
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 912, in run
    self.show_install_status()
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 1134, in
show_install_status
    site.sync_database)
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 519, in step
    func()
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 224, in sync_database
    self.run_manage_command(syncdb, [--noinput])
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 261, in run_manage_command
    fix_django_evolution_issues(reviewboard.settings)
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/reviewboard/admin/migration.py, line 13, in
fix_django_evolution_issues
    import django.db.models.fields as model_fields
  File
/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
django/db/__init__.py, line 16, in ?
    backend = __import__('%s%s.base' % (_import_path,
settings.DATABASE_ENGINE), {}, {}, [''])
  File
/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
django/db/backends/mysql/base.py, line 22, in ?
    raiseImproperlyConfigured(MySQLdb-1.2.1p2 or newer is required;
you have %s % Database.__version__)
django.core.exceptions.ImproperlyConfigured:MySQLdb-1.2.1p2 or newer
is required; you have 1.2.1



 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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: django.core.exceptions.ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is required; you have 1.2.1

2009-06-01 Thread joshjdevl

Hi,

What exactly did you install for drivers that reoslved the issue?

I'm still receiving ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is
required; you have 1.2.1, though I  have 1.2.2 installed and in my
site-package

Thanks,
Josh

On Apr 7, 1:40 pm, Mohamed Mansour m0.interact...@gmail.com wrote:
 I had to install new drivers for python. Thanks!

 On Apr 7, 1:36 pm, Mohamed Mansour m0.interact...@gmail.com wrote:

  Sorry, I forgot to say that I am using Red Hat Enterprise 5, on a new
  server. +

  On Apr 7, 1:35 pm, Mohamed Mansour m0.interact...@gmail.com wrote:

   Hello, I am getting errors while running the tool:
   rb-site install /var/www/reviews.example.com

   I have created the database, but have the following issues, any help
   is appreciated:

   * Installing the site...
   Building site directories ... OK
   Building site configuration files ... OK
   Creating database ... Traceback (most recent call last):
     File /usr/bin/rb-site, line 5, in ?
       pkg_resources.run_script('ReviewBoard==1.0beta2', 'rb-site')
     File /usr/lib/python2.4/site-packages/pkg_resources.py, line 448,
   in run_script
       self.require(requires)[0].run_script(script_name, ns)
     File /usr/lib/python2.4/site-packages/pkg_resources.py, line 1166,
   in run_script
       execfile(script_filename, namespace, namespace)
     File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
   py2.4.egg/EGG-INFO/scripts/rb-site, line 1280, in ?
       main(sys.argv[1:])
     File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
   py2.4.egg/EGG-INFO/scripts/rb-site, line 1275, in main
       command.run()
     File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
   py2.4.egg/EGG-INFO/scripts/rb-site, line 912, in run
       self.show_install_status()
     File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
   py2.4.egg/EGG-INFO/scripts/rb-site, line 1134, in show_install_status
       site.sync_database)
     File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
   py2.4.egg/EGG-INFO/scripts/rb-site, line 519, in step
       func()
     File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
   py2.4.egg/EGG-INFO/scripts/rb-site, line 224, in sync_database
       self.run_manage_command(syncdb, [--noinput])
     File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
   py2.4.egg/EGG-INFO/scripts/rb-site, line 261, in run_manage_command
       fix_django_evolution_issues(reviewboard.settings)
     File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
   py2.4.egg/reviewboard/admin/migration.py, line 13, in
   fix_django_evolution_issues
       import django.db.models.fields as model_fields
     File /usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
   django/db/__init__.py, line 16, in ?
       backend = __import__('%s%s.base' % (_import_path,
   settings.DATABASE_ENGINE), {}, {}, [''])
     File /usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
   django/db/backends/mysql/base.py, line 22, in ?
       raiseImproperlyConfigured(MySQLdb-1.2.1p2 or newer is required;
   you have %s % Database.__version__)
   django.core.exceptions.ImproperlyConfigured:MySQLdb-1.2.1p2 or newer
   is required; you have 1.2.1
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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
-~--~~~~--~~--~--~---



django.core.exceptions.ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is required; you have 1.2.1

2009-04-07 Thread Mohamed Mansour

Hello, I am getting errors while running the tool:
rb-site install /var/www/reviews.example.com


I have created the database, but have the following issues, any help
is appreciated:

* Installing the site...
Building site directories ... OK
Building site configuration files ... OK
Creating database ... Traceback (most recent call last):
  File /usr/bin/rb-site, line 5, in ?
pkg_resources.run_script('ReviewBoard==1.0beta2', 'rb-site')
  File /usr/lib/python2.4/site-packages/pkg_resources.py, line 448,
in run_script
self.require(requires)[0].run_script(script_name, ns)
  File /usr/lib/python2.4/site-packages/pkg_resources.py, line 1166,
in run_script
execfile(script_filename, namespace, namespace)
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 1280, in ?
main(sys.argv[1:])
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 1275, in main
command.run()
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 912, in run
self.show_install_status()
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 1134, in show_install_status
site.sync_database)
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 519, in step
func()
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 224, in sync_database
self.run_manage_command(syncdb, [--noinput])
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/EGG-INFO/scripts/rb-site, line 261, in run_manage_command
fix_django_evolution_issues(reviewboard.settings)
  File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
py2.4.egg/reviewboard/admin/migration.py, line 13, in
fix_django_evolution_issues
import django.db.models.fields as model_fields
  File /usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
django/db/__init__.py, line 16, in ?
backend = __import__('%s%s.base' % (_import_path,
settings.DATABASE_ENGINE), {}, {}, [''])
  File /usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
django/db/backends/mysql/base.py, line 22, in ?
raise ImproperlyConfigured(MySQLdb-1.2.1p2 or newer is required;
you have %s % Database.__version__)
django.core.exceptions.ImproperlyConfigured: MySQLdb-1.2.1p2 or newer
is required; you have 1.2.1
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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: django.core.exceptions.ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is required; you have 1.2.1

2009-04-07 Thread Mohamed Mansour

Sorry, I forgot to say that I am using Red Hat Enterprise 5, on a new
server. +

On Apr 7, 1:35 pm, Mohamed Mansour m0.interact...@gmail.com wrote:
 Hello, I am getting errors while running the tool:
 rb-site install /var/www/reviews.example.com

 I have created the database, but have the following issues, any help
 is appreciated:

 * Installing the site...
 Building site directories ... OK
 Building site configuration files ... OK
 Creating database ... Traceback (most recent call last):
   File /usr/bin/rb-site, line 5, in ?
     pkg_resources.run_script('ReviewBoard==1.0beta2', 'rb-site')
   File /usr/lib/python2.4/site-packages/pkg_resources.py, line 448,
 in run_script
     self.require(requires)[0].run_script(script_name, ns)
   File /usr/lib/python2.4/site-packages/pkg_resources.py, line 1166,
 in run_script
     execfile(script_filename, namespace, namespace)
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 1280, in ?
     main(sys.argv[1:])
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 1275, in main
     command.run()
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 912, in run
     self.show_install_status()
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 1134, in show_install_status
     site.sync_database)
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 519, in step
     func()
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 224, in sync_database
     self.run_manage_command(syncdb, [--noinput])
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/EGG-INFO/scripts/rb-site, line 261, in run_manage_command
     fix_django_evolution_issues(reviewboard.settings)
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0beta2-
 py2.4.egg/reviewboard/admin/migration.py, line 13, in
 fix_django_evolution_issues
     import django.db.models.fields as model_fields
   File /usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
 django/db/__init__.py, line 16, in ?
     backend = __import__('%s%s.base' % (_import_path,
 settings.DATABASE_ENGINE), {}, {}, [''])
   File /usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/
 django/db/backends/mysql/base.py, line 22, in ?
     raise ImproperlyConfigured(MySQLdb-1.2.1p2 or newer is required;
 you have %s % Database.__version__)
 django.core.exceptions.ImproperlyConfigured: MySQLdb-1.2.1p2 or newer
 is required; you have 1.2.1
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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
-~--~~~~--~~--~--~---