It shouldn't work for just one or the other. Try running ./contrib/internal/prepare-dev.py.
That connect_signals should be happening on the first request to Review Board. Are you running this using fastcgi or mod_python? Might also be worth checking to make sure that the following points are also hit: reviewboard/__init__.py: initialize reviewboard/notifications/__init__.py: connect_signals For what it's worth, e-mail notifications have been working here with 1.5 beta 1. Christian -- Christian Hammond - [email protected] Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Apr 20, 2010 at 12:03 PM, Stephen Gallagher < [email protected]> wrote: > On 04/20/2010 02:48 PM, Christian Hammond wrote: > >> Good question... Can you run the test suite from a source tree and see >> if anything fails? (./reviewboard/manage.py test) >> >> Christian >> >> >> > > Getting a traceback trying to run the tests. I'm using the > contrib/conf/settings_local.py.tmpl as the settings_local.py in the root of > the reviewboard directory. Running ./contrib/internal/devserver.sh works > fine in this configuration. > > $ ./reviewboard/manage.py test > > Running dependency checks (set DEBUG=False to turn this off)... > Warning: p4python (>=07.3) not found. Perforce integration will not work. > Warning: hg not found. Mercurial integration will not work. > Warning: PyLucene (with JCC) is required to enable search. See the > documentation for instructions. > Warning: mtn binary not found. Monotone integration will not work. > > Please see http://www.reviewboard.org/docs/manual/dev/admin/ > for help setting up Review Board. > > > Creating test database... > Traceback (most recent call last): > File "./reviewboard/manage.py", line 138, in <module> > execute_manager(settings) > File > "/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line > 362, in execute_manager > utility.execute() > File > "/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line > 303, in execute > self.fetch_command(subcommand).run_from_argv(self.argv) > File "/usr/lib/python2.6/site-packages/django/core/management/base.py", > line 195, in run_from_argv > self.execute(*args, **options.__dict__) > File "/usr/lib/python2.6/site-packages/django/core/management/base.py", > line 222, in execute > output = self.handle(*args, **options) > File > "/usr/lib/python2.6/site-packages/django/core/management/commands/test.py", > line 23, in handle > failures = test_runner(test_labels, verbosity=verbosity, > interactive=interactive) > File "/home/bos/sgallagh/workspace/reviewboard/reviewboard/test.py", line > 63, in runner > connection.creation.create_test_db(verbosity, autoclobber=not > interactive) > File "/usr/lib/python2.6/site-packages/django/db/backends/creation.py", > line 327, in create_test_db > test_database_name = self._create_test_db(verbosity, autoclobber) > File "/usr/lib/python2.6/site-packages/django/db/backends/creation.py", > line 363, in _create_test_db > cursor = self.connection.cursor() > File "/usr/lib/python2.6/site-packages/django/db/backends/dummy/base.py", > line 15, in complain > raise ImproperlyConfigured, "You haven't set the DATABASE_ENGINE setting > yet." > django.core.exceptions.ImproperlyConfigured: You haven't set the > DATABASE_ENGINE setting yet. > > > > On Tuesday, April 20, 2010, Stephen Gallagher<[email protected]> >> wrote: >> >> >>> On 04/20/2010 11:26 AM, Stephen Gallagher wrote: >>> >>> Sorry, maybe I was unclear. By putting that log message where Scott >>> recommended, I proved that send_review_mail() was not being called at all >>> (the log message never printed). So I'm trying to figure out how to track >>> down the misconfiguration. >>> >>> >>> >>> Upon further investigation, it looks like the callback hooks for >>> notifications are never being set up. I set a "raise SyntaxError" in >>> reviewboard.notifications.email.connect_signals() and it never fired (and >>> ReviewBoard continued to operate normally) >>> >>> So... can anyone tell me why notifications aren't being set up? >>> >>> -- >>> 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 >>> [email protected]<reviewboard%[email protected]> >>> 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 > [email protected]<reviewboard%[email protected]> > 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 [email protected] For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
