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: New comment moderation in effect

2009-06-14 Thread Raghu

Christian,

I would be more than happy to help with that. I am in IST timezone.

Thanks,
Raghu

On Jun 12, 3:28 pm, Christian Hammond chip...@chipx86.com wrote:
 Hi everyone.

 As I'm sure you all have seen, we've been getting some spam lately. There
 was a discussion in an earlier thread about enabling comment moderation, and
 after thinking it over, I've decided to go ahead and enable this for new
 users. Existing users who have been approved shouldn't have any trouble
 posting, but new users may see delays before their first e-mail is sent.

 I'm going to try recruiting a couple regulars from this mailing list to act
 as moderators. If you're up for the task, please let me know. Bonus points
 for people in non-PST timezones.

 Christian

 --
 Christian Hammond - chip...@chipx86.com
 Review Board -http://www.review-board.org
 VMware, Inc. -http://www.vmware.com
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---