Hello,
after successful installation of review board (1.7.25) I am trying to 
create a site.
After issuing the rb-site install /var/www/site... command I get the 
following error (at the end of this post).
Could you please help with some suggestions what might have gone wrong? 
Also is there a way to put rb-site in debug mode and possibly see more 
detailed log?

Thanks,
Hristo
-------------------------------------
* Installing the site...
Building site directories ... OK
Building site configuration files ... OK
/opt/python2.7/lib/python2.7/site-packages/pycrypto-2.6.1-py2.7-linux-x86_64.egg/Crypto/Util/number.py:57:
 
PowmInsecureWarning: Not using mpz_powm_sec.  You should rebuild using 
libgmp >= 5 to avoid timing attack vulnerability.
Creating database ... Creating tables ...
Traceback (most recent call last):
  File "./rb-site", line 9, in <module>
    load_entry_point('ReviewBoard==1.7.25', 'console_scripts', 'rb-site')()
  File 
"/opt/python2.7/lib/python2.7/site-packages/ReviewBoard-1.7.25-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 2055, in main
    command.run()
  File 
"/opt/python2.7/lib/python2.7/site-packages/ReviewBoard-1.7.25-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 1496, in run
    self.show_install_status()
  File 
"/opt/python2.7/lib/python2.7/site-packages/ReviewBoard-1.7.25-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 1775, in show_install_status
    site.sync_database)
  File 
"/opt/python2.7/lib/python2.7/site-packages/ReviewBoard-1.7.25-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 967, in step
    func()
  File 
"/opt/python2.7/lib/python2.7/site-packages/ReviewBoard-1.7.25-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 399, in sync_database
    self.run_manage_command("syncdb", params)
  File 
"/opt/python2.7/lib/python2.7/site-packages/ReviewBoard-1.7.25-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 589, in run_manage_command
    execute_manager(reviewboard.settings, [__file__, cmd] + params)
  File 
"/opt/python2.7/lib/python2.7/site-packages/Django-1.4.11-py2.7.egg/django/core/management/__init__.py",
 
line 459, in execute_manager
    utility.execute()
  File 
"/opt/python2.7/lib/python2.7/site-packages/Django-1.4.11-py2.7.egg/django/core/management/__init__.py",
 
line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File 
"/opt/python2.7/lib/python2.7/site-packages/Django-1.4.11-py2.7.egg/django/core/management/base.py",
 
line 196, in run_from_argv
    self.execute(*args, **options.__dict__)
  File 
"/opt/python2.7/lib/python2.7/site-packages/Django-1.4.11-py2.7.egg/django/core/management/base.py",
 
line 232, in execute
    output = self.handle(*args, **options)
  File 
"/opt/python2.7/lib/python2.7/site-packages/Django-1.4.11-py2.7.egg/django/core/management/base.py",
 
line 371, in handle
    return self.handle_noargs(**options)
  File 
"/opt/python2.7/lib/python2.7/site-packages/Django-1.4.11-py2.7.egg/django/core/management/commands/syncdb.py",
 
line 110, in handle_noargs
    emit_post_sync_signal(created_models, verbosity, interactive, db)
  File 
"/opt/python2.7/lib/python2.7/site-packages/Django-1.4.11-py2.7.egg/django/core/management/sql.py",
 
line 189, in emit_post_sync_signal
    interactive=interactive, db=db)
  File 
"/opt/python2.7/lib/python2.7/site-packages/Django-1.4.11-py2.7.egg/django/dispatch/dispatcher.py",
 
line 172, in send
    response = receiver(signal=self, sender=sender, **named)
  File 
"/opt/python2.7/lib/python2.7/site-packages/ReviewBoard-1.7.25-py2.7.egg/reviewboard/admin/management/sites.py",
 
line 22, in init_siteconfig
    site = Site.objects.get_current()
  File 
"/opt/python2.7/lib/python2.7/site-packages/Django-1.4.11-py2.7.egg/django/contrib/sites/models.py",
 
line 25, in get_current
    current_site = self.get(pk=sid)
  File 
"/opt/python2.7/lib/python2.7/site-packages/Django-1.4.11-py2.7.egg/django/db/models/manager.py",
 
line 131, in get
    return self.get_query_set().get(*args, **kwargs)
  File 
"/opt/python2.7/lib/python2.7/site-packages/Django-1.4.11-py2.7.egg/django/db/models/query.py",
 
line 366, in get
    % self.model._meta.object_name)
django.contrib.sites.models.DoesNotExist: Site matching query does not 
exist.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to