What version of django did you install?

-David


On Thu, Jul 10, 2014 at 8:38 AM, Joe <jothira...@gmail.com> wrote:

> Hello,
>
> Im trying to install review board on a SuSE system, which is our official
> server in the company. Unfortunately all other ports other than SSH is
> blocked from communication. So Im not able to use easy_install or pip to
> install any resources.
>
> I have manually installed all the necessary packages using the SuSE DVD.
> And now finally when I try to run
>
> # rb-site install /var/www/reviewboard.example.com
>
> Note: I have setup mysql with username password and I have already created
> the database "reviewboard" in it.
>
> Im getting the below error.
>
> * Installing the site...
> Building site directories ... OK
> Building site configuration files ... OK
> Creating database ...
> [!] Unable to execute the manager command syncdb: cannot import name
>     execute_manager
>
> [!] Unable to execute the manager command registerscmtools: cannot
>     import name execute_manager
> OK
> Performing migrations ...
> [!] Unable to execute the manager command evolve: cannot import name
>     execute_manager
> OK
> Creating administrator account ... Traceback (most recent call last):
>   File "/usr/local/bin/rb-site", line 8, in <module>
>     load_entry_point('ReviewBoard==1.7.22', 'console_scripts', 'rb-site')()
>   File
> "/usr/local/lib64/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 2055, in main
>     command.run()
>   File
> "/usr/local/lib64/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 1496, in run
>     self.show_install_status()
>   File
> "/usr/local/lib64/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 1779, in show_install_status
>     site.create_admin_user)
>   File
> "/usr/local/lib64/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 967, in step
>     func()
>   File
> "/usr/local/lib64/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 553, in create_admin_user
>     self.admin_password)
>   File
> "/usr/local/lib64/python2.6/site-packages/django/contrib/auth/models.py",
> line 195, in create_superuser
>    **extra_fields)
>   File
> "/usr/local/lib64/python2.6/site-packages/django/contrib/auth/models.py",
> line 186, in _create_user
>     user.save(using=self._db)
>   File
> "/usr/local/lib64/python2.6/site-packages/django/db/models/base.py", line
> 545, in save
>     force_update=force_update, update_fields=update_fields)
>   File
> "/usr/local/lib64/python2.6/site-packages/django/db/models/base.py", line
> 573, in save_base
>     updated = self._save_table(raw, cls, force_insert, force_update,
> using, update_fields)
>   File
> "/usr/local/lib64/python2.6/site-packages/django/db/models/base.py", line
> 654, in _save_table
>     result = self._do_insert(cls._base_manager, using, fields, update_pk,
> raw)
>   File
> "/usr/local/lib64/python2.6/site-packages/django/db/models/base.py", line
> 687, in _do_insert
>     using=using, raw=raw)
>   File
> "/usr/local/lib64/python2.6/site-packages/django/db/models/manager.py",
> line 232, in _insert
>     return insert_query(self.model, objs, fields, **kwargs)
>   File
> "/usr/local/lib64/python2.6/site-packages/django/db/models/query.py", line
> 1514, in insert_query
>     return query.get_compiler(using=using).execute_sql(return_id)
>   File
> "/usr/local/lib64/python2.6/site-packages/django/db/models/sql/compiler.py",
> line 903, in execute_sql
>     cursor.execute(sql, params)
>   File
> "/usr/local/lib64/python2.6/site-packages/django/db/backends/util.py", line
> 53, in execute
>     return self.cursor.execute(sql, params)
>   File "/usr/local/lib64/python2.6/site-packages/django/db/utils.py", line
> 99, in __exit__
>     six.reraise(dj_exc_type, dj_exc_value, traceback)
>   File
> "/usr/local/lib64/python2.6/site-packages/django/db/backends/util.py", line
> 53, in execute
>     return self.cursor.execute(sql, params)
>   File
> "/usr/local/lib64/python2.6/site-packages/django/db/backends/mysql/base.py",
> line 124, in execute
>     return self.cursor.execute(query, args)
>   File "/usr/lib64/python2.6/site-packages/MySQLdb/cursors.py", line 166,
> in execute
>     self.errorhandler(self, exc, value)
>   File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line
> 35, in defaulterrorhandler
>     raise errorclass, errorvalue
> django.db.utils.ProgrammingError: (1146, "Table 'reviewboard.auth_user'
> doesn't exist")
>
> Any pointers on what Im missing..
>
> Best regards,
> Joe.
>
>  --
> 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.
>

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