Hi!

I realized that the problem is that when the upgrade does not change the
database. The reason for this but I do not know.

root@ac-codereview:/usr/share/pyshared/MySQLdb#
root@ac-codereview:/var/log/reviewboard# rb-site upgrade /var/www/
codereview.graphisoft.hu/
Rebuilding directory structure
Updating database. This may take a while.
Creating tables ...
There are unapplied evolutions for accounts.
There are unapplied evolutions for changedescs.
There are unapplied evolutions for reviews.
There are unapplied evolutions for scmtools.
Traceback (most recent call last):
  File "/usr/local/bin/rb-site", line 9, in <module>
    load_entry_point('ReviewBoard==1.6.9', 'console_scripts', 'rb-site')()
  File
"/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.9-py2.6.egg/reviewboard/cmdline/rbsite.py",
line 1745, in main
    command.run()
  File
"/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.9-py2.6.egg/reviewboard/cmdline/rbsite.py",
line 1642, in run
    site.sync_database()
  File
"/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.9-py2.6.egg/reviewboard/cmdline/rbsite.py",
line 346, in sync_database
    self.run_manage_command("syncdb", params)
  File
"/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.9-py2.6.egg/reviewboard/cmdline/rbsite.py",
line 469, in run_manage_command
    execute_manager(reviewboard.settings, [__file__, cmd] + params)
  File
"/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/core/management/__init__.py",
line 438, in execute_manager
    utility.execute()
  File
"/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/core/management/__init__.py",
line 379, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File
"/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/core/management/base.py",
line 191, in run_from_argv
    self.execute(*args, **options.__dict__)
  File
"/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/core/management/base.py",
line 220, in execute
    output = self.handle(*args, **options)
  File
"/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/core/management/base.py",
line 351, in handle
    return self.handle_noargs(**options)
  File
"/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/core/management/commands/syncdb.py",
line 109, in handle_noargs
    emit_post_sync_signal(created_models, verbosity, interactive, db)
  File
"/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/core/management/sql.py",
line 190, in emit_post_sync_signal
    interactive=interactive, db=db)
  File
"/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/dispatch/dispatcher.py",
line 172, in send
    response = receiver(signal=self, sender=sender, **named)
  File
"/usr/local/lib/python2.6/dist-packages/django_evolution-0.6.5-py2.6.egg/django_evolution/management/__init__.py",
line 78, in evolution
    old_proj_sig = pickle.loads(str(latest_version.signature))
EOFError

Can you help, what could be the reason? MySQL database. The user name and
password are correct.

Regards

Viktor


2012/6/28 Viktor Józsa <jozsa.vikt...@gmail.com>

> Hi!
>
> I need urgent assistance. After upgrading from 1.6.9 to the next message I
> receive any review request:
>
> *Something Broke! (Error 500)
>
> Something Broke It Appears When You Tried to go to here. Either this is a bug
> in Review Board or a server configuration error. Please report this to
> your administrator**.*
>
> The administrator email:
>
>  *Traceback (most recent call last):*
>
> * *
>
> *  File
> "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/core/handlers/base.py",
> line 111, in get_response*
>
> *    response = callback(request, *callback_args, **callback_kwargs)*
>
> * *
>
> *  File
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.9-py2.6.egg/reviewboard/accounts/decorators.py",
> line 21, in _check*
>
> *    return view_func(*args, **kwargs)*
>
> * *
>
> *  File
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.9-py2.6.egg/reviewboard/reviews/views.py",
> line 280, in review_detail*
>
> *    _find_review_request(request, review_request_id, local_site_name)*
>
> * *
>
> *  File
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.9-py2.6.egg/reviewboard/reviews/views.py",
> line 93, in _find_review_request*
>
> *    if review_request.is_accessible_by(request.user):*
>
> * *
>
> *  File
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.9-py2.6.egg/reviewboard/reviews/models.py",
> line 492, in is_accessible_by*
>
> *    if self.repository and not self.repository.is_accessible_by(user):*
>
> * *
>
> *  File
> "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/models/fields/related.py",
> line 315, in __get__*
>
> *    rel_obj = QuerySet(self.field.rel.to).using(db).get(**params)*
>
> * *
>
> *  File
> "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/models/query.py",
> line 344, in get*
>
> *    num = len(clone)*
>
> * *
>
> *  File
> "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/models/query.py",
> line 82, in __len__*
>
> *    self._result_cache = list(self.iterator())*
>
> * *
>
> *  File
> "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/models/query.py",
> line 273, in iterator*
>
> *    for row in compiler.results_iter():*
>
> * *
>
> *  File
> "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/models/sql/compiler.py",
> line 680, in results_iter*
>
> *    for rows in self.execute_sql(MULTI):*
>
> * *
>
> *  File
> "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/models/sql/compiler.py",
> line 735, in execute_sql*
>
> *    cursor.execute(sql, params)*
>
> * *
>
> *  File
> "/usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/django/db/backends/mysql/base.py",
> line 86, in execute*
>
> *    return self.cursor.execute(query, args)*
>
> * *
>
> *  File "/usr/lib/pymodules/python2.6/MySQLdb/cursors.py", line 166, in
> execute*
>
> *    self.errorhandler(self, exc, value)*
>
> * *
>
> *  File "/usr/lib/pymodules/python2.6/MySQLdb/connections.py", line 35,
> in defaulterrorhandler*
>
> *    raise errorclass, errorvalue*
>
> * *
>
> *OperationalError: (1054, "Unknown column
> 'scmtools_repository.extra_data' in 'field list'")*
> What is the problem. Thank you in advance.
>
> Regards
>
> Viktor Jozsa
>

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