I did what you said, and after looking at the files that were created
I thought it was going to work, but I'm still getting the napping
page.  Here's the tail of the apache error log:

[Thu Apr 21 06:28:44 2011] [error] [client 127.0.0.1] PythonHandler
django.core.handlers.modpython: Traceback (most recent call last):
[Thu Apr 21 06:28:44 2011] [error] [client 127.0.0.1] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/mod_python/apache.py", line 299, in HandlerDispatch\n
result = object(req)
[Thu Apr 21 06:28:44 2011] [error] [client 127.0.0.1] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/Django-1.3-py2.4.egg/django/core/handlers/modpython.py", line
213, in handler\n    return ModPythonHandler()(req)
[Thu Apr 21 06:28:44 2011] [error] [client 127.0.0.1] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/Django-1.3-py2.4.egg/django/core/handlers/modpython.py", line
174, in __call__\n    self.load_middleware()
[Thu Apr 21 06:28:44 2011] [error] [client 127.0.0.1] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/Django-1.3-py2.4.egg/django/core/handlers/base.py", line 45,
in load_middleware\n    mod = import_module(mw_module)
[Thu Apr 21 06:28:44 2011] [error] [client 127.0.0.1] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/Django-1.3-py2.4.egg/django/utils/importlib.py", line 35, in
import_module\n    __import__(name)
[Thu Apr 21 06:28:44 2011] [error] [client 127.0.0.1] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/Djblets-0.6.7-py2.4.egg/djblets/siteconfig/middleware.py",
line 27, in ?\n    from djblets.siteconfig.models import
SiteConfiguration
[Thu Apr 21 06:28:44 2011] [error] [client 127.0.0.1] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/Djblets-0.6.7-py2.4.egg/djblets/siteconfig/models.py", line
26, in ?\n    from django.contrib.sites.models import Site
[Thu Apr 21 06:28:44 2011] [error] [client 127.0.0.1] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/Django-1.3-py2.4.egg/django/contrib/sites/models.py", line 1,
in ?\n    from django.db import models
[Thu Apr 21 06:28:44 2011] [error] [client 127.0.0.1] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/Django-1.3-py2.4.egg/django/db/__init__.py", line 78, in ?
\n    connection = connections[DEFAULT_DB_ALIAS]
[Thu Apr 21 06:28:44 2011] [error] [client 127.0.0.1] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/Django-1.3-py2.4.egg/django/db/utils.py", line 93, in
__getitem__\n    backend = load_backend(db['ENGINE'])
[Thu Apr 21 06:28:44 2011] [error] [client 127.0.0.1] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/Django-1.3-py2.4.egg/django/db/utils.py", line 33, in
load_backend\n    return import_module('.base', backend_name)
[Thu Apr 21 06:28:44 2011] [error] [client 127.0.0.1] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/Django-1.3-py2.4.egg/django/utils/importlib.py", line 35, in
import_module\n    __import__(name)
[Thu Apr 21 06:28:44 2011] [error] [client 127.0.0.1] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/Django-1.3-py2.4.egg/django/db/backends/mysql/base.py", line
14, in ?\n    raise ImproperlyConfigured("Error loading MySQLdb
module: %s" % e)
[Thu Apr 21 06:28:44 2011] [error] [client 127.0.0.1] PythonHandler
django.core.handlers.modpython: ImproperlyConfigured: Error loading
MySQLdb module: this is MySQLdb version (1, 2, 3, 'final', 0), but
_mysql is version (1, 2, 1, 'final', 1)

What is the _mysql variable?  Can I change what this is pointing to in
a config file somewhere, or do I need to recompile something else?  I
realize we're getting out of the explicit domain of Review Board here,
but I really do appreciate your help.

On Apr 20, 6:30 pm, Christian Hammond <chip...@chipx86.com> wrote:
> Hi,
>
> I believe MySQLdb has to do some compilation. So copying the data won't be
> enough.
>
> I'd blow it all away again, and then do:
>
> sudo easy_install -U MySQL-python
>
> You'll need the Python development headers.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
>
>
>
>
>
>
> On Wed, Apr 20, 2011 at 3:05 PM, virtualAdmin <mrcul...@gmail.com> wrote:
> > Thanks for the quick reply, Christian.
>
> > We're using mod_python.  The apache error logs were paydirt; it looks
> > like some component is still looking at MySQLdb 1.2.1 instead of
> > 1.2.3.  I blew away the mysqldb folder at /usr/lib/python2.4/site-
> > packages and replaced it with the MySQLdb folder from the MySQL-python
> > tar.gz, but of course this didn't work.  Ran easy_install on the
> > tar.gz, but as before I got some warnings and was told that it was
> > already installed.  So nothing.
>
> > Any advice on this one..?
>
> > On Apr 20, 4:21 pm, Christian Hammond <chip...@chipx86.com> wrote:
> > > Hi,
>
> > > Unit tests won't really run with 'rb-site manage', so that's to be
> > expected.
>
> > > If you're not seeing anything from DEBUG = True, then it sounds like you
> > may
> > > have more of an Apache-side problem. Have you looked in the Apache error
> > > logs?
>
> > > is this using mod_wsgi, mod_python, or fastcgi?
>
> > > Christian
>
> > > --
> > > Christian Hammond - chip...@chipx86.com
> > > Review Board -http://www.reviewboard.org
> > > VMware, Inc. -http://www.vmware.com
>
> > > On Wed, Apr 20, 2011 at 12:21 PM, virtualAdmin <mrcul...@gmail.com>
> > wrote:
> > > > I installed reviewboard 1.5.5, seemingly successfully, on a fresh
> > > > CentOS 5.6 install through VirtualBox.  I eventually got all the
> > > > dependencies resolved, including memcached.
>
> > > > So now I think it's going to work, right?  When I open a browser and
> > > > go to localhost/<my site>, I get the "Review Board is taking a nap"
> > > > 500 page, and nothing I do will change that, or get me debug output of
> > > > some kind.  I set "DEBUG = True" in <my site>/conf/settings_local.py,
> > > > but have been unable to find any sort of output from this.
>
> > > > The only thing I have gotten good output from is rb-site manage test,
> > > > which gives this:
>
> > > > [test@localhost conf]$ rb-site manage /var/www/<my site>/ test
> > > > /usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/db/
> > > > __init__.py:19: DeprecationWarning: settings.DATABASE_* is deprecated;
> > > > use settings.DATABASES instead.
> > > >  DeprecationWarning
> > > > /usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/db/
> > > > __init__.py:60: DeprecationWarning: Short names for ENGINE in database
> > > > configurations are deprecated. Prepend default.ENGINE with
> > > > 'django.db.backends.'
> > > >  DeprecationWarning
> > > > /usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/core/
> > > > management/commands/test.py:32: DeprecationWarning: Function-based
> > > > test runners are deprecated. Test runners should be classes with a
> > > > run_tests() method.
> > > >  DeprecationWarning
> > > > Creating test database for alias 'default'...
> > > > Got an error creating the test database: (1007, "Can't create database
> > > > 'test_reviewboard'; database exists")
> > > > Type 'yes' if you would like to try deleting the test database
> > > > 'test_reviewboard', or 'no' to cancel: yes
> > > > Destroying old test database 'default'...
> > > > Creating tables ...
> > > > Installing custom SQL ...
> > > > Installing indexes ...
> > > > No fixtures found.
> > > > Traceback (most recent call last):
> > > >  File "/usr/bin/rb-site", line 7, in ?
> > > >    sys.exit(
> > > >  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.5.5-py2.4.egg/
> > > > reviewboard/cmdline/rbsite.py", line 1611, in main
> > > >    command.run()
> > > >  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.5.5-py2.4.egg/
> > > > reviewboard/cmdline/rbsite.py", line 1545, in run
> > > >    site.run_manage_command(args[0], args[1:])
> > > >  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.5.5-py2.4.egg/
> > > > reviewboard/cmdline/rbsite.py", line 397, in run_manage_command
> > > >    execute_manager(reviewboard.settings, [__file__, cmd] + params)
> > > >  File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/
> > > > core/management/__init__.py", line 438, in execute_manager
> > > >    utility.execute()
> > > >  File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/
> > > > core/management/__init__.py", line 379, in execute
> > > >    self.fetch_command(subcommand).run_from_argv(self.argv)
> > > >  File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/
> > > > core/management/base.py", line 191, in run_from_argv
> > > >    self.execute(*args, **options.__dict__)
> > > >  File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/
> > > > core/management/base.py", line 220, in execute
> > > >    output = self.handle(*args, **options)
> > > >  File "/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/
> > > > core/management/commands/test.py", line 34, in handle
> > > >    failures = TestRunner(test_labels, verbosity=verbosity,
> > > > interactive=interactive)
> > > >  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.5.5-py2.4.egg/
> > > > reviewboard/test.py", line 151, in runner
> > > >    nose.main(argv=nose_argv, exit=False)
> > > >  File "/usr/lib/python2.4/site-packages/nose-1.0.0-py2.4.egg/nose/
> > > > core.py", line 117, in __init__
> > > >    argv=argv, testRunner=testRunner, testLoader=testLoader,
> > > >  File "/usr/lib/python2.4/unittest.py", line 758, in __init__
> > > >    self.parseArgs(argv)
> > > >  File "/usr/lib/python2.4/site-packages/nose-1.0.0-py2.4.egg/nose/
> > > > core.py", line 135, in parseArgs
> > > >    self.config.configure(argv, doc=self.usage())
> > > >  File "/usr/lib/python2.4/site-packages/nose-1.0.0-py2.4.egg/nose/
> > > > config.py", line 314, in configure
> > > >    self.configureWhere(options.where)
> > > >  File "/usr/lib/python2.4/site-packages/nose-1.0.0-py2.4.egg/nose/
> > > > config.py", line 390, in configureWhere
> > > >    raise ValueError("Working directory %s not found, or "
> > > > ValueError: Working directory reviewboard not found, or not a
> > > > directory
>
> > > > There are exactly 4 hits on Google for that last line quoted, none of
> > > > which provide answers.  Can anyone tell me what's going on, or point
> > > > me in the right direction?
>
> > > > --
> > > > 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
>
> > --
> > 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

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