Hi Terry,

That's strange... Can you run a test for me:

do:

    rb-site manage /var/reviewboard evolve -- --hint

(Note that those are double hyphens, not single hyphens)

Show me the results. May hopefully shed some light on it.

At any point, did you try to upgrade to an in-development release
(either nightly or straight from Git)?

Also, do you remember what version of Review Board you started with?

Christian

--
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com



On Mon, Jan 10, 2011 at 12:29 PM, Terry Zhong <think...@gmail.com> wrote:
> Hi all,
>
> We have a Review Board 1.0.9 server running smoothly, but the
> upgrading to 1.5 fails, with tracebacks below. We've tried 1.5, 1.5.1
> and 1.5.2 with easy_install, same tracebacks. Would you please help us
> out, thanks a lot.
>
> Debian Squeeze
> Python 2.6.6
> MySQL 5.1.49
>
> # rb-site upgrade /var/reviewboard/
> Rebuilding directory structure
> Updating database. This may take a while.
> Upgrading Review Board from 1.0.9 to 1.5.2
> There are unapplied evolutions for diffviewer.
> There are unapplied evolutions for reviews.
> There are unapplied evolutions for scmtools.
> Project signature has changed - an evolution is required
> No fixtures found.
> /usr/lib/python2.6/dist-packages/Crypto/Util/randpool.py:40:
> RandomPool_DeprecationWarning: This application uses RandomPool, which
> is BROKEN in older releases.  See http://www.pycrypto.org/randpool-broken
>  RandomPool_DeprecationWarning)
> Traceback (most recent call last):
>  File "/usr/local/bin/rb-site", line 9, in <module>
>    load_entry_point('ReviewBoard==1.5.2', 'console_scripts', 'rb-
> site')()
>  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.2-
> py2.6.egg/reviewboard/cmdline/rbsite.py", line 1611, in main
>    command.run()
>  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.2-
> py2.6.egg/reviewboard/cmdline/rbsite.py", line 1512, in run
>    site.migrate_database()
>  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.2-
> py2.6.egg/reviewboard/cmdline/rbsite.py", line 346, in
> migrate_database
>    self.run_manage_command("evolve", ["--noinput", "--execute"])
>  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.2-
> py2.6.egg/reviewboard/cmdline/rbsite.py", line 397, in
> run_manage_command
>    execute_manager(reviewboard.settings, [__file__, cmd] + params)
>  File "/usr/lib/pymodules/python2.6/django/core/management/
> __init__.py", line 438, in execute_manager
>    utility.execute()
>  File "/usr/lib/pymodules/python2.6/django/core/management/
> __init__.py", line 379, in execute
>    self.fetch_command(subcommand).run_from_argv(self.argv)
>  File "/usr/lib/pymodules/python2.6/django/core/management/base.py",
> line 191, in run_from_argv
>    self.execute(*args, **options.__dict__)
>  File "/usr/lib/pymodules/python2.6/django/core/management/base.py",
> line 220, in execute
>    output = self.handle(*args, **options)
>  File "/usr/local/lib/python2.6/dist-packages/django_evolution-0.6.2-
> py2.6.egg/django_evolution/management/commands/evolve.py", line 60, in
> handle
>    self.evolve(*app_labels, **options)
>  File "/usr/local/lib/python2.6/dist-packages/django_evolution-0.6.2-
> py2.6.egg/django_evolution/management/commands/evolve.py", line 140,
> in evolve
>    database))
>  File "/usr/local/lib/python2.6/dist-packages/django_evolution-0.6.2-
> py2.6.egg/django_evolution/mutations.py", line 599, in mutate
>    old_field_sig = model_sig['fields'][self.field_name]
> KeyError: 'raw_file_url'
>
> --
> 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

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